Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Continuous.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001849/0.001849, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.569/2.569, allocations: 390.9 MB / 0.666 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004066/0.0004068, allocations: 12 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8744/0.8749, allocations: 142.4 MB / 0.9545 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos): time 0.0008639/0.8758, allocations: 391.3 kB / 0.9548 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007595/0.8765, allocations: 0.803 MB / 0.9556 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.013e-05/0.8766, allocations: 0 / 0.9556 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.315e-05/0.8766, allocations: 3.938 kB / 0.9556 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.807e-05/0.8767, allocations: 0 / 0.9556 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.8768, allocations: 11.23 kB / 0.9556 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.949e-05/0.8769, allocations: 19.58 kB / 0.9557 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.348e-05/0.877, allocations: 5.375 kB / 0.9557 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.833e-05/0.877, allocations: 11.31 kB / 0.9557 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.462e-05/0.8771, allocations: 6.641 kB / 0.9557 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.8771, allocations: 1.125 kB / 0.9557 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.8771, allocations: 0.9375 kB / 0.9557 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.8772, allocations: 4.859 kB / 0.9557 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.49e-05/0.8772, allocations: 34.7 kB / 0.9557 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.592e-05/0.8772, allocations: 15.94 kB / 0.9557 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.8773, allocations: 0 / 0.9557 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.933e-06/0.8773, allocations: 0 / 0.9557 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.8773, allocations: 0 / 0.9557 GB, free: 6.625 MB / 0.7169 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.000366/0.8776, allocations: 345.6 kB / 0.9561 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.8777, allocations: 9.562 kB / 0.9561 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.8777, allocations: 5.172 kB / 0.9561 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.339e-05/0.8778, allocations: 165.2 kB / 0.9562 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.8778, allocations: 0 / 0.9562 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.8779, allocations: 1 kB / 0.9562 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.878, allocations: 62.09 kB / 0.9563 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.878, allocations: 0 / 0.9563 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.8781, allocations: 1.25 kB / 0.9563 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.8781, allocations: 0 / 0.9563 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.8782, allocations: 52.48 kB / 0.9563 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002791/0.8785, allocations: 245.1 kB / 0.9566 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.8786, allocations: 39.41 kB / 0.9566 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.102e-05/0.8787, allocations: 31.94 kB / 0.9566 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.8788, allocations: 0 / 0.9566 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.456e-05/0.8788, allocations: 31.72 kB / 0.9567 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.8788, allocations: 0 / 0.9567 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003349/0.8791, allocations: 114.8 kB / 0.9568 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.8792, allocations: 52.5 kB / 0.9568 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.542e-05/0.8792, allocations: 98.97 kB / 0.9569 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.544e-06/0.8792, allocations: 25.7 kB / 0.957 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.196e-05/0.8793, allocations: 89.27 kB / 0.957 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.8793, allocations: 8.625 kB / 0.9571 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/0.8793, allocations: 1.125 kB / 0.9571 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.85e-05/0.8794, allocations: 314.8 kB / 0.9574 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.509e-05/0.8794, allocations: 22.11 kB / 0.9574 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.691e-05/0.8795, allocations: 22.2 kB / 0.9574 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.223e-05/0.8796, allocations: 22.98 kB / 0.9574 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8796, allocations: 0 / 0.9574 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001709/0.8798, allocations: 82.09 kB / 0.9575 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.8798, allocations: 4.781 kB / 0.9575 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.8798, allocations: 0 / 0.9575 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.8798, allocations: 5.031 kB / 0.9575 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.451e-05/0.8799, allocations: 15.94 kB / 0.9575 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.8799, allocations: 1.156 kB / 0.9575 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/0.88, allocations: 13.83 kB / 0.9575 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.88, allocations: 1.062 kB / 0.9575 GB, free: 4.828 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.318e-05/0.8801, allocations: 110.9 kB / 0.9576 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.8801, allocations: 2.281 kB / 0.9576 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.8803, allocations: 82.91 kB / 0.9577 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.8803, allocations: 1.031 kB / 0.9577 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.8803, allocations: 7.953 kB / 0.9577 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.8803, allocations: 1.062 kB / 0.9577 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.8804, allocations: 158.3 kB / 0.9579 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.8804, allocations: 0 / 0.9579 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.28e-05/0.8805, allocations: 7.938 kB / 0.9579 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.8805, allocations: 1.219 kB / 0.9579 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.8805, allocations: 0 / 0.9579 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.8805, allocations: 5.125 kB / 0.9579 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.8805, allocations: 3.984 kB / 0.9579 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.8807, allocations: 173.1 kB / 0.9581 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/0.8808, allocations: 85.12 kB / 0.9581 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.8808, allocations: 1.094 kB / 0.9581 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.764e-05/0.8808, allocations: 5.75 kB / 0.9582 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.8809, allocations: 9.297 kB / 0.9582 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.8809, allocations: 1.156 kB / 0.9582 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.503e-05/0.8809, allocations: 86.98 kB / 0.9582 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8809, allocations: 0 / 0.9582 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002041/0.8811, allocations: 8.109 kB / 0.9583 GB, free: 4.09 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000122/0.8813, allocations: 110.9 kB / 0.9584 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001914/0.8815, allocations: 45.98 kB / 0.9584 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.8815, allocations: 1.312 kB / 0.9584 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.541e-05/0.8816, allocations: 28.36 kB / 0.9584 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.8818, allocations: 1.219 kB / 0.9584 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000244/0.8821, allocations: 112.2 kB / 0.9585 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.8822, allocations: 0.676 MB / 0.9592 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.185e-05/0.8822, allocations: 5.375 kB / 0.9592 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.079e-05/0.8823, allocations: 8.25 kB / 0.9592 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.8823, allocations: 0.9062 kB / 0.9592 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of Templates: time 0.002264/0.8845, allocations: 358.2 kB / 0.9596 GB, free: 2.945 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Acos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches