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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001114/0.001114, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001442/0.001442, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.854/2.854, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003983/0.0003984, allocations: 10.53 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3959, allocations: 159.6 MB / 1.058 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.00249/0.3985, allocations: 1.597 MB / 1.06 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001942/0.4004, allocations: 1.034 MB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.4006, allocations: 3.938 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004088/0.401, allocations: 83.75 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002576/0.4013, allocations: 87.66 kB / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003694/0.4017, allocations: 118.8 kB / 1.061 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.402, allocations: 183.4 kB / 1.061 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.4021, allocations: 41.83 kB / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.4023, allocations: 79.62 kB / 1.061 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.4024, allocations: 79.66 kB / 1.061 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.4025, allocations: 12 kB / 1.061 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.4026, allocations: 47.91 kB / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.633e-05/0.4027, allocations: 51.81 kB / 1.061 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.895e-05/0.4028, allocations: 57.58 kB / 1.061 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.403, allocations: 199.8 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.4031, allocations: 0 / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.552e-06/0.4031, allocations: 0 / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.4031, allocations: 0 / 1.062 GB, free: 1.66 MB / 0.8106 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.0009338/0.404, allocations: 0.5025 MB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.4041, allocations: 12.03 kB / 1.062 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.548e-05/0.4041, allocations: 19.72 kB / 1.062 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/0.4045, allocations: 286.5 kB / 1.062 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.4045, allocations: 12.14 kB / 1.062 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.4046, allocations: 12 kB / 1.062 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.4049, allocations: 128.2 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.4049, allocations: 0 / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.4049, allocations: 0 / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.4049, allocations: 11.98 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/0.4052, allocations: 96.06 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006802/0.4059, allocations: 456.4 kB / 1.063 GB, free: 8 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.4062, allocations: 138.7 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.4064, allocations: 60.81 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.4064, allocations: 0 / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002715/0.4067, allocations: 129.4 kB / 1.063 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.943e-06/0.4067, allocations: 0 / 1.063 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.000652/0.4074, allocations: 269.1 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.4075, allocations: 55.41 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003643/0.4078, allocations: 326.5 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.4079, allocations: 37.62 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.408, allocations: 132.5 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.453e-05/0.408, allocations: 47.36 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.332e-05/0.4081, allocations: 4 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.4082, allocations: 338.8 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.4084, allocations: 83.95 kB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.4086, allocations: 145 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.4089, allocations: 94.16 kB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4089, allocations: 0 / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005177/0.4094, allocations: 285.3 kB / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.4094, allocations: 12.16 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4094, allocations: 0 / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.4094, allocations: 4 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.4097, allocations: 43.91 kB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.4097, allocations: 7.953 kB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.4098, allocations: 27.83 kB / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.4099, allocations: 12 kB / 1.065 GB, free: 13.71 MB / 0.8262 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 ($PRE.decreaseSampler.y,decreaseSampler.y,$PRE.increaseSampler.y,increaseSampler.y,$PRE.changeSampler.y,changeSampler.y,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition1,$PRE.cha.u,cha.u,cha.y,cha.up,cha.down,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001405/0.41, allocations: 161.8 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.41, allocations: 27.7 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.392e-05/0.4101, allocations: 22.19 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4101, allocations: 0 / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4101, allocations: 0 / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.4101, allocations: 7.938 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007688/0.4109, allocations: 0.5632 MB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4109, allocations: 0 / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.581e-05/0.411, allocations: 19.98 kB / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.411, allocations: 0 / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.4111, allocations: 7.953 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.4111, allocations: 7.984 kB / 1.066 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4111, allocations: 0 / 1.066 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004428/0.4115, allocations: 299.1 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.721e-05/0.4116, allocations: 108.8 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.4116, allocations: 8 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.4118, allocations: 19.92 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.59e-05/0.4119, allocations: 19.98 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.4119, allocations: 8 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000196/0.4121, allocations: 205.9 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4121, allocations: 4 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003311/0.4124, allocations: 51.98 kB / 1.067 GB, free: 12.09 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001028/0.4135, allocations: 415.3 kB / 1.067 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004464/0.4139, allocations: 193.7 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.4139, allocations: 4 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.4141, allocations: 79.88 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.4145, allocations: 48.2 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000699/0.4152, allocations: 433.2 kB / 1.068 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.4156, allocations: 0.756 MB / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001094/0.4157, allocations: 33.95 kB / 1.069 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.625e-05/0.4158, allocations: 23.42 kB / 1.069 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of SimCode: time 1.704e-06/0.4158, allocations: 0 / 1.069 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of Templates: time 0.006153/0.4219, allocations: 2.742 MB / 1.071 GB, free: 7.5 MB / 0.8262 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/jenkins/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