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.009642/0.009642, allocations: 94.8 kB / 15.73 MB, free: 6.047 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.001781/0.001781, allocations: 206.3 kB / 16.68 MB, free: 5.973 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.546/1.546, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.851/2.851, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 63.89 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4038, allocations: 151.6 MB / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003553/0.4074, allocations: 1.916 MB / 1.169 GB, free: 4.883 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002061/0.4095, allocations: 1.115 MB / 1.17 GB, free: 3.762 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.4097, allocations: 8 kB / 1.17 GB, free: 3.754 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004812/0.4102, allocations: 99.56 kB / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.4105, allocations: 95.58 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000459/0.411, allocations: 163.5 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003154/0.4113, allocations: 215.4 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.4115, allocations: 49.64 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.4117, allocations: 99.67 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.4119, allocations: 95.59 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.4119, allocations: 12 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.4121, allocations: 63.91 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.4122, allocations: 63.75 kB / 1.171 GB, free: 2.812 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.4123, allocations: 87.47 kB / 1.171 GB, free: 2.727 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004078/0.4127, allocations: 274.8 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.4127, allocations: 0 / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4128, allocations: 3.938 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.4128, allocations: 0 / 1.171 GB, free: 2.453 MB / 0.92 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.001022/0.4138, allocations: 0.545 MB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.4138, allocations: 8.031 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.016e-05/0.4139, allocations: 24.8 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.4143, allocations: 295.4 kB / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.4143, allocations: 15.94 kB / 1.172 GB, free: 1.488 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.4144, allocations: 12 kB / 1.172 GB, free: 1.477 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.4147, allocations: 120 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.4147, allocations: 0 / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.4147, allocations: 3.938 kB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.4147, allocations: 4 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000272/0.415, allocations: 87.91 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008198/0.4158, allocations: 464.3 kB / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003707/0.4162, allocations: 134.5 kB / 1.173 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.4164, allocations: 60.83 kB / 1.173 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/0.4164, allocations: 3.984 kB / 1.173 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002977/0.4167, allocations: 120.8 kB / 1.173 GB, free: 432 kB / 0.92 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.4167, allocations: 0 / 1.173 GB, free: 432 kB / 0.92 GB Notification: Performance of matching and sorting (n=16): time 0.0006971/0.4175, allocations: 255.4 kB / 1.173 GB, free: 172 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.4175, allocations: 55.41 kB / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004126/0.4179, allocations: 326.5 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.418, allocations: 33.7 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.4181, allocations: 144.4 kB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.59e-05/0.4182, allocations: 43.69 kB / 1.174 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.721e-05/0.4183, allocations: 53.7 kB / 1.174 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.4185, allocations: 342.8 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.4187, allocations: 79.94 kB / 1.174 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.419, allocations: 130.6 kB / 1.174 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003996/0.4194, allocations: 195.2 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4194, allocations: 0 / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005633/0.42, allocations: 277.3 kB / 1.175 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.42, allocations: 4 kB / 1.175 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.42, allocations: 4 kB / 1.175 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.42, allocations: 3.938 kB / 1.175 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.4202, allocations: 47.91 kB / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.4203, allocations: 4 kB / 1.175 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.4204, allocations: 23.88 kB / 1.175 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.4205, allocations: 16.14 kB / 1.175 GB, free: 14.33 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.0001639/0.4206, allocations: 157.5 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.091e-05/0.4207, allocations: 27.8 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.201e-05/0.4207, allocations: 30.17 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.4208, allocations: 0 / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.4208, allocations: 0 / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4208, allocations: 0 / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008338/0.4216, allocations: 0.5529 MB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4216, allocations: 0 / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.478e-05/0.4217, allocations: 15.92 kB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.4217, allocations: 0 / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.4218, allocations: 11.98 kB / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4218, allocations: 0 / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4218, allocations: 0 / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004702/0.4222, allocations: 308.4 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.711e-05/0.4223, allocations: 96.97 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/0.4224, allocations: 11.98 kB / 1.176 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.4225, allocations: 7.984 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-05/0.4226, allocations: 15.98 kB / 1.176 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.4226, allocations: 11.98 kB / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000209/0.4228, allocations: 213.9 kB / 1.176 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4229, allocations: 0 / 1.176 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003261/0.4232, allocations: 47.94 kB / 1.176 GB, free: 12.75 MB / 0.9356 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.001169/0.4244, allocations: 433.7 kB / 1.177 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005382/0.4249, allocations: 184 kB / 1.177 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4249, allocations: 0 / 1.177 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.4251, allocations: 75.89 kB / 1.177 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.4256, allocations: 50.33 kB / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007306/0.4263, allocations: 399.8 kB / 1.177 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.4267, allocations: 0.7558 MB / 1.178 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.527e-05/0.4268, allocations: 29.94 kB / 1.178 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.707e-05/0.4268, allocations: 23.44 kB / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of SimCode: time 5.01e-07/0.4269, allocations: 0 / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of Templates: time 0.007855/0.4347, allocations: 3.04 MB / 1.181 GB, free: 7.902 MB / 0.9356 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/jenkins/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