Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008473/0.0008475, allocations: 98.56 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.001254/0.001254, allocations: 180.2 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.481/1.481, allocations: 223.3 MB / 241 MB, free: 5.25 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.526/2.526, allocations: 390.9 MB / 0.667 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003646, allocations: 12 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7355/0.7359, allocations: 142.4 MB / 0.9557 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.002219/0.7382, allocations: 1.813 MB / 0.9575 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001836/0.74, allocations: 1.199 MB / 0.9587 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.7402, allocations: 7 kB / 0.9587 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004988/0.7407, allocations: 148 kB / 0.9588 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002839/0.741, allocations: 142.9 kB / 0.959 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004857/0.7415, allocations: 212.1 kB / 0.9592 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000343/0.7418, allocations: 330.4 kB / 0.9595 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.742, allocations: 79.78 kB / 0.9595 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.7422, allocations: 127.3 kB / 0.9597 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.7424, allocations: 144 kB / 0.9598 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.7424, allocations: 5.5 kB / 0.9598 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.7426, allocations: 51.45 kB / 0.9599 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.704e-05/0.7427, allocations: 85.98 kB / 0.9599 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.7428, allocations: 146.9 kB / 0.9601 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.7431, allocations: 319.6 kB / 0.9604 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.7431, allocations: 0 / 0.9604 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7431, allocations: 1.375 kB / 0.9604 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.7431, allocations: 0 / 0.9604 GB, free: 4.168 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008903/0.744, allocations: 0.6176 MB / 0.961 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.744, allocations: 9.062 kB / 0.961 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.211e-05/0.7441, allocations: 42.56 kB / 0.961 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/0.7446, allocations: 393.9 kB / 0.9614 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.7446, allocations: 8.25 kB / 0.9614 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.253e-05/0.7447, allocations: 15.28 kB / 0.9614 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.7449, allocations: 123.3 kB / 0.9616 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.7449, allocations: 0.9688 kB / 0.9616 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.745, allocations: 1.125 kB / 0.9616 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.745, allocations: 5.906 kB / 0.9616 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.7451, allocations: 64.12 kB / 0.9616 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008134/0.746, allocations: 0.5461 MB / 0.9622 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003343/0.7463, allocations: 131.4 kB / 0.9623 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.7464, allocations: 46.61 kB / 0.9623 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.7465, allocations: 1.156 kB / 0.9623 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/0.7467, allocations: 111.9 kB / 0.9624 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.7467, allocations: 4 kB / 0.9624 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0004778/0.7472, allocations: 213.6 kB / 0.9626 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.7472, allocations: 53.5 kB / 0.9627 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/0.7478, allocations: 0.5278 MB / 0.9632 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.7478, allocations: 32.3 kB / 0.9632 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.7479, allocations: 179.5 kB / 0.9634 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.748, allocations: 38.66 kB / 0.9634 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.748, allocations: 32.64 kB / 0.9635 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.345e-05/0.7481, allocations: 353.6 kB / 0.9638 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.7483, allocations: 100.3 kB / 0.9639 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.7485, allocations: 131.9 kB / 0.964 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002826/0.7488, allocations: 160.9 kB / 0.9642 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7488, allocations: 4 kB / 0.9642 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00049/0.7493, allocations: 318 kB / 0.9645 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.7493, allocations: 9.094 kB / 0.9645 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.7493, allocations: 1 kB / 0.9645 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.7493, allocations: 1.969 kB / 0.9645 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.7495, allocations: 52.19 kB / 0.9646 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.7496, allocations: 0.9688 kB / 0.9646 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.7497, allocations: 29.73 kB / 0.9646 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.7498, allocations: 16.75 kB / 0.9646 GB, free: 0.9531 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 0.0001565/0.7499, allocations: 184 kB / 0.9648 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.75, allocations: 38.69 kB / 0.9648 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.343e-05/0.7501, allocations: 34.53 kB / 0.9648 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.7501, allocations: 8.922 kB / 0.9649 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7501, allocations: 1.094 kB / 0.9649 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.7501, allocations: 4 kB / 0.9649 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.7503, allocations: 311.8 kB / 0.9652 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.7503, allocations: 4 kB / 0.9652 GB, free: 452 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.332e-05/0.7504, allocations: 7.875 kB / 0.9652 GB, free: 452 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.7504, allocations: 3.938 kB / 0.9652 GB, free: 448 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.7504, allocations: 1.469 kB / 0.9652 GB, free: 448 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.7504, allocations: 0.875 kB / 0.9652 GB, free: 448 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.7504, allocations: 0 / 0.9652 GB, free: 448 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.7507, allocations: 199.6 kB / 0.9654 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.638e-05/0.7508, allocations: 115.7 kB / 0.9655 GB, free: 188 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.549e-05/0.7509, allocations: 10.69 kB / 0.9655 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.751, allocations: 19.19 kB / 0.9655 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.605e-05/0.7511, allocations: 17.7 kB / 0.9655 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.7511, allocations: 8.578 kB / 0.9655 GB, free: 156 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003234/0.7514, allocations: 325.8 kB / 0.9658 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7514, allocations: 5 kB / 0.9658 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003115/0.7517, allocations: 62.34 kB / 0.9659 GB, free: 15.95 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: 8 ($whenCondition2,$whenCondition1,les.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 5 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001071/0.7528, allocations: 422.9 kB / 0.9663 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004062/0.7532, allocations: 198.4 kB / 0.9665 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7532, allocations: 1.031 kB / 0.9665 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.7534, allocations: 50.95 kB / 0.9665 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.7539, allocations: 94.55 kB / 0.9666 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.7549, allocations: 0.6762 MB / 0.9673 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.7553, allocations: 0.794 MB / 0.9681 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.484e-05/0.7554, allocations: 31.03 kB / 0.9681 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of SimCode: time 3.3e-07/0.7554, allocations: 0 / 0.9681 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of Templates: time 0.008169/0.7636, allocations: 4.534 MB / 0.9725 GB, free: 12.04 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches