Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001675/0.001675, allocations: 107.4 kB / 16.41 MB, free: 6.453 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.001916/0.001916, allocations: 192.4 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.24/2.24, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.343/4.343, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00255/0.00255, allocations: 59.91 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.269/1.271, allocations: 157.4 MB / 1.208 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.00642/1.278, allocations: 1.925 MB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003758/1.282, allocations: 1.122 MB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/1.282, allocations: 0 / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000623/1.283, allocations: 99.56 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00051/1.283, allocations: 95.58 kB / 1.212 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008731/1.284, allocations: 162.3 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005368/1.285, allocations: 219.4 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002579/1.285, allocations: 41.67 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003643/1.285, allocations: 107.6 kB / 1.212 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/1.286, allocations: 99.53 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.83e-05/1.286, allocations: 12 kB / 1.212 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000223/1.286, allocations: 55.98 kB / 1.212 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001633/1.286, allocations: 59.81 kB / 1.212 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001707/1.286, allocations: 95.34 kB / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006188/1.287, allocations: 267 kB / 1.213 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/1.287, allocations: 0 / 1.213 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.206e-06/1.287, allocations: 4 kB / 1.213 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.033e-05/1.287, allocations: 0 / 1.213 GB, free: 9.344 MB / 0.9356 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.001557/1.289, allocations: 0.5392 MB / 1.213 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/1.289, allocations: 8.031 kB / 1.213 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/1.289, allocations: 28.59 kB / 1.213 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005555/1.289, allocations: 291.2 kB / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/1.289, allocations: 8 kB / 1.214 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/1.289, allocations: 19.98 kB / 1.214 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004574/1.29, allocations: 113.6 kB / 1.214 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/1.29, allocations: 15.91 kB / 1.214 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/1.29, allocations: 3.938 kB / 1.214 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/1.29, allocations: 3.938 kB / 1.214 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004636/1.291, allocations: 87.92 kB / 1.214 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/1.292, allocations: 444.4 kB / 1.214 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005525/1.292, allocations: 126.7 kB / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/1.293, allocations: 60.81 kB / 1.214 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/1.293, allocations: 4 kB / 1.214 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004378/1.293, allocations: 134 kB / 1.214 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.735e-06/1.293, allocations: 0 / 1.214 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.001128/1.294, allocations: 241.2 kB / 1.215 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/1.294, allocations: 59.41 kB / 1.215 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000628/1.295, allocations: 330.4 kB / 1.215 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/1.295, allocations: 37.64 kB / 1.215 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/1.295, allocations: 132.5 kB / 1.215 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.542e-05/1.295, allocations: 39.45 kB / 1.215 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/1.295, allocations: 61.69 kB / 1.215 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001979/1.296, allocations: 338.8 kB / 1.216 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/1.296, allocations: 83.95 kB / 1.216 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003975/1.296, allocations: 138.3 kB / 1.216 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006142/1.297, allocations: 186.9 kB / 1.216 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/1.297, allocations: 3.938 kB / 1.216 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008982/1.298, allocations: 277.2 kB / 1.216 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/1.298, allocations: 6.031 kB / 1.216 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/1.298, allocations: 7.984 kB / 1.216 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/1.298, allocations: 0 / 1.216 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/1.298, allocations: 43.92 kB / 1.216 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/1.298, allocations: 3.984 kB / 1.216 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/1.299, allocations: 27.83 kB / 1.216 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/1.299, allocations: 8 kB / 1.216 GB, free: 5.246 MB / 0.9356 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.000253/1.299, allocations: 157.8 kB / 1.217 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-05/1.299, allocations: 27.66 kB / 1.217 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.251e-05/1.299, allocations: 30.17 kB / 1.217 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/1.299, allocations: 0 / 1.217 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/1.299, allocations: 0 / 1.217 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/1.299, allocations: 96.91 kB / 1.217 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.121e-05/1.299, allocations: 4 kB / 1.217 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/1.3, allocations: 11.98 kB / 1.217 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/1.3, allocations: 27.91 kB / 1.217 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009134/1.301, allocations: 268.7 kB / 1.217 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009247/1.302, allocations: 367.5 kB / 1.217 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003488/1.302, allocations: 75.03 kB / 1.217 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003889/1.302, allocations: 209.9 kB / 1.218 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of Backend: time 9.22e-07/1.302, allocations: 7.875 kB / 1.218 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002846/1.305, allocations: 0.5163 MB / 1.218 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of SimCode: time 0.001538/1.307, allocations: 0.8486 MB / 1.219 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of Templates: time 0.01291/1.32, allocations: 3.222 MB / 1.222 GB, free: 15.48 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches