Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 118.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002188/0.002188, allocations: 193.2 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.536/2.536, allocations: 443.5 MB / 0.7293 GB, free: 14.56 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=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_10_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_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 67.89 kB / 1.057 GB, free: 1.996 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3175, allocations: 160.7 MB / 1.214 GB, free: 0.9648 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003692/0.3212, allocations: 1.939 MB / 1.216 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00194/0.3231, allocations: 1.131 MB / 1.217 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.346e-05/0.3232, allocations: 4 kB / 1.217 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003896/0.3236, allocations: 95.56 kB / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.3239, allocations: 91.58 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003717/0.3243, allocations: 159.5 kB / 1.217 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002979/0.3246, allocations: 219.4 kB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.3247, allocations: 37.66 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.3249, allocations: 103.7 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.3251, allocations: 107.5 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.417e-05/0.3251, allocations: 12 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.3253, allocations: 55.97 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.398e-05/0.3254, allocations: 63.75 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.3255, allocations: 87.42 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003937/0.3258, allocations: 274.8 kB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3259, allocations: 0 / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3259, allocations: 4 kB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.3259, allocations: 0 / 1.218 GB, free: 12.58 MB / 0.9669 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.0009743/0.3268, allocations: 0.545 MB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3269, allocations: 12.03 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.551e-05/0.3269, allocations: 20.8 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004114/0.3273, allocations: 295.3 kB / 1.219 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.3274, allocations: 12 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.3274, allocations: 15.98 kB / 1.219 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/0.3277, allocations: 113.6 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.3277, allocations: 3.938 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.3277, allocations: 7.938 kB / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3277, allocations: 4 kB / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002997/0.328, allocations: 83.92 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007667/0.3288, allocations: 456.4 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.3292, allocations: 122.6 kB / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.3293, allocations: 52.77 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.3293, allocations: 4 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002785/0.3296, allocations: 126.4 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.3296, allocations: 0 / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.0006741/0.3303, allocations: 245.3 kB / 1.22 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/0.3304, allocations: 63.41 kB / 1.22 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003702/0.3307, allocations: 330.5 kB / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.3308, allocations: 33.7 kB / 1.221 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.3309, allocations: 140.4 kB / 1.221 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.411e-05/0.3309, allocations: 39.7 kB / 1.221 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.286e-05/0.331, allocations: 57.69 kB / 1.221 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.3312, allocations: 334.8 kB / 1.221 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.3314, allocations: 83.95 kB / 1.221 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.3317, allocations: 138.5 kB / 1.222 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004058/0.3321, allocations: 191.5 kB / 1.222 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3321, allocations: 0 / 1.222 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005826/0.3327, allocations: 281.4 kB / 1.222 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3327, allocations: 5.875 kB / 1.222 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3327, allocations: 4 kB / 1.222 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3327, allocations: 0 / 1.222 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.3329, allocations: 43.91 kB / 1.222 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.3329, allocations: 4 kB / 1.222 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.3331, allocations: 23.88 kB / 1.222 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.3331, allocations: 12 kB / 1.222 GB, free: 8.492 MB / 0.9669 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.0001715/0.3333, allocations: 165.5 kB / 1.222 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.3333, allocations: 31.8 kB / 1.222 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.411e-05/0.3334, allocations: 22.19 kB / 1.222 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3334, allocations: 0 / 1.222 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.3334, allocations: 3.984 kB / 1.222 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3334, allocations: 0 / 1.222 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000864/0.3342, allocations: 0.5529 MB / 1.223 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3342, allocations: 0 / 1.223 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.651e-05/0.3343, allocations: 11.98 kB / 1.223 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3343, allocations: 0 / 1.223 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.3343, allocations: 8 kB / 1.223 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3343, allocations: 0 / 1.223 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3343, allocations: 0 / 1.223 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000501/0.3348, allocations: 317.7 kB / 1.223 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.632e-05/0.3349, allocations: 96.97 kB / 1.223 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.655e-05/0.335, allocations: 8 kB / 1.223 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.3351, allocations: 11.97 kB / 1.223 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.3352, allocations: 15.98 kB / 1.223 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.3352, allocations: 7.938 kB / 1.223 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000229/0.3354, allocations: 217.9 kB / 1.223 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3354, allocations: 0 / 1.223 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003036/0.3357, allocations: 47.94 kB / 1.224 GB, free: 6.895 MB / 0.9669 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.001515/0.3372, allocations: 430 kB / 1.224 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004952/0.3377, allocations: 170.3 kB / 1.224 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3377, allocations: 320 / 1.224 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.3379, allocations: 71.89 kB / 1.224 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.3384, allocations: 47.31 kB / 1.224 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007701/0.3391, allocations: 440.1 kB / 1.225 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/0.3396, allocations: 0.7558 MB / 1.225 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.425e-05/0.3396, allocations: 23.42 kB / 1.225 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.3396, allocations: 0 / 1.225 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of Templates: time 0.005887/0.3455, allocations: 3.282 MB / 1.229 GB, free: 1.812 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.749032457126305]