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.001696/0.001696, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001845/0.001845, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.472/1.472, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.638/2.638, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 68.09 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8551/0.8565, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001919/0.8584, allocations: 0.6636 MB / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009379/0.8594, allocations: 0.8079 MB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.956e-05/0.8595, allocations: 7.938 kB / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.457e-05/0.8595, allocations: 0 / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.139e-05/0.8596, allocations: 3.938 kB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.8598, allocations: 11.97 kB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.731e-05/0.8598, allocations: 23.92 kB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.8599, allocations: 8 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.743e-05/0.86, allocations: 11.92 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.119e-05/0.8601, allocations: 8 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.8601, allocations: 4 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.434e-06/0.8601, allocations: 0 / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.8601, allocations: 7.984 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.8602, allocations: 11.94 kB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.339e-05/0.8602, allocations: 27.83 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.8603, allocations: 0 / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8603, allocations: 0 / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.8603, allocations: 0 / 1.21 GB, free: 12.05 MB / 0.9356 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.0004152/0.8607, allocations: 343.3 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.8607, allocations: 12.03 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.8608, allocations: 0.9375 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.8609, allocations: 168.4 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.8609, allocations: 384 / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.8609, allocations: 384 / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.8611, allocations: 50.23 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.8611, allocations: 192 / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.8611, allocations: 7.938 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.8611, allocations: 0 / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.8613, allocations: 35.91 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/0.8617, allocations: 245 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.8618, allocations: 42.5 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.723e-05/0.8619, allocations: 28.89 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.8619, allocations: 4 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.8619, allocations: 30.56 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.8619, allocations: 3.938 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003492/0.8623, allocations: 89.58 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.8623, allocations: 51.41 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.555e-05/0.8624, allocations: 101.8 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.8624, allocations: 25.7 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.8625, allocations: 84.14 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.8625, allocations: 7.906 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.8625, allocations: 9.719 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.564e-05/0.8626, allocations: 318.8 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.058e-05/0.8627, allocations: 20.02 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.02e-05/0.8628, allocations: 15.92 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.8629, allocations: 48.75 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.863, allocations: 0 / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00019/0.8632, allocations: 69.67 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.8632, allocations: 5.562 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.8632, allocations: 0 / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.8632, allocations: 0 / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.849e-05/0.8633, allocations: 11.98 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.8633, allocations: 0 / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.057e-05/0.8634, allocations: 11.98 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.8634, allocations: 0 / 1.212 GB, free: 10.02 MB / 0.9356 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.801e-05/0.8635, allocations: 113.8 kB / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.8635, allocations: 4 kB / 1.212 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.8637, allocations: 72.72 kB / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.8637, allocations: 0 / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.8638, allocations: 0 / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.8638, allocations: 0 / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.8639, allocations: 161.6 kB / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.8639, allocations: 4 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.89e-05/0.864, allocations: 12.02 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.864, allocations: 0 / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.864, allocations: 0 / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.864, allocations: 0 / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.864, allocations: 0 / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.8643, allocations: 171.3 kB / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.349e-05/0.8643, allocations: 86.97 kB / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.8643, allocations: 3.938 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.8644, allocations: 7.984 kB / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.8644, allocations: 0 / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.8644, allocations: 0 / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.635e-05/0.8645, allocations: 83.28 kB / 1.212 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8645, allocations: 0 / 1.212 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002108/0.8647, allocations: 4 kB / 1.212 GB, free: 9.215 MB / 0.9356 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.0001265/0.8648, allocations: 107.2 kB / 1.213 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.8651, allocations: 31.97 kB / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8651, allocations: 0 / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.55e-05/0.8652, allocations: 23.92 kB / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.8655, allocations: 11.86 kB / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003037/0.8658, allocations: 143.9 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.866, allocations: 0.6729 MB / 1.213 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.866, allocations: 15.38 kB / 1.213 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/0.866, allocations: 0 / 1.213 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of Templates: time 0.001758/0.8678, allocations: 0.5459 MB / 1.214 GB, free: 7.598 MB / 0.9356 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