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.001359/0.001359, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001388/0.001388, allocations: 191 kB / 17.29 MB, free: 5.516 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.5/1.5, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.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.308/2.308, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001303, allocations: 69.53 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3488, allocations: 140.4 MB / 0.9511 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos): time 0.002333/0.3512, allocations: 0.6569 MB / 0.9518 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.3523, allocations: 0.8099 MB / 0.9526 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.608e-05/0.3523, allocations: 0 / 0.9526 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.274e-05/0.3524, allocations: 7.938 kB / 0.9526 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.046e-05/0.3524, allocations: 3.984 kB / 0.9526 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.3526, allocations: 15.92 kB / 0.9526 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.506e-05/0.3527, allocations: 23.98 kB / 0.9526 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.3528, allocations: 4 kB / 0.9526 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.09e-05/0.3529, allocations: 7.984 kB / 0.9526 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.836e-05/0.353, allocations: 15.92 kB / 0.9526 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.353, allocations: 7.938 kB / 0.9527 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.809e-06/0.353, allocations: 3.938 kB / 0.9527 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.788e-05/0.353, allocations: 4 kB / 0.9527 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.25e-05/0.3531, allocations: 11.94 kB / 0.9527 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.125e-05/0.3532, allocations: 23.89 kB / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3532, allocations: 0 / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.645e-06/0.3532, allocations: 0 / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.3532, allocations: 0 / 0.9527 GB, free: 6.418 MB / 0.7325 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.000592/0.3538, allocations: 335.5 kB / 0.953 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3538, allocations: 12.03 kB / 0.953 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.3539, allocations: 0.9375 kB / 0.953 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.354, allocations: 176.2 kB / 0.9532 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.3541, allocations: 4.375 kB / 0.9532 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.3541, allocations: 384 / 0.9532 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.3543, allocations: 50.23 kB / 0.9533 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3543, allocations: 192 / 0.9533 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.3543, allocations: 3.938 kB / 0.9533 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.3543, allocations: 0 / 0.9533 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.3545, allocations: 39.89 kB / 0.9533 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.3549, allocations: 257 kB / 0.9535 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.3551, allocations: 34.5 kB / 0.9536 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.051e-05/0.3552, allocations: 20.91 kB / 0.9536 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.3552, allocations: 0 / 0.9536 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.3552, allocations: 38.56 kB / 0.9536 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 2.895e-06/0.3552, allocations: 0 / 0.9536 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003459/0.3556, allocations: 81.58 kB / 0.9537 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.3556, allocations: 55.41 kB / 0.9538 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.547e-05/0.3557, allocations: 105.8 kB / 0.9539 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.3558, allocations: 25.7 kB / 0.9539 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.64e-05/0.3558, allocations: 84.27 kB / 0.954 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.3559, allocations: 7.906 kB / 0.954 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.3559, allocations: 13.72 kB / 0.954 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.356, allocations: 314.8 kB / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.123e-05/0.3561, allocations: 19.98 kB / 0.9543 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.498e-05/0.3562, allocations: 11.98 kB / 0.9543 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.3563, allocations: 48.81 kB / 0.9544 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3563, allocations: 0 / 0.9544 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001847/0.3565, allocations: 61.61 kB / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.3566, allocations: 9.875 kB / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3566, allocations: 0 / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3566, allocations: 0 / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-05/0.3567, allocations: 12.02 kB / 0.9544 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.3567, allocations: 7.938 kB / 0.9544 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.866e-05/0.3568, allocations: 11.98 kB / 0.9545 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.3568, allocations: 0 / 0.9545 GB, free: 4.387 MB / 0.7325 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 9.224e-05/0.3569, allocations: 109.8 kB / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.3569, allocations: 3.906 kB / 0.9546 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.3571, allocations: 80.72 kB / 0.9546 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3571, allocations: 0 / 0.9546 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3572, allocations: 0 / 0.9546 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3572, allocations: 3.984 kB / 0.9547 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.3574, allocations: 157.6 kB / 0.9548 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3574, allocations: 0 / 0.9548 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.73e-05/0.3575, allocations: 11.98 kB / 0.9548 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3575, allocations: 0 / 0.9548 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3575, allocations: 0 / 0.9548 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3575, allocations: 0 / 0.9548 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3575, allocations: 0 / 0.9548 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.3577, allocations: 171.4 kB / 0.955 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.107e-05/0.3578, allocations: 81.11 kB / 0.9551 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.3578, allocations: 0 / 0.9551 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.383e-05/0.3579, allocations: 7.984 kB / 0.9551 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.3579, allocations: 0 / 0.9551 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.358, allocations: 11.97 kB / 0.9551 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.394e-05/0.358, allocations: 79.28 kB / 0.9551 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.358, allocations: 0 / 0.9551 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002134/0.3582, allocations: 4 kB / 0.9552 GB, free: 3.578 MB / 0.7325 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.0001608/0.3584, allocations: 107.2 kB / 0.9553 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002054/0.3586, allocations: 31.97 kB / 0.9553 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3586, allocations: 4.062 kB / 0.9553 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.734e-05/0.3587, allocations: 23.91 kB / 0.9553 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.359, allocations: 11.88 kB / 0.9553 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.3593, allocations: 101.5 kB / 0.9554 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.3596, allocations: 0.6766 MB / 0.9561 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.612e-05/0.3597, allocations: 4 kB / 0.9561 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/0.3597, allocations: 11.5 kB / 0.9561 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.3597, allocations: 0 / 0.9561 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of Templates: time 0.002798/0.3625, allocations: 448.2 kB / 0.9565 GB, free: 2.117 MB / 0.7325 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 -s gbode -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/jenkins1/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