Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 103.1 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00207/0.00207, allocations: 210.4 kB / 19.43 MB, free: 3.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 230.6 MB / 252.8 MB, free: 8.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.331/3.331, allocations: 0.505 GB / 0.8066 GB, free: 23.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002871/0.002871, allocations: 75.52 kB / 1.172 GB, free: 17.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3952, allocations: 180.2 MB / 1.348 GB, free: 9.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002576/0.3978, allocations: 0.6652 MB / 1.348 GB, free: 9.27 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.3994, allocations: 0.8553 MB / 1.349 GB, free: 8.402 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.93e-05/0.3994, allocations: 0 / 1.349 GB, free: 8.402 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.719e-05/0.3995, allocations: 4 kB / 1.349 GB, free: 8.398 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.558e-05/0.3996, allocations: 3.938 kB / 1.349 GB, free: 8.395 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.3998, allocations: 11.98 kB / 1.349 GB, free: 8.383 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.4, allocations: 31.91 kB / 1.349 GB, free: 8.352 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.4001, allocations: 0 / 1.349 GB, free: 8.352 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.95e-05/0.4002, allocations: 15.92 kB / 1.349 GB, free: 8.336 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.061e-05/0.4003, allocations: 8 kB / 1.349 GB, free: 8.328 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.4003, allocations: 0 / 1.349 GB, free: 8.328 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.132e-05/0.4003, allocations: 4 kB / 1.349 GB, free: 8.324 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.539e-05/0.4004, allocations: 11.92 kB / 1.349 GB, free: 8.312 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.145e-05/0.4004, allocations: 4 kB / 1.349 GB, free: 8.309 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.4006, allocations: 36.11 kB / 1.349 GB, free: 8.273 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.4006, allocations: 0 / 1.349 GB, free: 8.273 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.494e-06/0.4006, allocations: 0 / 1.349 GB, free: 8.273 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.4006, allocations: 0 / 1.349 GB, free: 8.273 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007433/0.4013, allocations: 339.5 kB / 1.35 GB, free: 7.891 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 7.802e-05/0.4014, allocations: 11.98 kB / 1.35 GB, free: 7.879 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.039e-05/0.4015, allocations: 42.67 kB / 1.35 GB, free: 7.828 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.4016, allocations: 4.938 kB / 1.35 GB, free: 7.824 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.4019, allocations: 168.3 kB / 1.35 GB, free: 7.621 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.4019, allocations: 384 / 1.35 GB, free: 7.621 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.4019, allocations: 4.312 kB / 1.35 GB, free: 7.617 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.4021, allocations: 50.23 kB / 1.35 GB, free: 7.562 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.4022, allocations: 3.938 kB / 1.35 GB, free: 7.559 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.4022, allocations: 0 / 1.35 GB, free: 7.559 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.4022, allocations: 4 kB / 1.35 GB, free: 7.555 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.4024, allocations: 31.95 kB / 1.35 GB, free: 7.523 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.4029, allocations: 256.9 kB / 1.35 GB, free: 7.223 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.4031, allocations: 38.5 kB / 1.35 GB, free: 7.176 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.4032, allocations: 28.89 kB / 1.35 GB, free: 7.145 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.4032, allocations: 0 / 1.35 GB, free: 7.145 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.4033, allocations: 34.56 kB / 1.35 GB, free: 7.102 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.4033, allocations: 0 / 1.35 GB, free: 7.102 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0004553/0.4037, allocations: 81.58 kB / 1.35 GB, free: 7.016 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/0.4038, allocations: 51.41 kB / 1.351 GB, free: 6.953 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.4039, allocations: 101.8 kB / 1.351 GB, free: 6.844 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.4039, allocations: 25.7 kB / 1.351 GB, free: 6.812 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.565e-05/0.404, allocations: 92.27 kB / 1.351 GB, free: 6.719 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.404, allocations: 7.938 kB / 1.351 GB, free: 6.711 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.098e-05/0.4041, allocations: 9.719 kB / 1.351 GB, free: 6.695 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.4043, allocations: 322.8 kB / 1.351 GB, free: 6.371 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.588e-05/0.4044, allocations: 11.98 kB / 1.351 GB, free: 6.359 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.282e-05/0.4044, allocations: 15.97 kB / 1.351 GB, free: 6.344 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.4046, allocations: 44.89 kB / 1.351 GB, free: 6.297 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.4046, allocations: 3.938 kB / 1.351 GB, free: 6.293 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002216/0.4048, allocations: 73.55 kB / 1.351 GB, free: 6.215 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.4049, allocations: 4 kB / 1.351 GB, free: 6.211 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.4049, allocations: 0 / 1.351 GB, free: 6.211 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.4049, allocations: 0 / 1.351 GB, free: 6.211 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.405, allocations: 12.03 kB / 1.351 GB, free: 6.199 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.405, allocations: 3.984 kB / 1.351 GB, free: 6.195 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.37e-05/0.405, allocations: 4 kB / 1.351 GB, free: 6.191 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.405, allocations: 3.984 kB / 1.351 GB, free: 6.188 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.101e-05/0.4051, allocations: 109.8 kB / 1.351 GB, free: 6.07 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.4052, allocations: 4 kB / 1.351 GB, free: 6.066 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/0.4054, allocations: 80.7 kB / 1.351 GB, free: 5.977 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4054, allocations: 0 / 1.351 GB, free: 5.977 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.4054, allocations: 3.938 kB / 1.351 GB, free: 5.973 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4054, allocations: 4 kB / 1.351 GB, free: 5.969 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.4056, allocations: 157.6 kB / 1.352 GB, free: 5.766 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4057, allocations: 0 / 1.352 GB, free: 5.766 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.228e-05/0.4057, allocations: 7.984 kB / 1.352 GB, free: 5.758 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4057, allocations: 0 / 1.352 GB, free: 5.758 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.4057, allocations: 4 kB / 1.352 GB, free: 5.754 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4057, allocations: 0 / 1.352 GB, free: 5.754 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4057, allocations: 0 / 1.352 GB, free: 5.754 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.406, allocations: 167.5 kB / 1.352 GB, free: 5.574 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.628e-05/0.4061, allocations: 81.06 kB / 1.352 GB, free: 5.477 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.4061, allocations: 0 / 1.352 GB, free: 5.477 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.73e-05/0.4061, allocations: 11.92 kB / 1.352 GB, free: 5.465 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.4062, allocations: 0 / 1.352 GB, free: 5.465 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.4062, allocations: 12.03 kB / 1.352 GB, free: 5.453 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.371e-05/0.4063, allocations: 83.27 kB / 1.352 GB, free: 5.371 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.4063, allocations: 0 / 1.352 GB, free: 5.371 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002144/0.4065, allocations: 4 kB / 1.352 GB, free: 5.367 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006268/0.4071, allocations: 0.6968 MB / 1.353 GB, free: 4.637 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002269/0.4073, allocations: 39.89 kB / 1.353 GB, free: 4.598 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4073, allocations: 0 / 1.353 GB, free: 4.598 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.157e-05/0.4074, allocations: 19.98 kB / 1.353 GB, free: 4.578 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.4077, allocations: 5.656 kB / 1.353 GB, free: 4.574 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005266/0.4083, allocations: 139.9 kB / 1.353 GB, free: 4.398 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.4086, allocations: 0.6807 MB / 1.353 GB, free: 3.691 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.27e-05/0.4086, allocations: 0 / 1.353 GB, free: 3.691 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.582e-05/0.4087, allocations: 11.44 kB / 1.353 GB, free: 3.68 MB / 1.045 GB Notification: Performance of SimCode: time 5.92e-07/0.4087, allocations: 0 / 1.353 GB, free: 3.68 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02707/0.4357, allocations: 1.291 MB / 1.355 GB, free: 2.48 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.105/8.541, allocations: 15.94 kB / 1.355 GB, free: 2.465 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable arcCos.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv. Warning: Get data of variable arcCos.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.562874624039978]