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.001057/0.001058, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008336/0.008336, allocations: 169.8 kB / 16.27 MB, free: 6.332 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.524/1.524, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.021/3.021, allocations: 462.7 MB / 0.7364 GB, free: 360 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.000352, allocations: 15.12 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4404/0.4408, allocations: 159.6 MB / 1.059 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.00129/0.4422, allocations: 404.5 kB / 1.059 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.4437, allocations: 0.804 MB / 1.06 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.664e-05/0.4438, allocations: 0 / 1.06 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.169e-05/0.4438, allocations: 3.984 kB / 1.06 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.4439, allocations: 11.92 kB / 1.06 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.4441, allocations: 8 kB / 1.06 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.529e-05/0.4442, allocations: 19.92 kB / 1.06 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.4444, allocations: 8 kB / 1.06 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.356e-05/0.4445, allocations: 7.922 kB / 1.06 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.106e-05/0.4445, allocations: 8 kB / 1.06 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.4446, allocations: 0 / 1.06 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.4446, allocations: 4 kB / 1.06 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.4446, allocations: 3.938 kB / 1.06 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.645e-05/0.4447, allocations: 29.69 kB / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.848e-05/0.4448, allocations: 31.89 kB / 1.06 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4448, allocations: 4 kB / 1.06 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.675e-06/0.4448, allocations: 0 / 1.06 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.4448, allocations: 0 / 1.06 GB, free: 4.156 MB / 0.8106 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.000536/0.4453, allocations: 343.7 kB / 1.06 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.4454, allocations: 8.031 kB / 1.06 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.4454, allocations: 0.9375 kB / 1.06 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.4456, allocations: 172.3 kB / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.4456, allocations: 4.312 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.4456, allocations: 4.359 kB / 1.061 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.4458, allocations: 50.25 kB / 1.061 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.4459, allocations: 192 / 1.061 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.4459, allocations: 3.938 kB / 1.061 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.4459, allocations: 4 kB / 1.061 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.4461, allocations: 47.95 kB / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.4465, allocations: 240.9 kB / 1.061 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.4467, allocations: 54.47 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.4468, allocations: 32.84 kB / 1.061 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.4469, allocations: 3.984 kB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.4469, allocations: 30.56 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.4469, allocations: 4 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004116/0.4473, allocations: 97.64 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.4474, allocations: 59.47 kB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.173e-05/0.4475, allocations: 97.84 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.4475, allocations: 25.7 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.458e-05/0.4476, allocations: 84.14 kB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.4476, allocations: 7.906 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.4476, allocations: 13.66 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4478, allocations: 310.8 kB / 1.062 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.91e-05/0.4479, allocations: 31.97 kB / 1.062 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.692e-05/0.448, allocations: 15.98 kB / 1.062 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.4482, allocations: 52.89 kB / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4482, allocations: 0 / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002252/0.4484, allocations: 81.53 kB / 1.062 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.4485, allocations: 8.938 kB / 1.062 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4485, allocations: 4.031 kB / 1.062 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.4485, allocations: 0 / 1.062 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.758e-05/0.4486, allocations: 11.98 kB / 1.062 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.4486, allocations: 0 / 1.062 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.305e-05/0.4487, allocations: 8 kB / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.4487, allocations: 3.984 kB / 1.062 GB, free: 2.051 MB / 0.8106 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.0002116/0.4489, allocations: 113.8 kB / 1.062 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.4489, allocations: 7.906 kB / 1.062 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.4492, allocations: 80.78 kB / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4492, allocations: 0 / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4492, allocations: 0 / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.4492, allocations: 4.031 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.4494, allocations: 161.6 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4494, allocations: 0 / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.163e-05/0.4495, allocations: 11.94 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.4495, allocations: 0 / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.4495, allocations: 0 / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.303e-06/0.4495, allocations: 4 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.4495, allocations: 7.922 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.4498, allocations: 171.5 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.416e-05/0.4499, allocations: 81.09 kB / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.4499, allocations: 4 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.987e-05/0.45, allocations: 12.03 kB / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.45, allocations: 3.984 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.4501, allocations: 0 / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.005e-05/0.4501, allocations: 83.28 kB / 1.063 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4501, allocations: 0 / 1.063 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002149/0.4503, allocations: 7.938 kB / 1.063 GB, free: 1.215 MB / 0.8106 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.0001915/0.4505, allocations: 103.2 kB / 1.063 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000231/0.4508, allocations: 47.95 kB / 1.063 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4508, allocations: 0 / 1.063 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.965e-05/0.4509, allocations: 27.98 kB / 1.063 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.4512, allocations: 12 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/0.4516, allocations: 122.6 kB / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.4518, allocations: 0.6731 MB / 1.064 GB, free: 176 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.753e-05/0.4519, allocations: 3.984 kB / 1.064 GB, free: 172 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.668e-05/0.4519, allocations: 7.438 kB / 1.064 GB, free: 164 kB / 0.8106 GB Notification: Performance of SimCode: time 3.71e-07/0.4519, allocations: 3.938 kB / 1.064 GB, free: 160 kB / 0.8106 GB Notification: Performance of Templates: time 0.002823/0.4548, allocations: 366.7 kB / 1.064 GB, free: 15.8 MB / 0.8262 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/jenkins/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