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.00199/0.00199, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.002392/0.002392, allocations: 165.3 kB / 23.54 MB, free: 0.8672 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 1.562/1.562, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.966/2.966, allocations: 377.8 MB / 0.6232 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.184e-06/2.184e-06, allocations: 0 / 0.8109 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.941e-05/3.159e-05, allocations: 8.922 kB / 0.8109 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001939/0.001971, allocations: 0.6726 MB / 0.8115 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.00327, allocations: 0.8401 MB / 0.8124 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/0.003307, allocations: 4 kB / 0.8124 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.699e-05/0.003334, allocations: 0 / 0.8124 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.162e-05/0.003405, allocations: 8.812 kB / 0.8124 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.003582, allocations: 11.98 kB / 0.8124 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.974e-05/0.003662, allocations: 21.47 kB / 0.8124 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.003762, allocations: 15.97 kB / 0.8124 GB, free: 484 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.286e-05/0.003845, allocations: 8 kB / 0.8124 GB, free: 476 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.413e-05/0.003889, allocations: 11.92 kB / 0.8124 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.003904, allocations: 1.688 kB / 0.8124 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.895e-05/0.003953, allocations: 4 kB / 0.8124 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.003968, allocations: 4 kB / 0.8124 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.211e-05/0.004, allocations: 7.984 kB / 0.8124 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.004132, allocations: 33.23 kB / 0.8125 GB, free: 416 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.004135, allocations: 3.938 kB / 0.8125 GB, free: 412 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.11e-07/0.004135, allocations: 0 / 0.8125 GB, free: 412 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.00414, allocations: 0 / 0.8125 GB, free: 412 kB / 0.7605 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.0005193/0.004659, allocations: 263.9 kB / 0.8127 GB, free: 116 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.0047, allocations: 8.031 kB / 0.8127 GB, free: 108 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.004832, allocations: 8.891 kB / 0.8128 GB, free: 100 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.004984, allocations: 114.4 kB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.004998, allocations: 384 / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.005007, allocations: 4.906 kB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.005217, allocations: 55.88 kB / 0.8129 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.005226, allocations: 192 / 0.8129 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.005237, allocations: 384 / 0.8129 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.005243, allocations: 384 / 0.8129 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.005433, allocations: 36.56 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.005804, allocations: 193.8 kB / 0.8131 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.005949, allocations: 35.72 kB / 0.8132 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.00606, allocations: 20.91 kB / 0.8132 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.006088, allocations: 1.375 kB / 0.8132 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.006131, allocations: 34.56 kB / 0.8132 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.006132, allocations: 0 / 0.8132 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0004108/0.006543, allocations: 95.22 kB / 0.8133 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.00659, allocations: 51.41 kB / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.006701, allocations: 102.7 kB / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.006722, allocations: 25.7 kB / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.762e-05/0.00679, allocations: 84.14 kB / 0.8136 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.006812, allocations: 6.266 kB / 0.8136 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.006855, allocations: 13.72 kB / 0.8136 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.007047, allocations: 318.8 kB / 0.8139 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.991e-05/0.007137, allocations: 11.98 kB / 0.8139 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.221e-05/0.007219, allocations: 18.02 kB / 0.8139 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.007388, allocations: 40.81 kB / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.00739, allocations: 0 / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002272/0.007617, allocations: 68.52 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.007638, allocations: 4 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.007645, allocations: 3.938 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.007665, allocations: 7.938 kB / 0.814 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.375e-05/0.007758, allocations: 7.984 kB / 0.814 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.007764, allocations: 2.406 kB / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.578e-05/0.007819, allocations: 7.984 kB / 0.8141 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.007824, allocations: 0 / 0.8141 GB, free: 14.63 MB / 0.7761 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 0.0001123/0.007937, allocations: 113.8 kB / 0.8142 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.007961, allocations: 0 / 0.8142 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.008223, allocations: 82 kB / 0.8142 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.008226, allocations: 0.5625 kB / 0.8142 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.00823, allocations: 0 / 0.8142 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.008235, allocations: 4.766 kB / 0.8143 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.008387, allocations: 97.33 kB / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.008389, allocations: 0.8438 kB / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.019e-05/0.008459, allocations: 11.98 kB / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.008464, allocations: 5.781 kB / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-06/0.00847, allocations: 0 / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.008474, allocations: 3.938 kB / 0.8144 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.008475, allocations: 0 / 0.8144 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.008766, allocations: 167 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.251e-06/0.008772, allocations: 4 kB / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.008784, allocations: 0 / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.944e-05/0.008884, allocations: 15.86 kB / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.008925, allocations: 0 / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.008928, allocations: 0 / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.781e-05/0.008986, allocations: 91.44 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.008986, allocations: 2.094 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002282/0.009215, allocations: 4 kB / 0.8146 GB, free: 13.99 MB / 0.7761 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.0001305/0.009345, allocations: 95.25 kB / 0.8147 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002209/0.009566, allocations: 32.94 kB / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.009568, allocations: 0 / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.627e-05/0.009664, allocations: 25.09 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.009979, allocations: 5.031 kB / 0.8148 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003631/0.01034, allocations: 116.7 kB / 0.8149 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.068e-05/0.01042, allocations: 64.33 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.442e-05/0.01045, allocations: 4.812 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.01049, allocations: 12.5 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of SimCode: time 7.51e-07/0.01049, allocations: 0 / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of Templates: time 0.003248/0.01374, allocations: 488.6 kB / 0.8154 GB, free: 13.14 MB / 0.7761 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.027181182987988]