Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009635/0.0009635, allocations: 78.66 kB / 20.68 MB, free: 3.824 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.001132/0.001132, allocations: 180.9 kB / 24.09 MB, free: 424 kB / 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.9331/0.9331, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.723/1.723, allocations: 359 MB / 0.6055 GB, free: 10.84 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.005e-06/3.005e-06, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.946e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003325/0.003354, allocations: 1.95 MB / 0.7895 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.004804, allocations: 1.23 MB / 0.7907 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.801e-05/0.004902, allocations: 3.938 kB / 0.7907 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003271/0.005229, allocations: 105 kB / 0.7908 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.005494, allocations: 135.3 kB / 0.7909 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.005685, allocations: 137 kB / 0.791 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.005889, allocations: 235.3 kB / 0.7913 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.006002, allocations: 25.8 kB / 0.7913 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004561/0.006458, allocations: 173.3 kB / 0.7915 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.006561, allocations: 92.97 kB / 0.7915 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.006586, allocations: 19.94 kB / 0.7916 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-05/0.006671, allocations: 51.92 kB / 0.7916 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.702e-05/0.006728, allocations: 61.94 kB / 0.7917 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.778e-05/0.006776, allocations: 51.78 kB / 0.7917 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.007015, allocations: 203.2 kB / 0.7919 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.007017, allocations: 0 / 0.7919 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.082e-06/0.007018, allocations: 0 / 0.7919 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.007021, allocations: 0 / 0.7919 GB, free: 7.73 MB / 0.7448 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.0005027/0.007524, allocations: 0.5715 MB / 0.7925 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.007555, allocations: 12.03 kB / 0.7925 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.007596, allocations: 28.8 kB / 0.7925 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.00778, allocations: 223.6 kB / 0.7927 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.007799, allocations: 20.06 kB / 0.7927 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.007813, allocations: 12.53 kB / 0.7928 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.007942, allocations: 99.97 kB / 0.7929 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.007949, allocations: 0 / 0.7929 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.007958, allocations: 4 kB / 0.7929 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.007963, allocations: 0 / 0.7929 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.546e-05/0.008018, allocations: 38.81 kB / 0.7929 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.008384, allocations: 381.2 kB / 0.7933 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.008493, allocations: 80.3 kB / 0.7933 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.952e-05/0.008522, allocations: 31.61 kB / 0.7934 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.008537, allocations: 5.375 kB / 0.7934 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/0.00864, allocations: 96.92 kB / 0.7935 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.008641, allocations: 0 / 0.7935 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0002031/0.008844, allocations: 167.1 kB / 0.7936 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.008872, allocations: 59.34 kB / 0.7937 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.009045, allocations: 316.1 kB / 0.794 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.009062, allocations: 33.7 kB / 0.794 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.628e-05/0.009138, allocations: 192.2 kB / 0.7942 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.00917, allocations: 51.66 kB / 0.7942 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.678e-05/0.009227, allocations: 59.33 kB / 0.7943 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.009343, allocations: 0.5161 MB / 0.7948 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.52e-05/0.009379, allocations: 25.22 kB / 0.7948 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.247e-05/0.009441, allocations: 90.08 kB / 0.7949 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.009542, allocations: 125.7 kB / 0.795 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.009544, allocations: 0 / 0.795 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002217/0.009766, allocations: 186.8 kB / 0.7952 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.009777, allocations: 5.938 kB / 0.7952 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.009781, allocations: 0 / 0.7952 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/0.00979, allocations: 4 kB / 0.7952 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.0099, allocations: 39.97 kB / 0.7953 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.009905, allocations: 11.88 kB / 0.7953 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.147e-05/0.009966, allocations: 22.47 kB / 0.7953 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.009981, allocations: 8 kB / 0.7953 GB, free: 4.039 MB / 0.7448 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 8.357e-05/0.01006, allocations: 180.2 kB / 0.7955 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.01009, allocations: 31.84 kB / 0.7955 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.01024, allocations: 143.7 kB / 0.7956 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.01025, allocations: 4.719 kB / 0.7956 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.01025, allocations: 4.781 kB / 0.7956 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.01025, allocations: 3.984 kB / 0.7957 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/0.01057, allocations: 445.5 kB / 0.7961 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.01057, allocations: 0 / 0.7961 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.685e-05/0.0106, allocations: 21.2 kB / 0.7961 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.01061, allocations: 0 / 0.7961 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.01062, allocations: 15.94 kB / 0.7961 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.01062, allocations: 0 / 0.7961 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01062, allocations: 0.8438 kB / 0.7961 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.01077, allocations: 300.1 kB / 0.7964 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2e-05/0.01079, allocations: 28.69 kB / 0.7964 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.01081, allocations: 7.938 kB / 0.7964 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.901e-05/0.01087, allocations: 13.48 kB / 0.7964 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.01091, allocations: 15.97 kB / 0.7965 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.01092, allocations: 8 kB / 0.7965 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.234e-05/0.01101, allocations: 205.1 kB / 0.7967 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01101, allocations: 1.125 kB / 0.7967 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001885/0.0112, allocations: 47.94 kB / 0.7967 GB, free: 2.535 MB / 0.7448 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.0007769/0.01198, allocations: 404.1 kB / 0.7971 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001324/0.01211, allocations: 109.5 kB / 0.7972 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.01211, allocations: 0 / 0.7972 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.897e-05/0.01216, allocations: 48.55 kB / 0.7972 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.0124, allocations: 56.7 kB / 0.7973 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.01278, allocations: 377.5 kB / 0.7977 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.579e-05/0.01283, allocations: 84.31 kB / 0.7977 GB, free: 1.578 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.673e-05/0.01288, allocations: 25.94 kB / 0.7978 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.993e-05/0.01298, allocations: 114.2 kB / 0.7979 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of SimCode: time 7.22e-07/0.01298, allocations: 3.938 kB / 0.7979 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of Templates: time 0.00492/0.0179, allocations: 3.574 MB / 0.8014 GB, free: 13.93 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.868956509977579]