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.001437/0.001437, allocations: 102.9 kB / 16.4 MB, free: 6.465 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.00145/0.00145, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.14 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.564/2.564, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 64.14 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9683/0.9698, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001961/0.9718, allocations: 0.6617 MB / 1.168 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009975/0.9729, allocations: 0.8117 MB / 1.169 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.057e-05/0.9729, allocations: 4 kB / 1.169 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.895e-05/0.973, allocations: 7.938 kB / 1.169 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.079e-05/0.9731, allocations: 3.984 kB / 1.169 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001443/0.9732, allocations: 7.938 kB / 1.169 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.234e-05/0.9733, allocations: 19.98 kB / 1.169 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.9734, allocations: 11.98 kB / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.702e-05/0.9735, allocations: 11.88 kB / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.391e-05/0.9735, allocations: 11.98 kB / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.9735, allocations: 4 kB / 1.169 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.824e-06/0.9736, allocations: 0 / 1.169 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.9736, allocations: 8 kB / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.664e-05/0.9736, allocations: 11.92 kB / 1.169 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 7.836e-05/0.9737, allocations: 23.91 kB / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.9737, allocations: 3.984 kB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9737, allocations: 0 / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.046e-06/0.9737, allocations: 0 / 1.169 GB, free: 2.242 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.0004389/0.9742, allocations: 335.3 kB / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.9742, allocations: 12.92 kB / 1.169 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.9743, allocations: 0.9375 kB / 1.169 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.9744, allocations: 164.4 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.9744, allocations: 4.375 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.9744, allocations: 384 / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.9746, allocations: 54.17 kB / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.9746, allocations: 4.125 kB / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.9746, allocations: 3.938 kB / 1.169 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.9747, allocations: 0 / 1.169 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.9748, allocations: 35.95 kB / 1.17 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/0.9752, allocations: 245 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.9753, allocations: 42.5 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.757e-05/0.9754, allocations: 23.33 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.9755, allocations: 7.938 kB / 1.17 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.9755, allocations: 38.56 kB / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.9755, allocations: 0 / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003525/0.9759, allocations: 81.55 kB / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.9759, allocations: 55.34 kB / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.041e-05/0.976, allocations: 97.86 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.976, allocations: 25.83 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.9761, allocations: 88.14 kB / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.9761, allocations: 11.89 kB / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.9761, allocations: 9.719 kB / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.9762, allocations: 310.8 kB / 1.171 GB, free: 424 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.359e-05/0.9763, allocations: 23.92 kB / 1.171 GB, free: 400 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.745e-05/0.9764, allocations: 11.98 kB / 1.171 GB, free: 388 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.9766, allocations: 48.88 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9766, allocations: 0 / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001885/0.9768, allocations: 65.59 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.9768, allocations: 8 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.9768, allocations: 0 / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.9768, allocations: 0 / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.421e-05/0.9769, allocations: 16.03 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.9769, allocations: 0 / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.009e-05/0.977, allocations: 7.984 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.977, allocations: 0 / 1.171 GB, free: 232 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 8.301e-05/0.9771, allocations: 113.7 kB / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.9771, allocations: 4 kB / 1.171 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.9774, allocations: 76.77 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.9774, allocations: 0 / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.9774, allocations: 0 / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.9774, allocations: 192 / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.9776, allocations: 157.6 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.9776, allocations: 3.984 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.901e-05/0.9776, allocations: 11.98 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.9777, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.9777, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.9777, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.9777, allocations: 3.938 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.9779, allocations: 175.3 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/0.978, allocations: 82.94 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.978, allocations: 0 / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/0.9781, allocations: 7.984 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.9781, allocations: 3.938 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.9781, allocations: 4.031 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.297e-05/0.9782, allocations: 87.27 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9782, allocations: 0 / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002162/0.9784, allocations: 4 kB / 1.171 GB, free: 15.4 MB / 0.9044 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.0001363/0.9786, allocations: 99.25 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002054/0.9788, allocations: 35.91 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.9788, allocations: 4.062 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.981e-05/0.9789, allocations: 23.97 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.9792, allocations: 3.938 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003518/0.9795, allocations: 141.6 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.9798, allocations: 0.6768 MB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/0.9799, allocations: 11.44 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/0.9799, allocations: 4.062 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of Templates: time 0.001927/0.9818, allocations: 0.5374 MB / 1.173 GB, free: 13.81 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