Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.198/2.198, allocations: 387.4 MB / 394.9 MB, free: 13.4 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 176.8 kB / 487.4 MB, free: 5.059 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009854/0.0009854, allocations: 91.97 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.762e-05/2.765e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3195, allocations: 142.4 MB / 1.206 GB, free: 43.92 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.085/1.405, allocations: 152.5 MB / 1.355 GB, free: 18.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/1.405, allocations: 79 kB / 1.355 GB, free: 18.27 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0563/1.462, allocations: 23.53 MB / 1.378 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.562e-06/1.462, allocations: 7.781 kB / 1.378 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.056e-05/1.462, allocations: 15.88 kB / 1.378 GB, free: 30.61 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001124/1.463, allocations: 0.7738 MB / 1.379 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/1.463, allocations: 7.594 kB / 1.379 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/1.463, allocations: 77.81 kB / 1.379 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/1.464, allocations: 0.6931 MB / 1.379 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/1.464, allocations: 3.875 kB / 1.379 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.269e-05/1.464, allocations: 7.688 kB / 1.379 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001789/1.465, allocations: 93.08 kB / 1.38 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/1.465, allocations: 190.4 kB / 1.38 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/1.465, allocations: 0 / 1.38 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/1.465, allocations: 7.5 kB / 1.38 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/1.465, allocations: 3.906 kB / 1.38 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/1.466, allocations: 1.094 MB / 1.381 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/1.466, allocations: 250.2 kB / 1.381 GB, free: 28.51 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/1.467, allocations: 99.19 kB / 1.381 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/1.467, allocations: 11.3 kB / 1.381 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002747/1.467, allocations: 203.5 kB / 1.381 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/1.467, allocations: 0 / 1.381 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25): time 0.000586/1.468, allocations: 326.2 kB / 1.382 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/1.468, allocations: 166 kB / 1.382 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/1.469, allocations: 0.9075 MB / 1.383 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/1.469, allocations: 29.58 kB / 1.383 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002/1.469, allocations: 298.8 kB / 1.383 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.057e-05/1.469, allocations: 72.81 kB / 1.383 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/1.469, allocations: 0 / 1.383 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001497/1.469, allocations: 332.4 kB / 1.383 GB, free: 27.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/1.469, allocations: 228.4 kB / 1.384 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/1.47, allocations: 324.8 kB / 1.384 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006693/1.47, allocations: 304.8 kB / 1.384 GB, free: 27.1 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.47, allocations: 3.875 kB / 1.384 GB, free: 27.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001167/1.472, allocations: 0.7361 MB / 1.385 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/1.472, allocations: 3.875 kB / 1.385 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/1.472, allocations: 3.844 kB / 1.385 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/1.472, allocations: 3.812 kB / 1.385 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/1.472, allocations: 120 kB / 1.385 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/1.472, allocations: 11.97 kB / 1.385 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/1.472, allocations: 31.42 kB / 1.385 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-05/1.472, allocations: 40.14 kB / 1.385 GB, free: 26.87 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001435/1.473, allocations: 140.8 kB / 1.385 GB, free: 26.74 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.669e-05/1.473, allocations: 70.12 kB / 1.385 GB, free: 26.7 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005055/1.473, allocations: 363.2 kB / 1.386 GB, free: 26.6 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/1.473, allocations: 3.844 kB / 1.386 GB, free: 26.6 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/1.473, allocations: 3.953 kB / 1.386 GB, free: 26.6 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/1.473, allocations: 7.828 kB / 1.386 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004112/1.474, allocations: 452.5 kB / 1.386 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.474, allocations: 0 / 1.386 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.288e-05/1.474, allocations: 27.39 kB / 1.386 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/1.474, allocations: 3.844 kB / 1.386 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/1.474, allocations: 7.797 kB / 1.386 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/1.474, allocations: 3.938 kB / 1.386 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/1.474, allocations: 7.906 kB / 1.386 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004691/1.474, allocations: 460.3 kB / 1.387 GB, free: 26.06 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/1.474, allocations: 169.9 kB / 1.387 GB, free: 25.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.687e-05/1.475, allocations: 11.02 kB / 1.387 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/1.475, allocations: 15.42 kB / 1.387 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/1.475, allocations: 27.22 kB / 1.387 GB, free: 25.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/1.475, allocations: 18.83 kB / 1.387 GB, free: 25.89 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006274/1.475, allocations: 0.5673 MB / 1.387 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.475, allocations: 4 kB / 1.387 GB, free: 25.74 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004439/1.476, allocations: 133.8 kB / 1.388 GB, free: 25.72 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001013/1.477, allocations: 424.5 kB / 1.388 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005147/1.477, allocations: 382.6 kB / 1.388 GB, free: 25.45 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.477, allocations: 0 / 1.388 GB, free: 25.45 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/1.478, allocations: 106.9 kB / 1.388 GB, free: 25.44 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008184/1.478, allocations: 199 kB / 1.389 GB, free: 25.37 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/1.48, allocations: 0.8884 MB / 1.39 GB, free: 25 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/1.48, allocations: 0.9457 MB / 1.39 GB, free: 24.19 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002825/1.48, allocations: 111.3 kB / 1.391 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/1.481, allocations: 63.66 kB / 1.391 GB, free: 24.13 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.481, allocations: 0 / 1.391 GB, free: 24.13 MB / 0.8386 GB Notification: Performance of Templates: time 0.01174/1.492, allocations: 7.037 MB / 1.397 GB, free: 20.69 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches