Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.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.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00991/0.00991, allocations: 102.1 kB / 15.73 MB, free: 6.062 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.001279/0.001279, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.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.443/2.443, allocations: 390.2 MB / 0.6648 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 67.91 kB / 0.9509 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031/1.033, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003655/1.036, allocations: 1.922 MB / 1.09 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001958/1.038, allocations: 1.115 MB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/1.038, allocations: 6.219 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004425/1.039, allocations: 94.88 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003029/1.039, allocations: 97.7 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004175/1.04, allocations: 163.7 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003244/1.04, allocations: 221.3 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/1.04, allocations: 44.42 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/1.04, allocations: 104.1 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/1.041, allocations: 102.8 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.346e-05/1.041, allocations: 17.28 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/1.041, allocations: 58.02 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001383/1.041, allocations: 58.7 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001253/1.041, allocations: 89.28 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005359/1.042, allocations: 277.2 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.042, allocations: 0 / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.843e-06/1.042, allocations: 0 / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.485e-05/1.042, allocations: 1.797 kB / 1.092 GB, free: 2.82 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001023/1.043, allocations: 0.5422 MB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/1.043, allocations: 13.66 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.449e-05/1.043, allocations: 24.47 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/1.043, allocations: 294.3 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/1.043, allocations: 14.05 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/1.043, allocations: 11.59 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/1.044, allocations: 118.6 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/1.044, allocations: 0.9688 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/1.044, allocations: 6.047 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/1.044, allocations: 6.625 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/1.044, allocations: 91.11 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008282/1.045, allocations: 444 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004226/1.045, allocations: 137.2 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/1.046, allocations: 58.33 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/1.046, allocations: 6.141 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003309/1.046, allocations: 122.9 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/1.046, allocations: 0.875 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0007374/1.047, allocations: 254.4 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/1.047, allocations: 55.03 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004255/1.047, allocations: 327.4 kB / 1.095 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/1.047, allocations: 33.09 kB / 1.095 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.404e-05/1.047, allocations: 133.8 kB / 1.095 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/1.047, allocations: 45.61 kB / 1.095 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.786e-05/1.047, allocations: 63.23 kB / 1.095 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.785e-05/1.048, allocations: 341.1 kB / 1.095 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/1.048, allocations: 79.53 kB / 1.095 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/1.048, allocations: 134.6 kB / 1.095 GB, free: 484 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/1.048, allocations: 195.8 kB / 1.096 GB, free: 368 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/1.048, allocations: 1.828 kB / 1.096 GB, free: 368 kB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005859/1.049, allocations: 279 kB / 1.096 GB, free: 252 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/1.049, allocations: 6.047 kB / 1.096 GB, free: 252 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/1.049, allocations: 1.375 kB / 1.096 GB, free: 252 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/1.049, allocations: 2.5 kB / 1.096 GB, free: 252 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/1.049, allocations: 50.42 kB / 1.096 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/1.049, allocations: 3.016 kB / 1.096 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/1.05, allocations: 26.81 kB / 1.096 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/1.05, allocations: 9.406 kB / 1.096 GB, free: 228 kB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.000145/1.05, allocations: 154.2 kB / 1.096 GB, free: 92 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.286e-05/1.05, allocations: 27.09 kB / 1.096 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.102e-05/1.05, allocations: 29.09 kB / 1.096 GB, free: 60 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/1.05, allocations: 10.22 kB / 1.096 GB, free: 52 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.05, allocations: 0 / 1.096 GB, free: 52 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/1.05, allocations: 1.109 kB / 1.096 GB, free: 52 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/1.051, allocations: 0.5465 MB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/1.051, allocations: 0 / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.765e-05/1.051, allocations: 14.95 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/1.051, allocations: 0.625 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/1.051, allocations: 7.094 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/1.051, allocations: 1.406 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.051, allocations: 0.875 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005432/1.052, allocations: 301.4 kB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.207e-05/1.052, allocations: 102.1 kB / 1.097 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/1.052, allocations: 7.688 kB / 1.097 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/1.052, allocations: 20.44 kB / 1.097 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.136e-05/1.052, allocations: 16.25 kB / 1.097 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/1.052, allocations: 9.922 kB / 1.097 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002427/1.052, allocations: 210.6 kB / 1.097 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.052, allocations: 0 / 1.097 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003489/1.053, allocations: 53.53 kB / 1.097 GB, free: 15.21 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001091/1.054, allocations: 416.5 kB / 1.098 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005914/1.054, allocations: 189.2 kB / 1.098 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.054, allocations: 0 / 1.098 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002262/1.055, allocations: 73.42 kB / 1.098 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005308/1.055, allocations: 51.2 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008515/1.056, allocations: 396.5 kB / 1.098 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/1.057, allocations: 0.7493 MB / 1.099 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001424/1.057, allocations: 41.11 kB / 1.099 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.345e-05/1.057, allocations: 28.64 kB / 1.099 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/1.057, allocations: 0 / 1.099 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of Templates: time 0.01133/1.068, allocations: 3.054 MB / 1.102 GB, free: 13.68 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches