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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001344/0.001344, allocations: 102.9 kB / 16.37 MB, free: 6.441 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.001332/0.001332, allocations: 195.3 kB / 17.31 MB, free: 5.812 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.232/2.232, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 67.39 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2749, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.00334/0.2783, allocations: 1.925 MB / 0.953 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001797/0.2801, allocations: 1.115 MB / 0.9541 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.2803, allocations: 4 kB / 0.9541 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003583/0.2806, allocations: 99.55 kB / 0.9542 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.281, allocations: 87.59 kB / 0.9543 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.2814, allocations: 175.2 kB / 0.9545 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002839/0.2817, allocations: 211.4 kB / 0.9547 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.2819, allocations: 45.66 kB / 0.9547 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.2821, allocations: 99.61 kB / 0.9548 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.2822, allocations: 103.5 kB / 0.9549 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.137e-05/0.2823, allocations: 16 kB / 0.9549 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.2824, allocations: 55.97 kB / 0.955 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.087e-05/0.2825, allocations: 51.83 kB / 0.955 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.695e-05/0.2826, allocations: 95.39 kB / 0.9551 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.2829, allocations: 275 kB / 0.9554 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2829, allocations: 0 / 0.9554 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.473e-06/0.283, allocations: 0 / 0.9554 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.283, allocations: 0 / 0.9554 GB, free: 3.707 MB / 0.7325 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.000881/0.2838, allocations: 0.5451 MB / 0.9559 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.2839, allocations: 12.03 kB / 0.9559 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.531e-05/0.284, allocations: 24.64 kB / 0.9559 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.2843, allocations: 291.3 kB / 0.9562 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.2844, allocations: 12 kB / 0.9562 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.2844, allocations: 15.98 kB / 0.9562 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.2847, allocations: 111.1 kB / 0.9563 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.2847, allocations: 0 / 0.9563 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.2848, allocations: 11.94 kB / 0.9564 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.2848, allocations: 4 kB / 0.9564 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002702/0.285, allocations: 87.86 kB / 0.9564 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000703/0.2858, allocations: 444.5 kB / 0.9569 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003358/0.2861, allocations: 130.5 kB / 0.957 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.2863, allocations: 60.86 kB / 0.9571 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.2863, allocations: 0 / 0.9571 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/0.2866, allocations: 131.2 kB / 0.9572 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.2866, allocations: 0 / 0.9572 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.0006448/0.2872, allocations: 253.3 kB / 0.9574 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.2873, allocations: 55.34 kB / 0.9575 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.2876, allocations: 326.6 kB / 0.9578 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.2877, allocations: 33.69 kB / 0.9578 GB, free: 1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.378e-05/0.2878, allocations: 144.2 kB / 0.958 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.2878, allocations: 43.53 kB / 0.958 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.551e-05/0.2879, allocations: 57.69 kB / 0.958 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.288, allocations: 334.8 kB / 0.9584 GB, free: 420 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.2882, allocations: 83.95 kB / 0.9584 GB, free: 336 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.2885, allocations: 129.6 kB / 0.9586 GB, free: 188 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004157/0.2889, allocations: 190.9 kB / 0.9588 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.2889, allocations: 3.938 kB / 0.9588 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005591/0.2895, allocations: 279 kB / 0.959 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.2895, allocations: 14.17 kB / 0.959 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.2895, allocations: 0 / 0.959 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.2895, allocations: 4.156 kB / 0.959 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.2898, allocations: 43.92 kB / 0.9591 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.2898, allocations: 7.984 kB / 0.9591 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.2899, allocations: 15.98 kB / 0.9591 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.29, allocations: 8 kB / 0.9591 GB, free: 15.61 MB / 0.7481 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.000138/0.2901, allocations: 157.5 kB / 0.9593 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.2902, allocations: 27.66 kB / 0.9593 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.541e-05/0.2902, allocations: 30.17 kB / 0.9593 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2902, allocations: 4 kB / 0.9593 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.2902, allocations: 4 kB / 0.9593 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2902, allocations: 0 / 0.9593 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000791/0.291, allocations: 0.5589 MB / 0.9599 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.2911, allocations: 0 / 0.9599 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.818e-05/0.2912, allocations: 15.98 kB / 0.9599 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.2912, allocations: 4 kB / 0.9599 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.2912, allocations: 4 kB / 0.9599 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2912, allocations: 0 / 0.9599 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2912, allocations: 0 / 0.9599 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004408/0.2916, allocations: 295.1 kB / 0.9602 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.953e-05/0.2917, allocations: 104.8 kB / 0.9603 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.2918, allocations: 11.94 kB / 0.9603 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.2919, allocations: 15.98 kB / 0.9603 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.354e-05/0.292, allocations: 19.97 kB / 0.9603 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.292, allocations: 12 kB / 0.9603 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000191/0.2922, allocations: 202 kB / 0.9605 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2922, allocations: 0 / 0.9605 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003381/0.2926, allocations: 55.92 kB / 0.9606 GB, free: 14.02 MB / 0.7481 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.0009679/0.2935, allocations: 409.8 kB / 0.961 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004642/0.294, allocations: 189.1 kB / 0.9611 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.294, allocations: 0 / 0.9611 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.2942, allocations: 71.89 kB / 0.9612 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.2946, allocations: 58.5 kB / 0.9613 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006835/0.2953, allocations: 408.1 kB / 0.9617 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.2956, allocations: 0.7441 MB / 0.9624 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001052/0.2957, allocations: 37.94 kB / 0.9624 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.781e-05/0.2958, allocations: 31.42 kB / 0.9625 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of SimCode: time 1.533e-06/0.2958, allocations: 0 / 0.9625 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of Templates: time 0.006506/0.3023, allocations: 3.017 MB / 0.9654 GB, free: 9.195 MB / 0.7481 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 -s gbode -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