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.001087/0.001087, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 195 kB / 16.53 MB, free: 6.391 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.435/1.435, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.761/2.761, allocations: 437 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 59.91 kB / 0.8692 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7714/0.7728, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003782/0.7766, allocations: 1.929 MB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001978/0.7786, allocations: 1.123 MB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/0.7788, allocations: 3.938 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003861/0.7792, allocations: 95.62 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003046/0.7796, allocations: 95.53 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004518/0.78, allocations: 155.5 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.7803, allocations: 219.4 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.7805, allocations: 49.66 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.7807, allocations: 99.55 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.7808, allocations: 99.59 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.7808, allocations: 16 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.781, allocations: 51.95 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.554e-05/0.7811, allocations: 59.77 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.493e-05/0.7812, allocations: 91.41 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.7815, allocations: 265.1 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.7815, allocations: 0 / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7815, allocations: 0 / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.7815, allocations: 4 kB / 1.022 GB, free: 14.13 MB / 0.7794 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.0008868/0.7824, allocations: 0.5374 MB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.7825, allocations: 8.031 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.571e-05/0.7825, allocations: 28.64 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003552/0.7829, allocations: 295.3 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.7829, allocations: 4 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.783, allocations: 15.98 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002888/0.7833, allocations: 118.7 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.7833, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.7833, allocations: 3.938 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.7833, allocations: 7.938 kB / 1.023 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002767/0.7836, allocations: 83.92 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007263/0.7843, allocations: 452.5 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000362/0.7847, allocations: 130.6 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.7849, allocations: 56.83 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.7849, allocations: 4 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002949/0.7852, allocations: 135 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.7852, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0006556/0.7859, allocations: 247.5 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.7859, allocations: 59.39 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.7863, allocations: 322.5 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.7863, allocations: 37.69 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.054e-05/0.7864, allocations: 132.4 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.7865, allocations: 43.53 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.585e-05/0.7866, allocations: 57.69 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.7867, allocations: 342.8 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.7869, allocations: 79.95 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.7872, allocations: 133.5 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.7875, allocations: 188.2 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.7876, allocations: 7.938 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005507/0.7881, allocations: 273.1 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.7881, allocations: 8 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.7882, allocations: 0 / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.7882, allocations: 7.984 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.7884, allocations: 47.91 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.7884, allocations: 3.938 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.7886, allocations: 27.98 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.7886, allocations: 12 kB / 1.025 GB, free: 10.03 MB / 0.7794 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.0001478/0.7888, allocations: 161.5 kB / 1.025 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.7888, allocations: 23.66 kB / 1.025 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.657e-05/0.7889, allocations: 26.17 kB / 1.025 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.7889, allocations: 4 kB / 1.025 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.7889, allocations: 0 / 1.025 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.7889, allocations: 3.984 kB / 1.025 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000797/0.7897, allocations: 0.5528 MB / 1.026 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.7897, allocations: 0 / 1.026 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.761e-05/0.7898, allocations: 15.98 kB / 1.026 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.7898, allocations: 0 / 1.026 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.7898, allocations: 4 kB / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.7898, allocations: 4 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.7898, allocations: 0 / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004446/0.7903, allocations: 296.3 kB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.595e-05/0.7904, allocations: 112.8 kB / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.7904, allocations: 0 / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.7906, allocations: 15.98 kB / 1.026 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.308e-05/0.7906, allocations: 19.97 kB / 1.026 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.7907, allocations: 8 kB / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00018/0.7908, allocations: 206 kB / 1.027 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.7909, allocations: 3.938 kB / 1.027 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003188/0.7912, allocations: 51.92 kB / 1.027 GB, free: 8.449 MB / 0.7794 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.0009715/0.7922, allocations: 420.8 kB / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004931/0.7927, allocations: 202.2 kB / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.7927, allocations: 3.938 kB / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.7929, allocations: 71.94 kB / 1.027 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.7933, allocations: 48.38 kB / 1.027 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007036/0.794, allocations: 412.5 kB / 1.028 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.7943, allocations: 0.748 MB / 1.029 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.873e-05/0.7944, allocations: 37.92 kB / 1.029 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.31e-05/0.7945, allocations: 31.42 kB / 1.029 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.7945, allocations: 0 / 1.029 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of Templates: time 0.007403/0.8019, allocations: 3.004 MB / 1.032 GB, free: 3.621 MB / 0.7794 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