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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001191/0.001191, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.544/1.544, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.053/3.053, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 66.12 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4342/0.4355, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001971/0.4375, allocations: 0.6497 MB / 1.069 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000874/0.4384, allocations: 0.8217 MB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.114e-05/0.4384, allocations: 0 / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.521e-05/0.4384, allocations: 0 / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.923e-05/0.4385, allocations: 7.938 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.4387, allocations: 7.984 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.35e-05/0.4387, allocations: 23.94 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.4389, allocations: 11.98 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.076e-05/0.439, allocations: 3.938 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.036e-05/0.439, allocations: 11.98 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.439, allocations: 8 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.439, allocations: 0 / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.4391, allocations: 11.92 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.4391, allocations: 7.938 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.974e-05/0.4392, allocations: 15.97 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.4392, allocations: 4 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4392, allocations: 3.938 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.4392, allocations: 0 / 1.07 GB, free: 8.77 MB / 0.8262 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.0004311/0.4396, allocations: 339.7 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.4397, allocations: 16.02 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.747e-05/0.4397, allocations: 0.9375 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.4399, allocations: 172.3 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.4399, allocations: 384 / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.4399, allocations: 384 / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.4401, allocations: 50.23 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.4401, allocations: 192 / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.4401, allocations: 3.938 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.4401, allocations: 0 / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.4403, allocations: 43.89 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.4407, allocations: 244.9 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.4408, allocations: 38.5 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.87e-05/0.4409, allocations: 24.91 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.4409, allocations: 3.984 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.4409, allocations: 34.56 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.441, allocations: 0 / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003522/0.4413, allocations: 85.48 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.4413, allocations: 51.53 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.354e-05/0.4414, allocations: 101.9 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.4414, allocations: 25.7 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/0.4415, allocations: 80.14 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.4415, allocations: 11.91 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.4416, allocations: 13.7 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.4417, allocations: 314.8 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.354e-05/0.4418, allocations: 15.98 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.365e-05/0.4419, allocations: 15.98 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.442, allocations: 40.81 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.442, allocations: 4 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001972/0.4422, allocations: 77.53 kB / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.4423, allocations: 8.094 kB / 1.072 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.4423, allocations: 0 / 1.072 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.4423, allocations: 0 / 1.072 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.521e-05/0.4424, allocations: 8 kB / 1.072 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.4424, allocations: 0 / 1.072 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.987e-05/0.4424, allocations: 7.984 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.4425, allocations: 3.984 kB / 1.072 GB, free: 6.742 MB / 0.8262 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.782e-05/0.4425, allocations: 111.8 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.4426, allocations: 4 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.4428, allocations: 80.7 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.4428, allocations: 0 / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4428, allocations: 0 / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.4429, allocations: 0 / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.443, allocations: 165.6 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.443, allocations: 192 / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.211e-05/0.4431, allocations: 11.92 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4431, allocations: 7.969 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.4431, allocations: 3.984 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4431, allocations: 0 / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.4431, allocations: 4 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.4434, allocations: 163.4 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/0.4435, allocations: 81.11 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.4435, allocations: 7.969 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.63e-05/0.4436, allocations: 7.984 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.4436, allocations: 0 / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.4436, allocations: 0 / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.361e-05/0.4437, allocations: 87.27 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4437, allocations: 0 / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002221/0.4439, allocations: 7.938 kB / 1.072 GB, free: 5.914 MB / 0.8262 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.0001589/0.4441, allocations: 99.25 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002276/0.4443, allocations: 35.97 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4443, allocations: 0 / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.246e-05/0.4444, allocations: 23.97 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.4447, allocations: 5.188 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003359/0.4451, allocations: 118.1 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.4454, allocations: 0.6768 MB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.27e-05/0.4455, allocations: 0 / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.9e-05/0.4455, allocations: 11.44 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.4455, allocations: 0 / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of Templates: time 0.002584/0.4481, allocations: 439.3 kB / 1.074 GB, free: 4.465 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