Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 80.28 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 163.1 kB / 22.46 MB, free: 5.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.608/1.608, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.093/3.093, allocations: 389 MB / 0.633 GB, free: 1.012 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 1 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/3.028e-05, allocations: 2.281 kB / 1 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.00398/0.00401, allocations: 1.922 MB / 1.002 GB, free: 4.285 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00273/0.00674, allocations: 1.208 MB / 1.003 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.006938, allocations: 7.938 kB / 1.003 GB, free: 3.066 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004626/0.007401, allocations: 103.5 kB / 1.003 GB, free: 2.965 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005624/0.007963, allocations: 143.2 kB / 1.003 GB, free: 2.824 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004695/0.008433, allocations: 131.5 kB / 1.004 GB, free: 2.695 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000468/0.008901, allocations: 235.3 kB / 1.004 GB, free: 2.465 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.009097, allocations: 25.8 kB / 1.004 GB, free: 2.438 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002882/0.009386, allocations: 127.7 kB / 1.004 GB, free: 2.312 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.009569, allocations: 95.7 kB / 1.004 GB, free: 2.219 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.231e-05/0.009611, allocations: 16 kB / 1.004 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.009777, allocations: 63.83 kB / 1.004 GB, free: 2.141 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.009883, allocations: 67.75 kB / 1.004 GB, free: 2.074 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.773e-05/0.00997, allocations: 47.86 kB / 1.004 GB, free: 2.027 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004599/0.01043, allocations: 279.1 kB / 1.004 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.01043, allocations: 0 / 1.004 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.523e-06/0.01044, allocations: 0 / 1.004 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.01044, allocations: 0 / 1.004 GB, free: 1.754 MB / 0.9044 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.001084/0.01153, allocations: 492.8 kB / 1.005 GB, free: 1.242 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.01157, allocations: 16.03 kB / 1.005 GB, free: 1.227 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.56e-05/0.01164, allocations: 20.8 kB / 1.005 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004243/0.01207, allocations: 229 kB / 1.005 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.01209, allocations: 11.94 kB / 1.005 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.01212, allocations: 12 kB / 1.005 GB, free: 0.9375 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.01245, allocations: 113.6 kB / 1.005 GB, free: 0.8203 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.01246, allocations: 0 / 1.005 GB, free: 0.8203 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.01248, allocations: 7.984 kB / 1.005 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.01249, allocations: 0 / 1.005 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003245/0.01282, allocations: 95.86 kB / 1.005 GB, free: 0.7188 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007321/0.01355, allocations: 372.3 kB / 1.006 GB, free: 332 kB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003743/0.01392, allocations: 126.6 kB / 1.006 GB, free: 196 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.01409, allocations: 60.7 kB / 1.006 GB, free: 132 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.01412, allocations: 4 kB / 1.006 GB, free: 128 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003379/0.01446, allocations: 127.4 kB / 1.006 GB, free: 15.98 MB / 0.92 GB Notification: Performance of pre-optimization done (n=16): time 1.773e-06/0.01446, allocations: 0 / 1.006 GB, free: 15.98 MB / 0.92 GB Notification: Performance of matching and sorting (n=16): time 0.00075/0.01521, allocations: 253.3 kB / 1.006 GB, free: 15.73 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.01526, allocations: 51.41 kB / 1.006 GB, free: 15.67 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004259/0.01569, allocations: 345.7 kB / 1.007 GB, free: 15.32 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.01572, allocations: 37.7 kB / 1.007 GB, free: 15.28 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.01584, allocations: 144.5 kB / 1.007 GB, free: 15.13 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.692e-05/0.01589, allocations: 35.61 kB / 1.007 GB, free: 15.1 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.01599, allocations: 61.69 kB / 1.007 GB, free: 15.04 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.01617, allocations: 338.8 kB / 1.007 GB, free: 14.7 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.0164, allocations: 87.94 kB / 1.007 GB, free: 14.61 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.01667, allocations: 137.1 kB / 1.007 GB, free: 14.46 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004364/0.01711, allocations: 189 kB / 1.008 GB, free: 14.26 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01711, allocations: 0 / 1.008 GB, free: 14.26 MB / 0.92 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006268/0.01774, allocations: 289.4 kB / 1.008 GB, free: 13.97 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.01776, allocations: 7.984 kB / 1.008 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.01776, allocations: 4 kB / 1.008 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.01778, allocations: 3.938 kB / 1.008 GB, free: 13.95 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.01801, allocations: 39.92 kB / 1.008 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.01802, allocations: 7.984 kB / 1.008 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.01818, allocations: 19.94 kB / 1.008 GB, free: 13.89 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.01822, allocations: 15.94 kB / 1.008 GB, free: 13.87 MB / 0.92 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.0001917/0.01841, allocations: 158.2 kB / 1.008 GB, free: 13.71 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.01846, allocations: 27.86 kB / 1.008 GB, free: 13.68 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005629/0.01902, allocations: 213.7 kB / 1.008 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.01903, allocations: 7.938 kB / 1.008 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.01903, allocations: 0 / 1.008 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.01904, allocations: 3.984 kB / 1.008 GB, free: 13.45 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009194/0.01996, allocations: 494.1 kB / 1.009 GB, free: 12.93 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.01997, allocations: 11.94 kB / 1.009 GB, free: 12.92 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.639e-05/0.02006, allocations: 11.98 kB / 1.009 GB, free: 12.91 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.02007, allocations: 4 kB / 1.009 GB, free: 12.91 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.02008, allocations: 3.984 kB / 1.009 GB, free: 12.9 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.02008, allocations: 0 / 1.009 GB, free: 12.9 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.02009, allocations: 0 / 1.009 GB, free: 12.9 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005723/0.02066, allocations: 309.8 kB / 1.009 GB, free: 12.59 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.544e-05/0.02071, allocations: 35.69 kB / 1.009 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/0.02076, allocations: 15.92 kB / 1.009 GB, free: 12.54 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.02092, allocations: 11.98 kB / 1.009 GB, free: 12.52 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.898e-05/0.021, allocations: 19.97 kB / 1.009 GB, free: 12.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.02102, allocations: 12 kB / 1.009 GB, free: 12.49 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002443/0.02126, allocations: 209.2 kB / 1.01 GB, free: 12.29 MB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/0.02126, allocations: 0 / 1.01 GB, free: 12.29 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003457/0.02161, allocations: 51.94 kB / 1.01 GB, free: 12.24 MB / 0.92 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 (17): * Single equations (assignments): 12 * 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.00177/0.02338, allocations: 445.3 kB / 1.01 GB, free: 11.98 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005467/0.02392, allocations: 179.7 kB / 1.01 GB, free: 11.81 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.02393, allocations: 4 kB / 1.01 GB, free: 11.8 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.02414, allocations: 71.88 kB / 1.01 GB, free: 11.73 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004861/0.02463, allocations: 63.7 kB / 1.01 GB, free: 11.68 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.02567, allocations: 430.8 kB / 1.011 GB, free: 11.23 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.02583, allocations: 145.2 kB / 1.011 GB, free: 11.07 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001294/0.02596, allocations: 41.92 kB / 1.011 GB, free: 11.04 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.715e-05/0.02605, allocations: 24.5 kB / 1.011 GB, free: 11.01 MB / 0.92 GB Notification: Performance of SimCode: time 7.01e-07/0.02605, allocations: 0 / 1.011 GB, free: 11.01 MB / 0.92 GB Notification: Performance of Templates: time 0.009436/0.03548, allocations: 3.285 MB / 1.014 GB, free: 7.754 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.679672203958035]