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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.0016/0.0016, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001732/0.001732, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.342/1.342, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.617/2.617, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 64.61 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7071/0.7091, allocations: 162.2 MB / 1.083 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002933/0.7121, allocations: 1.922 MB / 1.085 GB, free: 320 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001808/0.7139, allocations: 1.121 MB / 1.086 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.714, allocations: 2.562 kB / 1.086 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.7144, allocations: 98.03 kB / 1.086 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002621/0.7146, allocations: 93.89 kB / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.7151, allocations: 166 kB / 1.086 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.7154, allocations: 212.6 kB / 1.086 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.7155, allocations: 48.34 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.7157, allocations: 99.16 kB / 1.087 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.7158, allocations: 97.98 kB / 1.087 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/0.7159, allocations: 12.81 kB / 1.087 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.716, allocations: 55.11 kB / 1.087 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.473e-05/0.7161, allocations: 62.36 kB / 1.087 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.7162, allocations: 89.52 kB / 1.087 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.7166, allocations: 263.8 kB / 1.087 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.7166, allocations: 5.062 kB / 1.087 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.156e-06/0.7166, allocations: 0 / 1.087 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.7166, allocations: 3.938 kB / 1.087 GB, free: 14.95 MB / 0.8419 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.0009818/0.7176, allocations: 0.54 MB / 1.088 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.7177, allocations: 8.906 kB / 1.088 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.122e-05/0.7177, allocations: 25.22 kB / 1.088 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/0.7181, allocations: 286.1 kB / 1.088 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.7182, allocations: 9.453 kB / 1.088 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.7182, allocations: 15.16 kB / 1.088 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003151/0.7185, allocations: 114.5 kB / 1.088 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.7185, allocations: 1.859 kB / 1.088 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.7186, allocations: 9.062 kB / 1.088 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-06/0.7186, allocations: 2.906 kB / 1.088 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.7189, allocations: 84.69 kB / 1.088 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007344/0.7196, allocations: 452.2 kB / 1.089 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/0.72, allocations: 134 kB / 1.089 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.7201, allocations: 60.86 kB / 1.089 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.7202, allocations: 1.344 kB / 1.089 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002739/0.7204, allocations: 133.2 kB / 1.089 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.7205, allocations: 0 / 1.089 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.0006833/0.7211, allocations: 247 kB / 1.089 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.7212, allocations: 55.03 kB / 1.089 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003733/0.7216, allocations: 331.6 kB / 1.09 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/0.7216, allocations: 31.73 kB / 1.09 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.7217, allocations: 134.9 kB / 1.09 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.7218, allocations: 41.98 kB / 1.09 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.297e-05/0.7219, allocations: 62.91 kB / 1.09 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.7221, allocations: 337.6 kB / 1.09 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.7223, allocations: 91.47 kB / 1.09 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.7225, allocations: 131.5 kB / 1.09 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003985/0.7229, allocations: 190.2 kB / 1.091 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.723, allocations: 3.938 kB / 1.091 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005783/0.7235, allocations: 277 kB / 1.091 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.7236, allocations: 5.125 kB / 1.091 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.7236, allocations: 3.266 kB / 1.091 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.7236, allocations: 1.656 kB / 1.091 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.7238, allocations: 49.66 kB / 1.091 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.7238, allocations: 4.172 kB / 1.091 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.724, allocations: 30.47 kB / 1.091 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.724, allocations: 8.203 kB / 1.091 GB, free: 12.38 MB / 0.8419 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.0001677/0.7242, allocations: 159.2 kB / 1.091 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.7243, allocations: 29.97 kB / 1.091 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.691e-05/0.7243, allocations: 24.91 kB / 1.091 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.7243, allocations: 2.75 kB / 1.091 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.7243, allocations: 0.7031 kB / 1.091 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.7244, allocations: 4.75 kB / 1.091 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009095/0.7253, allocations: 0.5493 MB / 1.092 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.7253, allocations: 0 / 1.092 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.916e-05/0.7254, allocations: 17.98 kB / 1.092 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.7254, allocations: 1.344 kB / 1.092 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.7254, allocations: 6.562 kB / 1.092 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.7254, allocations: 5.094 kB / 1.092 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.7254, allocations: 1.766 kB / 1.092 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004899/0.7259, allocations: 293.9 kB / 1.092 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.678e-05/0.726, allocations: 99.38 kB / 1.092 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/0.7261, allocations: 10.94 kB / 1.092 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.7262, allocations: 17.73 kB / 1.092 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.7263, allocations: 15.86 kB / 1.092 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.7263, allocations: 9.422 kB / 1.092 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002214/0.7265, allocations: 206.6 kB / 1.092 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7265, allocations: 0 / 1.092 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003395/0.7269, allocations: 58.12 kB / 1.092 GB, free: 11.36 MB / 0.8419 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.001458/0.7284, allocations: 422.1 kB / 1.093 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005569/0.7289, allocations: 192 kB / 1.093 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.7289, allocations: 1.188 kB / 1.093 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.7291, allocations: 71.94 kB / 1.093 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.7296, allocations: 55.08 kB / 1.093 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007695/0.7303, allocations: 434.1 kB / 1.093 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.7308, allocations: 0.7534 MB / 1.094 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.122e-05/0.7308, allocations: 28.61 kB / 1.094 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.7308, allocations: 0 / 1.094 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of Templates: time 0.00601/0.7369, allocations: 3.252 MB / 1.097 GB, free: 9.707 MB / 0.8419 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=400 -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