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.001709/0.001709, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001294/0.001294, allocations: 195.9 kB / 16.26 MB, free: 6.633 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.533/1.533, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.953/2.953, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002144, allocations: 68.09 kB / 0.8986 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4315, allocations: 157.4 MB / 1.052 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001943/0.4335, allocations: 0.7283 MB / 1.053 GB, free: 8 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008537/0.4343, allocations: 0.8079 MB / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.408e-05/0.4344, allocations: 0 / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.755e-05/0.4344, allocations: 3.938 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.696e-05/0.4345, allocations: 0 / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001353/0.4346, allocations: 11.92 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.446e-05/0.4347, allocations: 23.92 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.4348, allocations: 12 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.785e-05/0.4349, allocations: 15.92 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.591e-05/0.4349, allocations: 8 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.4349, allocations: 0 / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.137e-05/0.435, allocations: 7.938 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.435, allocations: 7.984 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.435, allocations: 3.938 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.895e-05/0.4351, allocations: 27.95 kB / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4351, allocations: 0 / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.026e-06/0.4351, allocations: 4 kB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.4351, allocations: 0 / 1.054 GB, free: 7.055 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.0004317/0.4356, allocations: 335.7 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.4356, allocations: 8.625 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.4356, allocations: 16.84 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.4358, allocations: 164.3 kB / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.4358, allocations: 4.359 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.4358, allocations: 384 / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.436, allocations: 46.25 kB / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.436, allocations: 192 / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.436, allocations: 7.938 kB / 1.054 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-06/0.436, allocations: 11.92 kB / 1.054 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.4362, allocations: 31.95 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003248/0.4365, allocations: 240.9 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.4366, allocations: 46.47 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.256e-05/0.4367, allocations: 24.91 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.4368, allocations: 0 / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.4368, allocations: 34.56 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.4368, allocations: 0 / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000341/0.4371, allocations: 85.67 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.4372, allocations: 51.41 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.151e-05/0.4373, allocations: 101.8 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.4373, allocations: 29.7 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.397e-05/0.4373, allocations: 80.14 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.4374, allocations: 7.906 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.4374, allocations: 13.72 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.4375, allocations: 310.8 kB / 1.055 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.44e-05/0.4376, allocations: 24 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.611e-05/0.4377, allocations: 15.98 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.4378, allocations: 36.83 kB / 1.056 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4378, allocations: 0 / 1.056 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001842/0.438, allocations: 85.44 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.4381, allocations: 4 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.4381, allocations: 0 / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.4381, allocations: 0 / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.361e-05/0.4382, allocations: 11.98 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.4382, allocations: 0 / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.725e-05/0.4382, allocations: 7.984 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.4383, allocations: 0 / 1.056 GB, free: 5.027 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.0001149/0.4384, allocations: 117.8 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.4384, allocations: 0 / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/0.4386, allocations: 68.78 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.4386, allocations: 4 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4386, allocations: 3.938 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4386, allocations: 0 / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.4388, allocations: 161.6 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4388, allocations: 0 / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.45e-05/0.4389, allocations: 11.97 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.4389, allocations: 4 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.4389, allocations: 3.984 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4389, allocations: 0 / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.4389, allocations: 0 / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.4391, allocations: 167.5 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.575e-05/0.4392, allocations: 81.14 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.4392, allocations: 0 / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.499e-05/0.4393, allocations: 4 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.4393, allocations: 3.984 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.4393, allocations: 4 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.116e-05/0.4394, allocations: 79.28 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.704e-06/0.4394, allocations: 4 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002195/0.4396, allocations: 7.875 kB / 1.056 GB, free: 4.219 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.0001334/0.4398, allocations: 103.2 kB / 1.056 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002049/0.44, allocations: 35.95 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.44, allocations: 0 / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.159e-05/0.4401, allocations: 19.98 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.4403, allocations: 7.938 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000269/0.4406, allocations: 118.1 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.4409, allocations: 0.6768 MB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.183e-05/0.4409, allocations: 4 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.214e-05/0.4409, allocations: 7.438 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.4409, allocations: 0 / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of Templates: time 0.002175/0.4431, allocations: 390.5 kB / 1.058 GB, free: 2.809 MB / 0.8106 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