Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001573/0.001573, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001646/0.001647, allocations: 197.9 kB / 16.91 MB, free: 6.195 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.35/1.35, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.791/2.791, allocations: 469.4 MB / 0.7423 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 63.75 kB / 0.9083 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3803, allocations: 159.1 MB / 1.064 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002369/0.3827, allocations: 0.7145 MB / 1.064 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.3838, allocations: 0.8118 MB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.831e-05/0.3839, allocations: 0 / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.986e-05/0.384, allocations: 3.938 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.055e-05/0.3841, allocations: 3.984 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.3843, allocations: 11.92 kB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.3844, allocations: 27.92 kB / 1.065 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.3845, allocations: 12 kB / 1.065 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.851e-05/0.3846, allocations: 3.938 kB / 1.065 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.714e-05/0.3847, allocations: 11.98 kB / 1.065 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.3847, allocations: 7.938 kB / 1.065 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.066e-05/0.3847, allocations: 0 / 1.065 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.191e-05/0.3848, allocations: 4 kB / 1.065 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.14e-05/0.3848, allocations: 11.92 kB / 1.065 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.11e-05/0.3849, allocations: 23.95 kB / 1.065 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.3849, allocations: 0 / 1.065 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.725e-06/0.3849, allocations: 0 / 1.065 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.3849, allocations: 0 / 1.065 GB, free: 13.68 MB / 0.8419 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.0005879/0.3855, allocations: 335.8 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.3856, allocations: 12.62 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.976e-05/0.3857, allocations: 4.844 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.3858, allocations: 164.3 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.3858, allocations: 8.359 kB / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.3859, allocations: 384 / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.3861, allocations: 50.23 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3861, allocations: 4.188 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.3861, allocations: 3.938 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3862, allocations: 0 / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.3863, allocations: 35.95 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.3868, allocations: 241 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.3869, allocations: 46.44 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.848e-05/0.387, allocations: 28.89 kB / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.3871, allocations: 0 / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.3871, allocations: 34.56 kB / 1.066 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3871, allocations: 0 / 1.066 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003708/0.3875, allocations: 85.58 kB / 1.066 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.3876, allocations: 55.41 kB / 1.066 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.57e-05/0.3877, allocations: 97.86 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.3877, allocations: 25.7 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/0.3877, allocations: 88.03 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.3878, allocations: 0 / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.3878, allocations: 17.72 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3879, allocations: 315 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-05/0.388, allocations: 15.98 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.351e-05/0.3881, allocations: 19.97 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.3883, allocations: 36.83 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3883, allocations: 0 / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002099/0.3885, allocations: 85.38 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.3885, allocations: 8 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.3885, allocations: 0 / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3886, allocations: 0 / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.885e-05/0.3887, allocations: 7.984 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.3887, allocations: 7.984 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.745e-05/0.3887, allocations: 0 / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.3887, allocations: 4 kB / 1.067 GB, free: 11.65 MB / 0.8419 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 9.043e-05/0.3888, allocations: 117.8 kB / 1.067 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.3889, allocations: 3.984 kB / 1.067 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.3891, allocations: 68.78 kB / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3891, allocations: 3.938 kB / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3891, allocations: 0 / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3892, allocations: 0 / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.3893, allocations: 157.6 kB / 1.067 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3893, allocations: 4.031 kB / 1.067 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.429e-05/0.3894, allocations: 15.98 kB / 1.067 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.3894, allocations: 0 / 1.067 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.3894, allocations: 0 / 1.067 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.3894, allocations: 0 / 1.067 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3894, allocations: 0 / 1.067 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.3897, allocations: 163.5 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.3897, allocations: 81.02 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.3898, allocations: 4 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.894e-05/0.3899, allocations: 11.98 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.3899, allocations: 192 / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.3899, allocations: 0 / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.688e-05/0.39, allocations: 87.25 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.6e-07/0.39, allocations: 3.938 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002222/0.3902, allocations: 7.938 kB / 1.068 GB, free: 10.84 MB / 0.8419 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.0001461/0.3904, allocations: 99.28 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002467/0.3906, allocations: 43.95 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3906, allocations: 0 / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.3907, allocations: 15.98 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.391, allocations: 12 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003638/0.3914, allocations: 147.8 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.3917, allocations: 0.6806 MB / 1.069 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.3917, allocations: 7.438 kB / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3917, allocations: 0 / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of Templates: time 0.002013/0.3938, allocations: 0.5436 MB / 1.069 GB, free: 9.227 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches