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.0009733/0.0009733, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.0009769/0.0009769, allocations: 170 kB / 23.27 MB, free: 1.223 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.9919/0.9919, allocations: 177.1 MB / 203.7 MB, free: 5.496 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 2.345/2.345, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.985e-06/2.985e-06, allocations: 0 / 0.8898 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.382e-05, allocations: 5.547 kB / 0.8898 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002836/0.002859, allocations: 1.944 MB / 0.8917 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.004471, allocations: 1.227 MB / 0.8929 GB, free: 6.539 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.00458, allocations: 4 kB / 0.8929 GB, free: 6.535 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003481/0.004928, allocations: 107.4 kB / 0.893 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.005239, allocations: 135.3 kB / 0.8931 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.005467, allocations: 131.5 kB / 0.8932 GB, free: 6.168 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.00569, allocations: 235.3 kB / 0.8934 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.005815, allocations: 29.78 kB / 0.8935 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005106/0.006325, allocations: 189.8 kB / 0.8937 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.006435, allocations: 83.78 kB / 0.8937 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.006458, allocations: 12 kB / 0.8937 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.413e-05/0.006552, allocations: 59.89 kB / 0.8938 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.05e-05/0.006612, allocations: 59.77 kB / 0.8939 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.97e-05/0.006662, allocations: 51.84 kB / 0.8939 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.006905, allocations: 199.2 kB / 0.8941 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.006907, allocations: 0 / 0.8941 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.02e-07/0.006908, allocations: 0 / 0.8941 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.006912, allocations: 0 / 0.8941 GB, free: 5.285 MB / 0.8542 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.0005024/0.007414, allocations: 0.5772 MB / 0.8947 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.007447, allocations: 12.61 kB / 0.8947 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.007495, allocations: 32.8 kB / 0.8947 GB, free: 4.629 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.007679, allocations: 219.7 kB / 0.8949 GB, free: 4.391 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.007695, allocations: 12.12 kB / 0.8949 GB, free: 4.379 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.007709, allocations: 11.94 kB / 0.8949 GB, free: 4.367 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.007844, allocations: 98.33 kB / 0.895 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.00785, allocations: 0 / 0.895 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.007861, allocations: 11.94 kB / 0.895 GB, free: 4.25 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.007865, allocations: 0 / 0.895 GB, free: 4.25 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.885e-05/0.007914, allocations: 41.75 kB / 0.8951 GB, free: 4.211 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/0.00828, allocations: 380.1 kB / 0.8955 GB, free: 3.812 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.008391, allocations: 75.12 kB / 0.8955 GB, free: 3.727 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.832e-05/0.008419, allocations: 27.72 kB / 0.8955 GB, free: 3.695 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.008436, allocations: 7.938 kB / 0.8956 GB, free: 3.688 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001019/0.008538, allocations: 95.23 kB / 0.8956 GB, free: 3.582 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.008539, allocations: 0 / 0.8956 GB, free: 3.582 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0002098/0.008749, allocations: 161.4 kB / 0.8958 GB, free: 3.418 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.00878, allocations: 59.34 kB / 0.8959 GB, free: 3.348 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.008958, allocations: 320.1 kB / 0.8962 GB, free: 3.02 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.008973, allocations: 25.7 kB / 0.8962 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.668e-05/0.00906, allocations: 207.1 kB / 0.8964 GB, free: 2.777 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.00909, allocations: 39.73 kB / 0.8964 GB, free: 2.738 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.426e-05/0.009154, allocations: 67.31 kB / 0.8965 GB, free: 2.664 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.009275, allocations: 0.5156 MB / 0.897 GB, free: 2.137 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.701e-05/0.009312, allocations: 27.98 kB / 0.897 GB, free: 2.109 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.009379, allocations: 94.05 kB / 0.8971 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.00948, allocations: 120.6 kB / 0.8972 GB, free: 1.852 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.009482, allocations: 4 kB / 0.8972 GB, free: 1.848 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001734/0.009656, allocations: 173.3 kB / 0.8974 GB, free: 1.672 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.009668, allocations: 15.92 kB / 0.8974 GB, free: 1.656 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.009673, allocations: 0 / 0.8974 GB, free: 1.656 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.009684, allocations: 4 kB / 0.8974 GB, free: 1.652 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.009789, allocations: 35.98 kB / 0.8974 GB, free: 1.617 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.009794, allocations: 7.875 kB / 0.8975 GB, free: 1.609 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.627e-05/0.00985, allocations: 28.03 kB / 0.8975 GB, free: 1.582 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.009866, allocations: 16 kB / 0.8975 GB, free: 1.566 MB / 0.8542 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.283e-05/0.009949, allocations: 176.5 kB / 0.8977 GB, free: 1.383 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.009977, allocations: 27.81 kB / 0.8977 GB, free: 1.355 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.01013, allocations: 147.7 kB / 0.8978 GB, free: 1.203 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.01014, allocations: 0 / 0.8978 GB, free: 1.203 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.01014, allocations: 7.938 kB / 0.8978 GB, free: 1.195 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01014, allocations: 0 / 0.8978 GB, free: 1.195 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/0.01046, allocations: 452 kB / 0.8983 GB, free: 0.7227 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.01046, allocations: 0 / 0.8983 GB, free: 0.7227 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.646e-05/0.0105, allocations: 15.98 kB / 0.8983 GB, free: 0.707 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.0105, allocations: 0 / 0.8983 GB, free: 0.707 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.01051, allocations: 7.938 kB / 0.8983 GB, free: 0.6992 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.01051, allocations: 0 / 0.8983 GB, free: 0.6992 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.01051, allocations: 4 kB / 0.8983 GB, free: 0.6953 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.01068, allocations: 304 kB / 0.8986 GB, free: 388 kB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/0.0107, allocations: 15.86 kB / 0.8986 GB, free: 372 kB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.01072, allocations: 11.94 kB / 0.8986 GB, free: 360 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.652e-05/0.01077, allocations: 11.98 kB / 0.8986 GB, free: 348 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.01082, allocations: 23.97 kB / 0.8986 GB, free: 324 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.01082, allocations: 4 kB / 0.8986 GB, free: 320 kB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.016e-05/0.01091, allocations: 201.1 kB / 0.8988 GB, free: 120 kB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01091, allocations: 0 / 0.8988 GB, free: 120 kB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001967/0.01111, allocations: 55.83 kB / 0.8989 GB, free: 64 kB / 0.8542 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.0007515/0.01186, allocations: 406 kB / 0.8993 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001403/0.012, allocations: 99.47 kB / 0.8994 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.012, allocations: 0 / 0.8994 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.391e-05/0.01206, allocations: 55.58 kB / 0.8994 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.0123, allocations: 56.23 kB / 0.8995 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004568/0.01276, allocations: 374.7 kB / 0.8998 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.201e-05/0.01281, allocations: 92.31 kB / 0.8999 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.628e-05/0.01287, allocations: 29.94 kB / 0.9 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.01297, allocations: 110.2 kB / 0.9001 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of SimCode: time 7.81e-07/0.01297, allocations: 4 kB / 0.9001 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of Templates: time 0.004913/0.01789, allocations: 3.611 MB / 0.9036 GB, free: 11.4 MB / 0.8698 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.336158411111683]