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.00111/0.00111, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.001261/0.001261, allocations: 187 kB / 17.34 MB, free: 5.762 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.16 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.205/2.205, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 67.89 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9117/0.9133, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003287/0.9167, allocations: 1.915 MB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00179/0.9185, allocations: 1.116 MB / 1.092 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.9186, allocations: 2.469 kB / 1.092 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003822/0.919, allocations: 99.17 kB / 1.092 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002619/0.9193, allocations: 93.66 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.9197, allocations: 158.1 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.92, allocations: 217.3 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.9202, allocations: 53.2 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.9204, allocations: 98.94 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.9205, allocations: 99.78 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.9206, allocations: 11.97 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.9207, allocations: 62.83 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.485e-05/0.9208, allocations: 66.3 kB / 1.093 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.441e-05/0.9209, allocations: 89.89 kB / 1.093 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.9213, allocations: 268.4 kB / 1.093 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.9213, allocations: 4.875 kB / 1.093 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9213, allocations: 0 / 1.093 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.9213, allocations: 3.938 kB / 1.093 GB, free: 2.789 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.0008114/0.9221, allocations: 0.5358 MB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.9222, allocations: 9.562 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.193e-05/0.9222, allocations: 28.53 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.9226, allocations: 290.8 kB / 1.094 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.9226, allocations: 9.5 kB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.9226, allocations: 12.02 kB / 1.094 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.9229, allocations: 116.4 kB / 1.094 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.923, allocations: 0 / 1.094 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.923, allocations: 9.547 kB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.923, allocations: 2.5 kB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000288/0.9233, allocations: 92.77 kB / 1.094 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006664/0.924, allocations: 456.1 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.9243, allocations: 137.4 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.9245, allocations: 57.91 kB / 1.095 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.9245, allocations: 2.172 kB / 1.095 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002733/0.9248, allocations: 123.2 kB / 1.095 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.9248, allocations: 0.7188 kB / 1.095 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0006907/0.9255, allocations: 254.6 kB / 1.095 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.9256, allocations: 54.97 kB / 1.095 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/0.9259, allocations: 331.2 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.9259, allocations: 32.7 kB / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.414e-05/0.926, allocations: 129.9 kB / 1.095 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.9261, allocations: 42.11 kB / 1.095 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.22e-05/0.9262, allocations: 71.3 kB / 1.096 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.397e-05/0.9262, allocations: 332.7 kB / 1.096 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.9265, allocations: 84.23 kB / 1.096 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.9267, allocations: 129.1 kB / 1.096 GB, free: 468 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/0.9271, allocations: 192.4 kB / 1.096 GB, free: 360 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.9271, allocations: 4.75 kB / 1.096 GB, free: 356 kB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005743/0.9277, allocations: 276 kB / 1.097 GB, free: 240 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.9277, allocations: 6.109 kB / 1.097 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.9277, allocations: 1.594 kB / 1.097 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.9278, allocations: 3.344 kB / 1.097 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.928, allocations: 45.91 kB / 1.097 GB, free: 232 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.928, allocations: 7.328 kB / 1.097 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.9282, allocations: 30.22 kB / 1.097 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.9282, allocations: 8.484 kB / 1.097 GB, free: 212 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.000123/0.9283, allocations: 155 kB / 1.097 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/0.9284, allocations: 26.2 kB / 1.097 GB, free: 60 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.383e-05/0.9284, allocations: 26.42 kB / 1.097 GB, free: 48 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.9285, allocations: 1.656 kB / 1.097 GB, free: 48 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.9285, allocations: 0 / 1.097 GB, free: 48 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.9285, allocations: 5.594 kB / 1.097 GB, free: 44 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009685/0.9294, allocations: 0.5494 MB / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.9295, allocations: 0.9062 kB / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.9296, allocations: 18.19 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.9296, allocations: 0.7188 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.9296, allocations: 4.203 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.9296, allocations: 0 / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.9296, allocations: 5.625 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005027/0.9301, allocations: 290.3 kB / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.9303, allocations: 103.3 kB / 1.098 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.9303, allocations: 10.86 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.9305, allocations: 11.98 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.29e-05/0.9306, allocations: 21.33 kB / 1.098 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.9306, allocations: 9.484 kB / 1.098 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002399/0.9309, allocations: 210.1 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9309, allocations: 0 / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003771/0.9312, allocations: 57.98 kB / 1.098 GB, free: 15.2 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.001013/0.9323, allocations: 421.3 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005081/0.9328, allocations: 187.9 kB / 1.099 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9328, allocations: 0 / 1.099 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.933, allocations: 72.88 kB / 1.099 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.9335, allocations: 53.75 kB / 1.099 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000826/0.9343, allocations: 433.3 kB / 1.099 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.9347, allocations: 0.7452 MB / 1.1 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.873e-05/0.9348, allocations: 28.14 kB / 1.1 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.9348, allocations: 0 / 1.1 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of Templates: time 0.008034/0.9428, allocations: 3.276 MB / 1.103 GB, free: 13.55 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/jenkins1/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