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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001187/0.001188, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.01082/0.01082, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.551/1.551, allocations: 223.2 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.57/2.57, allocations: 390.9 MB / 0.6663 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003578, allocations: 15.94 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8968/0.8972, allocations: 142.4 MB / 0.9551 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002521/0.8998, allocations: 1.62 MB / 0.9566 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001985/0.9018, allocations: 1.08 MB / 0.9577 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002219/0.902, allocations: 5.781 kB / 0.9577 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003975/0.9024, allocations: 89.72 kB / 0.9578 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.9028, allocations: 81.78 kB / 0.9579 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004867/0.9033, allocations: 137.6 kB / 0.958 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003207/0.9036, allocations: 201.2 kB / 0.9582 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.9038, allocations: 50.2 kB / 0.9582 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.904, allocations: 82.31 kB / 0.9583 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.9041, allocations: 92.28 kB / 0.9584 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.9041, allocations: 4.719 kB / 0.9584 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.9043, allocations: 51.75 kB / 0.9584 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.616e-05/0.9043, allocations: 55.03 kB / 0.9585 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.981e-05/0.9044, allocations: 100.4 kB / 0.9586 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.9047, allocations: 259.2 kB / 0.9588 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.9047, allocations: 0 / 0.9588 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.345e-06/0.9048, allocations: 0 / 0.9588 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.9048, allocations: 1.406 kB / 0.9588 GB, free: 4.805 MB / 0.7169 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.000814/0.9056, allocations: 0.5152 MB / 0.9593 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.9056, allocations: 9.625 kB / 0.9594 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.9057, allocations: 27.66 kB / 0.9594 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.906, allocations: 287.4 kB / 0.9597 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.9061, allocations: 8.125 kB / 0.9597 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.9061, allocations: 6.875 kB / 0.9597 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.9064, allocations: 125.4 kB / 0.9598 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.9064, allocations: 4 kB / 0.9598 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.9064, allocations: 13.3 kB / 0.9598 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.9064, allocations: 2.75 kB / 0.9598 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.9067, allocations: 90.92 kB / 0.9599 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006552/0.9074, allocations: 457.6 kB / 0.9603 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.9077, allocations: 132.6 kB / 0.9605 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.9079, allocations: 65.62 kB / 0.9605 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.908, allocations: 1.344 kB / 0.9605 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000289/0.9083, allocations: 141.6 kB / 0.9607 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.874e-06/0.9083, allocations: 0 / 0.9607 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0007427/0.909, allocations: 257.2 kB / 0.9609 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.9091, allocations: 62.92 kB / 0.961 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003813/0.9095, allocations: 330.9 kB / 0.9613 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.9095, allocations: 37.3 kB / 0.9613 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.374e-05/0.9096, allocations: 130.2 kB / 0.9614 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.9096, allocations: 42.48 kB / 0.9615 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/0.9097, allocations: 31.67 kB / 0.9615 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.685e-05/0.9098, allocations: 345.8 kB / 0.9618 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.91, allocations: 87.39 kB / 0.9619 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.9102, allocations: 141 kB / 0.9621 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000374/0.9106, allocations: 191.2 kB / 0.9622 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.9106, allocations: 4.688 kB / 0.9622 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005522/0.9112, allocations: 291.3 kB / 0.9625 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.9112, allocations: 5.906 kB / 0.9625 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.9112, allocations: 1.25 kB / 0.9625 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.9112, allocations: 3 kB / 0.9625 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.9115, allocations: 48.33 kB / 0.9626 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.9115, allocations: 3.594 kB / 0.9626 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.9116, allocations: 33.02 kB / 0.9626 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.9117, allocations: 11.78 kB / 0.9626 GB, free: 1.852 MB / 0.7169 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.0001228/0.9118, allocations: 161 kB / 0.9628 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.9118, allocations: 27 kB / 0.9628 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.28e-05/0.9119, allocations: 21.69 kB / 0.9628 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.9119, allocations: 5.984 kB / 0.9628 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.912e-06/0.9119, allocations: 0 / 0.9628 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.9119, allocations: 5.469 kB / 0.9628 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007481/0.9127, allocations: 0.5578 MB / 0.9634 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.9127, allocations: 3.938 kB / 0.9634 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.809e-05/0.9128, allocations: 24.89 kB / 0.9634 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.9128, allocations: 0 / 0.9634 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.9128, allocations: 6.688 kB / 0.9634 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.9128, allocations: 0 / 0.9634 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.9128, allocations: 5.203 kB / 0.9634 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004269/0.9133, allocations: 307.7 kB / 0.9637 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.033e-05/0.9133, allocations: 101.9 kB / 0.9638 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.9134, allocations: 4.938 kB / 0.9638 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.9135, allocations: 19.69 kB / 0.9638 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/0.9136, allocations: 14.17 kB / 0.9638 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.9136, allocations: 13.8 kB / 0.9639 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001663/0.9138, allocations: 209.2 kB / 0.9641 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9138, allocations: 0 / 0.9641 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003201/0.9141, allocations: 46.91 kB / 0.9641 GB, free: 0.6992 MB / 0.7169 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.0009541/0.9151, allocations: 420.2 kB / 0.9645 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000481/0.9156, allocations: 197 kB / 0.9647 GB, free: 428 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.9156, allocations: 3.938 kB / 0.9647 GB, free: 424 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.9158, allocations: 79.2 kB / 0.9648 GB, free: 392 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.9162, allocations: 59.06 kB / 0.9648 GB, free: 356 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008136/0.917, allocations: 458.6 kB / 0.9653 GB, free: 24 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.9175, allocations: 0.7584 MB / 0.966 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001172/0.9176, allocations: 33.84 kB / 0.966 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.323e-05/0.9177, allocations: 25.89 kB / 0.9661 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.9177, allocations: 0 / 0.9661 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of Templates: time 0.007679/0.9254, allocations: 2.795 MB / 0.9688 GB, free: 13.88 MB / 0.7325 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 -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/jenkins/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