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.001499/0.001499, allocations: 104.1 kB / 16.35 MB, free: 5.824 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.001814/0.001814, allocations: 190.2 kB / 17.29 MB, free: 5.48 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.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.14 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.276/2.276, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.001331, allocations: 65.2 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3122, allocations: 140.4 MB / 0.9511 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003656/0.3159, allocations: 1.923 MB / 0.953 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001956/0.3179, allocations: 1.115 MB / 0.9541 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.318, allocations: 3.938 kB / 0.9541 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004128/0.3184, allocations: 91.62 kB / 0.9542 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.3188, allocations: 99.52 kB / 0.9543 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003994/0.3192, allocations: 155.6 kB / 0.9544 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002842/0.3195, allocations: 215.4 kB / 0.9546 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.3197, allocations: 57.58 kB / 0.9547 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.3198, allocations: 99.55 kB / 0.9548 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.32, allocations: 99.59 kB / 0.9549 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/0.32, allocations: 12 kB / 0.9549 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.3202, allocations: 55.97 kB / 0.955 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.703e-05/0.3203, allocations: 63.75 kB / 0.955 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.3204, allocations: 87.42 kB / 0.9551 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003402/0.3207, allocations: 275.1 kB / 0.9554 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3207, allocations: 0 / 0.9554 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3207, allocations: 0 / 0.9554 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.3208, allocations: 0 / 0.9554 GB, free: 3.652 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.0009303/0.3217, allocations: 0.5412 MB / 0.9559 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3217, allocations: 12.03 kB / 0.9559 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.3218, allocations: 24.66 kB / 0.9559 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.3222, allocations: 299.3 kB / 0.9562 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.3222, allocations: 8 kB / 0.9562 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.3223, allocations: 15.98 kB / 0.9562 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/0.3226, allocations: 119 kB / 0.9563 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.3226, allocations: 0 / 0.9563 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.3226, allocations: 3.938 kB / 0.9563 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.3226, allocations: 4 kB / 0.9564 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002704/0.3229, allocations: 87.92 kB / 0.9564 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007291/0.3236, allocations: 444.4 kB / 0.9569 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000336/0.324, allocations: 126.6 kB / 0.957 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.3241, allocations: 60.83 kB / 0.957 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.3242, allocations: 4 kB / 0.957 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003783/0.3246, allocations: 133.7 kB / 0.9572 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 1.934e-06/0.3246, allocations: 0 / 0.9572 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.0006656/0.3252, allocations: 253.4 kB / 0.9574 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.3253, allocations: 59.39 kB / 0.9575 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/0.3257, allocations: 318.6 kB / 0.9578 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.3257, allocations: 37.69 kB / 0.9578 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.82e-05/0.3258, allocations: 132.3 kB / 0.9579 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.488e-05/0.3259, allocations: 39.55 kB / 0.958 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.974e-05/0.326, allocations: 61.69 kB / 0.958 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3261, allocations: 338.8 kB / 0.9584 GB, free: 372 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.3263, allocations: 87.83 kB / 0.9584 GB, free: 284 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.3266, allocations: 125.6 kB / 0.9586 GB, free: 140 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/0.327, allocations: 191 kB / 0.9587 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.327, allocations: 3.938 kB / 0.9587 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005372/0.3275, allocations: 287 kB / 0.959 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3276, allocations: 8 kB / 0.959 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3276, allocations: 0 / 0.959 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.3276, allocations: 4 kB / 0.959 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.3278, allocations: 43.91 kB / 0.9591 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.3278, allocations: 4 kB / 0.9591 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.328, allocations: 20.14 kB / 0.9591 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.328, allocations: 12 kB / 0.9591 GB, free: 15.55 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.0001767/0.3282, allocations: 159.5 kB / 0.9593 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.3283, allocations: 27.64 kB / 0.9593 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.329e-05/0.3284, allocations: 30.17 kB / 0.9593 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.3284, allocations: 4 kB / 0.9593 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.3284, allocations: 0 / 0.9593 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.3284, allocations: 3.984 kB / 0.9593 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008873/0.3293, allocations: 0.5565 MB / 0.9599 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3293, allocations: 0 / 0.9599 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.567e-05/0.3294, allocations: 19.92 kB / 0.9599 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.3294, allocations: 0 / 0.9599 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.3294, allocations: 0 / 0.9599 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3294, allocations: 0 / 0.9599 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3294, allocations: 4 kB / 0.9599 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004611/0.3299, allocations: 294.1 kB / 0.9602 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.4e-05/0.33, allocations: 104.8 kB / 0.9603 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/0.33, allocations: 8 kB / 0.9603 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.3302, allocations: 11.98 kB / 0.9603 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.056e-05/0.3303, allocations: 19.97 kB / 0.9603 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.3303, allocations: 12 kB / 0.9603 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002099/0.3305, allocations: 206 kB / 0.9605 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3305, allocations: 3.938 kB / 0.9605 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003274/0.3308, allocations: 59.92 kB / 0.9606 GB, free: 13.96 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.001077/0.3319, allocations: 412 kB / 0.961 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004761/0.3324, allocations: 187.8 kB / 0.9611 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3324, allocations: 0 / 0.9611 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.3326, allocations: 75.89 kB / 0.9612 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.3331, allocations: 47.73 kB / 0.9613 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007745/0.3338, allocations: 400.1 kB / 0.9616 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.3342, allocations: 0.756 MB / 0.9624 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.3343, allocations: 29.95 kB / 0.9624 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.731e-05/0.3344, allocations: 31.42 kB / 0.9624 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of SimCode: time 4.21e-07/0.3344, allocations: 4 kB / 0.9624 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of Templates: time 0.00708/0.3415, allocations: 3.017 MB / 0.9654 GB, free: 9.148 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 cvode -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