Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 110.7 kB / 16.42 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 187.9 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.621/2.621, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 67.89 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.006, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.00206/1.008, allocations: 0.6643 MB / 1.168 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001132/1.009, allocations: 0.8117 MB / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.543e-05/1.009, allocations: 0 / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.494e-05/1.009, allocations: 0 / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.486e-05/1.009, allocations: 7.938 kB / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/1.009, allocations: 11.98 kB / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.013e-05/1.01, allocations: 23.92 kB / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/1.01, allocations: 11.94 kB / 1.169 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.169e-05/1.01, allocations: 11.94 kB / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.338e-05/1.01, allocations: 11.97 kB / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/1.01, allocations: 4 kB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.167e-06/1.01, allocations: 0 / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/1.01, allocations: 4 kB / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.968e-05/1.01, allocations: 15.92 kB / 1.169 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.665e-05/1.01, allocations: 19.91 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.01, allocations: 0 / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.713e-06/1.01, allocations: 0 / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.6e-06/1.01, allocations: 0 / 1.169 GB, free: 2.203 MB / 0.8887 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.0005097/1.011, allocations: 339.3 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/1.011, allocations: 8.625 kB / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/1.011, allocations: 0.9375 kB / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/1.011, allocations: 168.3 kB / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/1.011, allocations: 4.375 kB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/1.011, allocations: 384 / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/1.011, allocations: 50.23 kB / 1.169 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/1.011, allocations: 192 / 1.169 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/1.011, allocations: 3.938 kB / 1.169 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/1.011, allocations: 4 kB / 1.169 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/1.011, allocations: 39.94 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/1.012, allocations: 249 kB / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/1.012, allocations: 46.42 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.721e-05/1.012, allocations: 23.34 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/1.012, allocations: 4 kB / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/1.012, allocations: 34.56 kB / 1.17 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 2.595e-06/1.012, allocations: 0 / 1.17 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003652/1.012, allocations: 89.48 kB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/1.012, allocations: 55.34 kB / 1.17 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.162e-05/1.012, allocations: 97.86 kB / 1.17 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/1.012, allocations: 29.69 kB / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.257e-05/1.012, allocations: 84.27 kB / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/1.013, allocations: 11.89 kB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/1.013, allocations: 13.72 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001075/1.013, allocations: 314.8 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.063e-05/1.013, allocations: 15.98 kB / 1.171 GB, free: 348 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.878e-05/1.013, allocations: 15.97 kB / 1.171 GB, free: 332 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/1.013, allocations: 40.89 kB / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.013, allocations: 0 / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001969/1.013, allocations: 73.53 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/1.013, allocations: 4 kB / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.013, allocations: 3.938 kB / 1.171 GB, free: 200 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/1.013, allocations: 0 / 1.171 GB, free: 200 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.93e-05/1.013, allocations: 16.02 kB / 1.171 GB, free: 184 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/1.013, allocations: 0 / 1.171 GB, free: 184 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.241e-05/1.013, allocations: 8 kB / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/1.013, allocations: 0 / 1.171 GB, free: 176 kB / 0.8887 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 7.799e-05/1.014, allocations: 109.8 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/1.014, allocations: 7.938 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/1.014, allocations: 68.78 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/1.014, allocations: 4.031 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.014, allocations: 0 / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.314e-05/1.014, allocations: 77.11 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/1.014, allocations: 4 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.096e-05/1.014, allocations: 7.984 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/1.014, allocations: 3.938 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002514/1.014, allocations: 152.9 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000272/1.015, allocations: 238.7 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.48e-05/1.015, allocations: 19.92 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.4e-05/1.015, allocations: 79.28 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of Backend: time 6.12e-07/1.015, allocations: 4.062 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004161/1.015, allocations: 102.4 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005391/1.016, allocations: 0.5606 MB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of Templates: time 0.002669/1.018, allocations: 0.5343 MB / 1.173 GB, free: 14.1 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches