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.01475/0.01475, allocations: 109 kB / 15.71 MB, free: 6.035 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.002749/0.002749, allocations: 198 kB / 16.65 MB, free: 5.969 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.471/1.471, allocations: 222.9 MB / 240.3 MB, free: 15.16 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.344/2.344, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001382, allocations: 63.91 kB / 0.9509 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.21/1.211, allocations: 140.4 MB / 1.088 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs): time 0.002162/1.213, allocations: 0.6652 MB / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001147/1.214, allocations: 0.8475 MB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.621e-05/1.214, allocations: 0 / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.829e-05/1.214, allocations: 4.594 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.327e-05/1.215, allocations: 1.094 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000177/1.215, allocations: 17.41 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.395e-05/1.215, allocations: 20.95 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/1.215, allocations: 7.594 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.071e-05/1.215, allocations: 9.312 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.863e-05/1.215, allocations: 14.19 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/1.215, allocations: 1.625 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.838e-06/1.215, allocations: 5.781 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.88e-05/1.215, allocations: 5.5 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.803e-05/1.215, allocations: 11.75 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.406e-05/1.215, allocations: 24.69 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.215, allocations: 0.9062 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.953e-06/1.215, allocations: 0 / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.01e-06/1.215, allocations: 0 / 1.09 GB, free: 4.336 MB / 0.8575 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.000466/1.216, allocations: 332.4 kB / 1.09 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/1.216, allocations: 9.609 kB / 1.09 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/1.216, allocations: 6.125 kB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/1.216, allocations: 171.6 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/1.216, allocations: 384 / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/1.216, allocations: 9.5 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/1.216, allocations: 45.72 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/1.216, allocations: 192 / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/1.216, allocations: 9.062 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/1.216, allocations: 0 / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/1.216, allocations: 37.73 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/1.217, allocations: 246.3 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/1.217, allocations: 40.34 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.285e-05/1.217, allocations: 20 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/1.217, allocations: 0 / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/1.217, allocations: 32.3 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.953e-06/1.217, allocations: 4 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003791/1.217, allocations: 87.98 kB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/1.217, allocations: 52.2 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.313e-05/1.218, allocations: 101.5 kB / 1.091 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/1.218, allocations: 25.7 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.473e-05/1.218, allocations: 85.8 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/1.218, allocations: 6.047 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/1.218, allocations: 16.95 kB / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.706e-05/1.218, allocations: 316.8 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.945e-05/1.218, allocations: 17.73 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.912e-05/1.218, allocations: 13.97 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/1.218, allocations: 46.19 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.218, allocations: 0 / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001956/1.218, allocations: 70.19 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/1.218, allocations: 6.328 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.218, allocations: 0 / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/1.218, allocations: 1.031 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.561e-05/1.218, allocations: 12.77 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/1.218, allocations: 1.469 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.89e-05/1.219, allocations: 9.266 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/1.219, allocations: 5.188 kB / 1.091 GB, free: 2.625 MB / 0.8575 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 6.109e-05/1.219, allocations: 112.8 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/1.219, allocations: 1.094 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/1.219, allocations: 3.875 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/1.219, allocations: 2.156 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.219, allocations: 0 / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/1.219, allocations: 0 / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/1.219, allocations: 176.6 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/1.219, allocations: 0.5625 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.42e-05/1.219, allocations: 12.81 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/1.219, allocations: 0 / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/1.219, allocations: 1.281 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/1.219, allocations: 0.75 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/1.219, allocations: 0 / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/1.219, allocations: 162.8 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.955e-05/1.219, allocations: 82.59 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/1.219, allocations: 1.859 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.823e-05/1.219, allocations: 10.12 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/1.219, allocations: 1.922 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/1.219, allocations: 1.094 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.118e-05/1.219, allocations: 79.88 kB / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.219, allocations: 0 / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002111/1.22, allocations: 7.25 kB / 1.092 GB, free: 1.969 MB / 0.8575 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.000173/1.22, allocations: 104.2 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002486/1.22, allocations: 43.03 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.22, allocations: 0 / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.788e-05/1.22, allocations: 16.55 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/1.221, allocations: 16.5 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003668/1.221, allocations: 108.8 kB / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/1.221, allocations: 0.6756 MB / 1.093 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.123e-05/1.221, allocations: 2.047 kB / 1.093 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/1.221, allocations: 12.84 kB / 1.093 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/1.221, allocations: 0 / 1.093 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of Templates: time 0.003381/1.225, allocations: 434 kB / 1.093 GB, free: 0.9727 MB / 0.8575 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/jenkins/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