Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007735/0.0007735, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007804/0.0007804, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 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 0.9017/0.9017, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.673/1.673, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 0.9518 GB, free: 1.781 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.728e-05/2.962e-05, allocations: 2.281 kB / 0.9518 GB, free: 1.777 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001285/0.001315, allocations: 0.6592 MB / 0.9525 GB, free: 1.117 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007797/0.002094, allocations: 0.8509 MB / 0.9533 GB, free: 260 kB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.658e-05/0.002131, allocations: 0 / 0.9533 GB, free: 260 kB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.002159, allocations: 7.922 kB / 0.9533 GB, free: 252 kB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.532e-05/0.002214, allocations: 0 / 0.9533 GB, free: 252 kB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.002398, allocations: 8 kB / 0.9533 GB, free: 244 kB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.548e-05/0.002463, allocations: 23.92 kB / 0.9533 GB, free: 220 kB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.168e-05/0.002555, allocations: 7.984 kB / 0.9533 GB, free: 212 kB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.536e-05/0.00262, allocations: 19.86 kB / 0.9533 GB, free: 192 kB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.254e-05/0.002653, allocations: 11.98 kB / 0.9534 GB, free: 180 kB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.002666, allocations: 0 / 0.9534 GB, free: 180 kB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.148e-05/0.002708, allocations: 4 kB / 0.9534 GB, free: 176 kB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.002721, allocations: 8 kB / 0.9534 GB, free: 168 kB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.569e-05/0.002737, allocations: 4 kB / 0.9534 GB, free: 164 kB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.785e-05/0.002835, allocations: 39.81 kB / 0.9534 GB, free: 124 kB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.002837, allocations: 0 / 0.9534 GB, free: 124 kB / 0.8542 GB Notification: Performance of FrontEnd: time 8.61e-07/0.002838, allocations: 0 / 0.9534 GB, free: 124 kB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.002841, allocations: 0 / 0.9534 GB, free: 124 kB / 0.8542 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.0003543/0.003196, allocations: 262.3 kB / 0.9537 GB, free: 15.83 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.003232, allocations: 8.031 kB / 0.9537 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.142e-05/0.003303, allocations: 4.938 kB / 0.9537 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.049e-05/0.003384, allocations: 113.7 kB / 0.9538 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.003396, allocations: 384 / 0.9538 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.003404, allocations: 8.312 kB / 0.9538 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.003533, allocations: 50.23 kB / 0.9538 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.003542, allocations: 192 / 0.9538 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.003551, allocations: 384 / 0.9538 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.003555, allocations: 4.312 kB / 0.9538 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.683e-05/0.003642, allocations: 35.89 kB / 0.9539 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002465/0.003888, allocations: 192.6 kB / 0.9541 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.889e-05/0.003967, allocations: 42.59 kB / 0.9541 GB, free: 15.31 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.191e-05/0.004009, allocations: 16.91 kB / 0.9541 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.004032, allocations: 0 / 0.9541 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.004053, allocations: 42.5 kB / 0.9542 GB, free: 15.24 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.004054, allocations: 0 / 0.9542 GB, free: 15.24 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0002191/0.004273, allocations: 81.67 kB / 0.9542 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.004302, allocations: 55.41 kB / 0.9543 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.566e-05/0.004358, allocations: 101.8 kB / 0.9544 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.004368, allocations: 25.7 kB / 0.9544 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.0044, allocations: 84.08 kB / 0.9545 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.004417, allocations: 7.953 kB / 0.9545 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/0.00444, allocations: 13.72 kB / 0.9545 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.123e-05/0.004532, allocations: 310.8 kB / 0.9548 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.563e-05/0.004577, allocations: 27.91 kB / 0.9548 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.425e-05/0.004612, allocations: 16.02 kB / 0.9549 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.702e-05/0.004689, allocations: 40.77 kB / 0.9549 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.00469, allocations: 0 / 0.9549 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.984e-05/0.00479, allocations: 69.66 kB / 0.955 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.004803, allocations: 4 kB / 0.955 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.004808, allocations: 3.938 kB / 0.955 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.004819, allocations: 4.094 kB / 0.955 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.348e-05/0.004883, allocations: 11.98 kB / 0.955 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.004887, allocations: 0 / 0.955 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.453e-05/0.004911, allocations: 11.94 kB / 0.955 GB, free: 14.33 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.004916, allocations: 0 / 0.955 GB, free: 14.33 MB / 0.8698 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.46e-05/0.004971, allocations: 108 kB / 0.9551 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.168e-05/0.004982, allocations: 4 kB / 0.9551 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.005113, allocations: 80.84 kB / 0.9552 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.005115, allocations: 0 / 0.9552 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.005118, allocations: 0 / 0.9552 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.005121, allocations: 4 kB / 0.9552 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.216e-05/0.005203, allocations: 105.3 kB / 0.9553 GB, free: 13.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.005204, allocations: 0 / 0.9553 GB, free: 13.99 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.528e-05/0.00523, allocations: 7.984 kB / 0.9553 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.005231, allocations: 0 / 0.9553 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.005238, allocations: 7.938 kB / 0.9553 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.00524, allocations: 7.938 kB / 0.9553 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.005241, allocations: 4.031 kB / 0.9553 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.005362, allocations: 159.5 kB / 0.9555 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-06/0.005367, allocations: 192 / 0.9555 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.258e-06/0.005376, allocations: 0 / 0.9555 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.999e-05/0.005416, allocations: 15.91 kB / 0.9555 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.005448, allocations: 8 kB / 0.9555 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.00545, allocations: 0 / 0.9555 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.451e-05/0.005475, allocations: 79.28 kB / 0.9556 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005475, allocations: 0 / 0.9556 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001445/0.005619, allocations: 11.98 kB / 0.9556 GB, free: 13.68 MB / 0.8698 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.992e-05/0.005699, allocations: 95.23 kB / 0.9557 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.005818, allocations: 31.97 kB / 0.9557 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.005821, allocations: 7.938 kB / 0.9557 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.042e-05/0.005861, allocations: 23.91 kB / 0.9557 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.006078, allocations: 8.125 kB / 0.9557 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002398/0.006318, allocations: 134.6 kB / 0.9559 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.024e-05/0.006358, allocations: 55.36 kB / 0.9559 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.006386, allocations: 16.5 kB / 0.9559 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of SimCode: time 3.9e-07/0.006387, allocations: 0 / 0.9559 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of Templates: time 0.0014/0.007786, allocations: 0.565 MB / 0.9565 GB, free: 12.68 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.107395600527525]