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.0007719/0.0007719, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007989/0.0007989, allocations: 177.9 kB / 23.21 MB, free: 1.344 MB / 18.57 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 0.8545/0.8545, allocations: 177.1 MB / 203.5 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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 1.763/1.763, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] 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.245e-06/2.245e-06, allocations: 3.938 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.893e-05, allocations: 6.281 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002356/0.002385, allocations: 1.894 MB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.00376, allocations: 1.214 MB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.834e-05/0.003848, allocations: 11.88 kB / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0003302/0.004179, allocations: 99.48 kB / 1.004 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.004461, allocations: 143.2 kB / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.004789, allocations: 131.5 kB / 1.004 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.00501, allocations: 231.3 kB / 1.005 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.005143, allocations: 33.78 kB / 1.005 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.00528, allocations: 131.6 kB / 1.005 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.005389, allocations: 95.75 kB / 1.005 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.00541, allocations: 16 kB / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.198e-05/0.005502, allocations: 55.91 kB / 1.005 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.621e-05/0.005569, allocations: 63.77 kB / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.329e-05/0.005622, allocations: 51.83 kB / 1.005 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.005891, allocations: 287 kB / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.005893, allocations: 4 kB / 1.005 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.31e-07/0.005894, allocations: 0 / 1.005 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.005899, allocations: 0 / 1.005 GB, free: 8.516 MB / 0.9636 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.0006157/0.006515, allocations: 488.9 kB / 1.006 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.006549, allocations: 8.75 kB / 1.006 GB, free: 8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.697e-05/0.006596, allocations: 24.8 kB / 1.006 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.006856, allocations: 229 kB / 1.006 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.006874, allocations: 15.92 kB / 1.006 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.006891, allocations: 12 kB / 1.006 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.007089, allocations: 121.5 kB / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.007098, allocations: 0 / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.00711, allocations: 0 / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.007115, allocations: 4 kB / 1.006 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.007271, allocations: 102.2 kB / 1.006 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.007714, allocations: 364.4 kB / 1.007 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.007928, allocations: 122.6 kB / 1.007 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.327e-05/0.008011, allocations: 52.83 kB / 1.007 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.008027, allocations: 8 kB / 1.007 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.008209, allocations: 127.3 kB / 1.007 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 1.283e-06/0.008211, allocations: 0 / 1.007 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.0004062/0.008617, allocations: 253.3 kB / 1.007 GB, free: 6.504 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.008655, allocations: 55.41 kB / 1.007 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.008902, allocations: 345.8 kB / 1.007 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.00892, allocations: 33.7 kB / 1.008 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.418e-05/0.008994, allocations: 136.5 kB / 1.008 GB, free: 5.914 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.009029, allocations: 43.69 kB / 1.008 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-05/0.009091, allocations: 53.69 kB / 1.008 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.139e-05/0.009183, allocations: 342.8 kB / 1.008 GB, free: 5.469 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.009304, allocations: 83.95 kB / 1.008 GB, free: 5.387 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.00944, allocations: 133.1 kB / 1.008 GB, free: 5.238 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.009666, allocations: 196.9 kB / 1.008 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.009668, allocations: 0 / 1.008 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003301/0.009998, allocations: 287.2 kB / 1.009 GB, free: 4.742 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.01001, allocations: 8 kB / 1.009 GB, free: 4.734 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.01002, allocations: 0 / 1.009 GB, free: 4.734 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.01004, allocations: 7.938 kB / 1.009 GB, free: 4.727 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.01016, allocations: 43.91 kB / 1.009 GB, free: 4.684 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.01016, allocations: 0 / 1.009 GB, free: 4.684 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.175e-05/0.01025, allocations: 27.92 kB / 1.009 GB, free: 4.656 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.01027, allocations: 12 kB / 1.009 GB, free: 4.645 MB / 0.9636 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.0001109/0.01038, allocations: 161.7 kB / 1.009 GB, free: 4.477 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.0104, allocations: 23.86 kB / 1.009 GB, free: 4.453 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/0.01069, allocations: 213 kB / 1.009 GB, free: 4.242 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.0107, allocations: 3.938 kB / 1.009 GB, free: 4.238 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.0107, allocations: 0 / 1.009 GB, free: 4.238 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.01071, allocations: 4 kB / 1.009 GB, free: 4.234 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004682/0.01117, allocations: 0.4903 MB / 1.01 GB, free: 3.707 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.01118, allocations: 3.938 kB / 1.01 GB, free: 3.703 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.451e-05/0.01122, allocations: 19.98 kB / 1.01 GB, free: 3.684 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.01123, allocations: 3.984 kB / 1.01 GB, free: 3.68 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.01124, allocations: 7.938 kB / 1.01 GB, free: 3.672 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.01124, allocations: 0 / 1.01 GB, free: 3.672 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01124, allocations: 0 / 1.01 GB, free: 3.672 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.01149, allocations: 313.8 kB / 1.01 GB, free: 3.352 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.555e-05/0.01152, allocations: 31.73 kB / 1.01 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.01154, allocations: 8 kB / 1.01 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.969e-05/0.01161, allocations: 15.97 kB / 1.01 GB, free: 3.297 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.01166, allocations: 15.97 kB / 1.01 GB, free: 3.281 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.01167, allocations: 8 kB / 1.01 GB, free: 3.273 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001442/0.01182, allocations: 217.1 kB / 1.01 GB, free: 3.059 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.01182, allocations: 0 / 1.01 GB, free: 3.059 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002079/0.01202, allocations: 47.94 kB / 1.01 GB, free: 3.012 MB / 0.9636 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.0007242/0.01275, allocations: 457 kB / 1.011 GB, free: 2.738 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002822/0.01303, allocations: 175.8 kB / 1.011 GB, free: 2.566 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01303, allocations: 0 / 1.011 GB, free: 2.566 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.946e-05/0.01313, allocations: 67.89 kB / 1.011 GB, free: 2.5 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.01339, allocations: 65.8 kB / 1.011 GB, free: 2.445 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007138/0.01411, allocations: 444.5 kB / 1.012 GB, free: 1.98 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.725e-05/0.0142, allocations: 145.1 kB / 1.012 GB, free: 1.82 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/0.01425, allocations: 28.5 kB / 1.012 GB, free: 1.793 MB / 0.9636 GB Notification: Performance of SimCode: time 3.7e-07/0.01425, allocations: 0 / 1.012 GB, free: 1.793 MB / 0.9636 GB Notification: Performance of Templates: time 0.003696/0.01794, allocations: 3.481 MB / 1.015 GB, free: 14.32 MB / 0.9792 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: 6.867854095064104]