Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001534/0.001534, allocations: 111.1 kB / 16.41 MB, free: 6.52 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.001809/0.001809, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.585/1.585, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.645/2.645, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 63.91 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.051, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.004668/1.056, allocations: 1.934 MB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002365/1.058, allocations: 1.123 MB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002026/1.059, allocations: 0 / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004439/1.059, allocations: 99.56 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003862/1.06, allocations: 95.58 kB / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005719/1.06, allocations: 164.7 kB / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004158/1.061, allocations: 211.4 kB / 1.171 GB, free: 180 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/1.061, allocations: 49.64 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/1.061, allocations: 103.6 kB / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/1.061, allocations: 99.59 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.221e-05/1.061, allocations: 16 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/1.062, allocations: 55.91 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/1.062, allocations: 55.81 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001427/1.062, allocations: 95.41 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005274/1.062, allocations: 275.4 kB / 1.172 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/1.062, allocations: 3.984 kB / 1.172 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.142e-06/1.062, allocations: 0 / 1.172 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.438e-05/1.062, allocations: 0 / 1.172 GB, free: 15.44 MB / 0.9044 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.001106/1.063, allocations: 0.545 MB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/1.064, allocations: 12.92 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.508e-05/1.064, allocations: 20.8 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00046/1.064, allocations: 303.2 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/1.064, allocations: 12 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/1.064, allocations: 4 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003829/1.065, allocations: 122.7 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/1.065, allocations: 0 / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/1.065, allocations: 11.88 kB / 1.173 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/1.065, allocations: 4 kB / 1.173 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000414/1.065, allocations: 83.92 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009536/1.066, allocations: 456.4 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003721/1.066, allocations: 126.6 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/1.067, allocations: 60.81 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/1.067, allocations: 0 / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003277/1.067, allocations: 123.5 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 2.605e-06/1.067, allocations: 0 / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.0007322/1.068, allocations: 259.8 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/1.068, allocations: 51.41 kB / 1.174 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004578/1.068, allocations: 334.5 kB / 1.174 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/1.068, allocations: 25.7 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/1.069, allocations: 140.5 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.07e-05/1.069, allocations: 43.69 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/1.069, allocations: 49.7 kB / 1.174 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002786/1.069, allocations: 346.8 kB / 1.175 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/1.069, allocations: 87.94 kB / 1.175 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/1.07, allocations: 129.1 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004488/1.07, allocations: 182.7 kB / 1.175 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/1.07, allocations: 3.938 kB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006425/1.071, allocations: 290.9 kB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/1.071, allocations: 4 kB / 1.175 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/1.071, allocations: 4 kB / 1.175 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/1.071, allocations: 0 / 1.175 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/1.071, allocations: 39.97 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.962e-05/1.071, allocations: 7.938 kB / 1.175 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/1.071, allocations: 28.03 kB / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/1.071, allocations: 15.98 kB / 1.175 GB, free: 11.33 MB / 0.9044 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.0001969/1.071, allocations: 157.5 kB / 1.175 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.338e-05/1.071, allocations: 27.8 kB / 1.176 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.976e-05/1.072, allocations: 30.16 kB / 1.176 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.072, allocations: 0 / 1.176 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/1.072, allocations: 0 / 1.176 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.935e-05/1.072, allocations: 100.9 kB / 1.176 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.895e-05/1.072, allocations: 15.98 kB / 1.176 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/1.072, allocations: 15.98 kB / 1.176 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.813e-05/1.072, allocations: 7.984 kB / 1.176 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005466/1.073, allocations: 272.8 kB / 1.176 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000551/1.073, allocations: 374.5 kB / 1.176 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001772/1.073, allocations: 62.34 kB / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002345/1.074, allocations: 213.9 kB / 1.177 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of Backend: time 3.7e-07/1.074, allocations: 0 / 1.177 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001855/1.075, allocations: 0.5274 MB / 1.177 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0009978/1.076, allocations: 0.8462 MB / 1.178 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of Templates: time 0.00751/1.084, allocations: 3.139 MB / 1.181 GB, free: 5.645 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches