Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001338/0.001338, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 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.001553/0.001553, allocations: 165 kB / 24.17 MB, free: 332 kB / 18.57 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.001/1.001, allocations: 177.2 MB / 204.6 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.875/1.875, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.61e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001165/0.001182, allocations: 0.6945 MB / 0.7608 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008454/0.002027, allocations: 0.8554 MB / 0.7616 GB, free: 5 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.432e-05/0.002061, allocations: 0 / 0.7616 GB, free: 5 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.026e-05/0.002092, allocations: 5.969 kB / 0.7616 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.009e-05/0.002162, allocations: 5.969 kB / 0.7616 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.002328, allocations: 11.92 kB / 0.7616 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.55e-05/0.002394, allocations: 32.86 kB / 0.7617 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.055e-05/0.002464, allocations: 5.344 kB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.109e-05/0.002545, allocations: 17.62 kB / 0.7617 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.443e-05/0.00258, allocations: 4.641 kB / 0.7617 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.002594, allocations: 4 kB / 0.7617 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.428e-05/0.002638, allocations: 8.469 kB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.002654, allocations: 6.109 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.57e-05/0.002669, allocations: 4.766 kB / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.035e-05/0.00276, allocations: 22.27 kB / 0.7617 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.002762, allocations: 0.9688 kB / 0.7617 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.01e-07/0.002763, allocations: 0 / 0.7617 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.002767, allocations: 4 kB / 0.7617 GB, free: 4.887 MB / 0.7136 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.0004634/0.00323, allocations: 229.8 kB / 0.7619 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.003266, allocations: 8.031 kB / 0.762 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.236e-05/0.003358, allocations: 9.422 kB / 0.762 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.933e-05/0.003437, allocations: 114.3 kB / 0.7621 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.003447, allocations: 384 / 0.7621 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.003457, allocations: 10.88 kB / 0.7621 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.898e-05/0.003546, allocations: 50.95 kB / 0.7621 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.912e-06/0.003552, allocations: 192 / 0.7621 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.003559, allocations: 1.594 kB / 0.7621 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.003563, allocations: 384 / 0.7621 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.957e-05/0.003583, allocations: 7.938 kB / 0.7621 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001792/0.003762, allocations: 146.2 kB / 0.7623 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.815e-05/0.0038, allocations: 22.52 kB / 0.7623 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.241e-05/0.003813, allocations: 8.922 kB / 0.7623 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.003825, allocations: 0 / 0.7623 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.003844, allocations: 30.56 kB / 0.7623 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.003844, allocations: 1.734 kB / 0.7623 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001009/0.003945, allocations: 38.48 kB / 0.7624 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.003974, allocations: 55.34 kB / 0.7624 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.956e-05/0.004023, allocations: 115.4 kB / 0.7625 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.004034, allocations: 29.7 kB / 0.7626 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.691e-05/0.004061, allocations: 82.33 kB / 0.7626 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.004079, allocations: 3.953 kB / 0.7627 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.004104, allocations: 13.72 kB / 0.7627 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.571e-05/0.004179, allocations: 314.8 kB / 0.763 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.855e-06/0.004187, allocations: 4.656 kB / 0.763 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.827e-06/0.004196, allocations: 5.453 kB / 0.763 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.969e-05/0.004216, allocations: 8.859 kB / 0.763 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.004217, allocations: 0 / 0.763 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.877e-05/0.004256, allocations: 38.94 kB / 0.763 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.004267, allocations: 4 kB / 0.763 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.00427, allocations: 0.875 kB / 0.763 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.004282, allocations: 9.188 kB / 0.763 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.769e-05/0.00434, allocations: 7.938 kB / 0.763 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.004343, allocations: 0 / 0.763 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.5e-05/0.004358, allocations: 4.531 kB / 0.763 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-06/0.004361, allocations: 4 kB / 0.7631 GB, free: 3.391 MB / 0.7136 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 5.559e-05/0.004416, allocations: 121.1 kB / 0.7632 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.004428, allocations: 0 / 0.7632 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.912e-05/0.004487, allocations: 41.88 kB / 0.7632 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.004489, allocations: 0 / 0.7632 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.004491, allocations: 3.938 kB / 0.7632 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.004494, allocations: 192 / 0.7632 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.729e-05/0.004571, allocations: 61.91 kB / 0.7633 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.4e-07/0.004572, allocations: 2.844 kB / 0.7633 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-05/0.004591, allocations: 11.98 kB / 0.7633 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.004593, allocations: 3.984 kB / 0.7633 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-06/0.004597, allocations: 4.594 kB / 0.7633 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.004599, allocations: 4 kB / 0.7633 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.0046, allocations: 0 / 0.7633 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.824e-05/0.004668, allocations: 139.5 kB / 0.7634 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-06/0.004678, allocations: 13.41 kB / 0.7634 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.554e-06/0.004685, allocations: 0 / 0.7634 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.878e-05/0.004714, allocations: 4.875 kB / 0.7634 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.004743, allocations: 3.984 kB / 0.7635 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-06/0.004744, allocations: 0.6562 kB / 0.7635 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.194e-05/0.004756, allocations: 12.8 kB / 0.7635 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004756, allocations: 0.75 kB / 0.7635 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001141/0.00487, allocations: 4 kB / 0.7635 GB, free: 2.926 MB / 0.7136 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 7.302e-05/0.004943, allocations: 75.23 kB / 0.7635 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.583e-05/0.005009, allocations: 24.78 kB / 0.7636 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.005011, allocations: 1.203 kB / 0.7636 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.24e-05/0.005024, allocations: 8.859 kB / 0.7636 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.005158, allocations: 11.06 kB / 0.7636 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.005484, allocations: 120.7 kB / 0.7637 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.66e-05/0.005511, allocations: 51.36 kB / 0.7637 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.27e-05/0.005524, allocations: 0 / 0.7637 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.895e-05/0.005563, allocations: 53.19 kB / 0.7638 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of SimCode: time 4.61e-07/0.005563, allocations: 3.938 kB / 0.7638 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of Templates: time 0.002046/0.007609, allocations: 468.4 kB / 0.7642 GB, free: 2.09 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.994556569028646]