Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001843/0.001843, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.36/1.36, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.285/2.285, allocations: 390.2 MB / 0.6642 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001426, allocations: 67.91 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6106/0.6121, allocations: 140.4 MB / 0.9489 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001893/0.614, allocations: 0.9374 MB / 0.9498 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007218/0.6147, allocations: 0.8714 MB / 0.9507 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.628e-05/0.6148, allocations: 1.375 kB / 0.9507 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.091e-05/0.6149, allocations: 3.938 kB / 0.9507 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.213e-05/0.615, allocations: 18.55 kB / 0.9507 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.6152, allocations: 28.09 kB / 0.9507 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.6153, allocations: 104.9 kB / 0.9508 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.6154, allocations: 49.59 kB / 0.9509 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.6155, allocations: 43.3 kB / 0.9509 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.83e-05/0.6156, allocations: 44.33 kB / 0.951 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.6157, allocations: 6.156 kB / 0.951 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.658e-05/0.6157, allocations: 4.375 kB / 0.951 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.6157, allocations: 15.95 kB / 0.951 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.303e-05/0.6158, allocations: 45.34 kB / 0.951 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.6159, allocations: 116.2 kB / 0.9511 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.6159, allocations: 0 / 0.9511 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6159, allocations: 7.938 kB / 0.9512 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.6159, allocations: 0 / 0.9512 GB, free: 7.496 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007763/0.6167, allocations: 463 kB / 0.9516 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/0.6168, allocations: 8.844 kB / 0.9516 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/0.6168, allocations: 14.12 kB / 0.9516 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.6169, allocations: 192.3 kB / 0.9518 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.617, allocations: 3.062 kB / 0.9518 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.617, allocations: 9.719 kB / 0.9518 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.6172, allocations: 95.77 kB / 0.9519 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.6172, allocations: 1.25 kB / 0.9519 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.6172, allocations: 3.938 kB / 0.9519 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.6172, allocations: 2.844 kB / 0.9519 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.6174, allocations: 66.31 kB / 0.952 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006473/0.6181, allocations: 404.6 kB / 0.9524 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.6182, allocations: 70.58 kB / 0.9524 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.708e-05/0.6183, allocations: 27.44 kB / 0.9525 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.6183, allocations: 5.656 kB / 0.9525 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.217e-05/0.6183, allocations: 35.88 kB / 0.9525 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.6183, allocations: 0 / 0.9525 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.000326/0.6187, allocations: 114.5 kB / 0.9526 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.968e-05/0.6187, allocations: 61 kB / 0.9527 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.6188, allocations: 150.8 kB / 0.9528 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.6188, allocations: 26.8 kB / 0.9528 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.6189, allocations: 109.9 kB / 0.9529 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.6189, allocations: 17.41 kB / 0.953 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.6189, allocations: 19.19 kB / 0.953 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.911e-05/0.619, allocations: 322.4 kB / 0.9533 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.5e-05/0.6191, allocations: 30.2 kB / 0.9533 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.313e-05/0.6192, allocations: 27.95 kB / 0.9533 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.6193, allocations: 48.95 kB / 0.9534 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6193, allocations: 1.125 kB / 0.9534 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001875/0.6195, allocations: 104 kB / 0.9535 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.6195, allocations: 7.125 kB / 0.9535 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.6195, allocations: 4.234 kB / 0.9535 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.6196, allocations: 0 / 0.9535 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.325e-05/0.6197, allocations: 15.05 kB / 0.9535 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.6197, allocations: 7.922 kB / 0.9535 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.6198, allocations: 21.88 kB / 0.9535 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.6199, allocations: 1.812 kB / 0.9535 GB, free: 5.305 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: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.39e-05/0.6199, allocations: 123.8 kB / 0.9537 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.62, allocations: 8.469 kB / 0.9537 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.226e-05/0.62, allocations: 15.08 kB / 0.9537 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.62, allocations: 0 / 0.9537 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.62, allocations: 4.719 kB / 0.9537 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.62, allocations: 0 / 0.9537 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.6202, allocations: 203.5 kB / 0.9539 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.6202, allocations: 1.062 kB / 0.9539 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.946e-05/0.6203, allocations: 13.33 kB / 0.9539 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.6203, allocations: 1.188 kB / 0.9539 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.6203, allocations: 0 / 0.9539 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6203, allocations: 5.031 kB / 0.9539 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6203, allocations: 3.938 kB / 0.9539 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.6205, allocations: 185.7 kB / 0.9541 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.393e-05/0.6205, allocations: 88.27 kB / 0.9542 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.6206, allocations: 9.438 kB / 0.9542 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.6208, allocations: 21.06 kB / 0.9542 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.469e-05/0.6208, allocations: 22.22 kB / 0.9542 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.6209, allocations: 1.344 kB / 0.9542 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.134e-05/0.6209, allocations: 117 kB / 0.9543 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6209, allocations: 0 / 0.9543 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002349/0.6212, allocations: 17.28 kB / 0.9543 GB, free: 4.523 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 8.26e-05/0.6213, allocations: 100.9 kB / 0.9544 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002095/0.6215, allocations: 69.34 kB / 0.9545 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.6215, allocations: 0 / 0.9545 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.809e-05/0.6216, allocations: 30.89 kB / 0.9545 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.6219, allocations: 19.09 kB / 0.9546 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.6223, allocations: 217.2 kB / 0.9548 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.854e-05/0.6224, allocations: 0.7007 MB / 0.9554 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.672e-05/0.6224, allocations: 16.25 kB / 0.9555 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.246e-05/0.6225, allocations: 14.62 kB / 0.9555 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of SimCode: time 3.6e-07/0.6225, allocations: 0 / 0.9555 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of Templates: time 0.002934/0.6254, allocations: 1.113 MB / 0.9566 GB, free: 2.902 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches