Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.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.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009919/0.000992, allocations: 99.19 kB / 16.02 MB, free: 76 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.001215/0.001215, allocations: 181.9 kB / 16.92 MB, free: 6.918 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.408/1.408, allocations: 223.3 MB / 241 MB, free: 5.238 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.437/2.437, allocations: 390.9 MB / 0.667 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003829/0.0003832, allocations: 12 kB / 0.8167 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7795/0.7799, allocations: 142.4 MB / 0.9557 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs): time 0.0008577/0.7808, allocations: 400 kB / 0.9561 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008195/0.7817, allocations: 0.844 MB / 0.9569 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.833e-05/0.7817, allocations: 0 / 0.9569 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.43e-05/0.7817, allocations: 1.406 kB / 0.9569 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.265e-05/0.7818, allocations: 3.938 kB / 0.9569 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.782, allocations: 10.89 kB / 0.957 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.335e-05/0.782, allocations: 20.83 kB / 0.957 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.7822, allocations: 10.41 kB / 0.957 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.958e-05/0.7822, allocations: 3.562 kB / 0.957 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.347e-05/0.7823, allocations: 19.31 kB / 0.957 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.7823, allocations: 1.188 kB / 0.957 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.819e-06/0.7823, allocations: 0 / 0.957 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.7824, allocations: 1.219 kB / 0.957 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.164e-05/0.7824, allocations: 32.05 kB / 0.957 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.056e-05/0.7825, allocations: 18.3 kB / 0.9571 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.319e-06/0.7825, allocations: 1.25 kB / 0.9571 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.265e-06/0.7825, allocations: 0 / 0.9571 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.7825, allocations: 4 kB / 0.9571 GB, free: 6.559 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.000373/0.7829, allocations: 333.6 kB / 0.9574 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.7829, allocations: 9.969 kB / 0.9574 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.783, allocations: 5.859 kB / 0.9574 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.197e-05/0.783, allocations: 161.8 kB / 0.9575 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.7831, allocations: 4.375 kB / 0.9575 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.7831, allocations: 2.656 kB / 0.9576 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.7833, allocations: 61.33 kB / 0.9576 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.7833, allocations: 1.469 kB / 0.9576 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.7833, allocations: 3.938 kB / 0.9576 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.7833, allocations: 0 / 0.9576 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.7835, allocations: 44.72 kB / 0.9577 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002767/0.7838, allocations: 252.6 kB / 0.9579 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.7839, allocations: 44.66 kB / 0.9579 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.01e-05/0.784, allocations: 31.44 kB / 0.958 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.784, allocations: 3.984 kB / 0.958 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.7841, allocations: 36 kB / 0.958 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.7841, allocations: 0 / 0.958 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003425/0.7844, allocations: 91.25 kB / 0.9581 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.7845, allocations: 56.8 kB / 0.9582 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.48e-05/0.7845, allocations: 98.8 kB / 0.9582 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.284e-06/0.7845, allocations: 29.83 kB / 0.9583 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.726e-05/0.7846, allocations: 81.58 kB / 0.9584 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.7846, allocations: 11.84 kB / 0.9584 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/0.7846, allocations: 15.17 kB / 0.9584 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.43e-05/0.7847, allocations: 312.2 kB / 0.9587 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.249e-05/0.7847, allocations: 29.77 kB / 0.9587 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.561e-05/0.7848, allocations: 21.39 kB / 0.9587 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.785, allocations: 49.34 kB / 0.9588 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.785, allocations: 64 / 0.9588 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001948/0.7852, allocations: 79.3 kB / 0.9588 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.7852, allocations: 4.125 kB / 0.9589 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.7852, allocations: 9.062 kB / 0.9589 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.7852, allocations: 0 / 0.9589 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.883e-05/0.7853, allocations: 12.03 kB / 0.9589 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.7854, allocations: 1.375 kB / 0.9589 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.952e-05/0.7854, allocations: 18.08 kB / 0.9589 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.7854, allocations: 0 / 0.9589 GB, free: 4.734 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.322e-05/0.7855, allocations: 111.8 kB / 0.959 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.7855, allocations: 1.188 kB / 0.959 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.199e-05/0.7855, allocations: 8.172 kB / 0.959 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.7855, allocations: 5.062 kB / 0.959 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.7855, allocations: 3.984 kB / 0.959 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.7856, allocations: 0 / 0.959 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.7857, allocations: 162.5 kB / 0.9592 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.7857, allocations: 0 / 0.9592 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.371e-05/0.7857, allocations: 16.7 kB / 0.9592 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.7858, allocations: 0 / 0.9592 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.7858, allocations: 5 kB / 0.9592 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.7858, allocations: 0 / 0.9592 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.7858, allocations: 1.156 kB / 0.9592 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.786, allocations: 176.4 kB / 0.9594 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.786, allocations: 82.08 kB / 0.9594 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.7861, allocations: 8.938 kB / 0.9594 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-05/0.7861, allocations: 9.547 kB / 0.9595 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.7862, allocations: 6.125 kB / 0.9595 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.7862, allocations: 0 / 0.9595 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.522e-05/0.7862, allocations: 78.62 kB / 0.9595 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7862, allocations: 0 / 0.9595 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002069/0.7864, allocations: 4.281 kB / 0.9595 GB, free: 4.043 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 (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.0001205/0.7866, allocations: 105.2 kB / 0.9596 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002131/0.7868, allocations: 42.91 kB / 0.9597 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.7868, allocations: 0 / 0.9597 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.825e-05/0.7869, allocations: 32.81 kB / 0.9597 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.7872, allocations: 5.875 kB / 0.9597 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002472/0.7874, allocations: 131 kB / 0.9598 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.7876, allocations: 0.6805 MB / 0.9605 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.318e-05/0.7876, allocations: 9.25 kB / 0.9605 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of SimCode: time 5.11e-07/0.7876, allocations: 0 / 0.9605 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of Templates: time 0.001997/0.7896, allocations: 0.5316 MB / 0.961 GB, free: 2.797 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches