Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.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.StandardTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|staTim.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|staTim.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.206/2.206, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001254/0.001254, allocations: 173.1 kB / 498.1 MB, free: 5.738 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.551/1.551, allocations: 223.2 MB / 0.7948 GB, free: 17.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009864/0.0009865, allocations: 96.75 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004047/0.0004048, allocations: 16.38 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3178, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1818/0.4996, allocations: 148.4 MB / 1.368 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.4999, allocations: 75.89 kB / 1.368 GB, free: 13.63 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005176/0.5004, allocations: 356.9 kB / 1.368 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.465e-06/0.5005, allocations: 0 / 1.368 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.5005, allocations: 0 / 1.368 GB, free: 13.28 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002654/0.5007, allocations: 311.4 kB / 1.368 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.5008, allocations: 8.031 kB / 1.368 GB, free: 12.92 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.5008, allocations: 4 kB / 1.368 GB, free: 12.92 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.946e-05/0.5009, allocations: 163 kB / 1.369 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.501, allocations: 4 kB / 1.369 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.501, allocations: 0 / 1.369 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.693e-05/0.5011, allocations: 29.7 kB / 1.369 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.5011, allocations: 0 / 1.369 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.5011, allocations: 0 / 1.369 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.5011, allocations: 0 / 1.369 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.12e-05/0.5011, allocations: 7.922 kB / 1.369 GB, free: 12.67 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.5013, allocations: 153.6 kB / 1.369 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.32e-05/0.5013, allocations: 21.31 kB / 1.369 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.5014, allocations: 0 / 1.369 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.5014, allocations: 34.56 kB / 1.369 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.5014, allocations: 0 / 1.369 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001242/0.5015, allocations: 37.73 kB / 1.369 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.5016, allocations: 55.52 kB / 1.369 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.857e-05/0.5016, allocations: 89 kB / 1.369 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.5016, allocations: 25.7 kB / 1.369 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.424e-05/0.5017, allocations: 80.14 kB / 1.369 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.5017, allocations: 3.906 kB / 1.369 GB, free: 12.08 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.513e-06/0.5017, allocations: 0 / 1.369 GB, free: 12.08 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.5018, allocations: 314.8 kB / 1.369 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-06/0.5018, allocations: 4 kB / 1.369 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.666e-06/0.5019, allocations: 0 / 1.369 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.546e-05/0.5019, allocations: 4.062 kB / 1.369 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.5019, allocations: 3.953 kB / 1.369 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.613e-05/0.5019, allocations: 37.64 kB / 1.37 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.502, allocations: 4 kB / 1.37 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.502, allocations: 0 / 1.37 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.502, allocations: 7.922 kB / 1.37 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.084e-05/0.502, allocations: 0 / 1.37 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.5021, allocations: 4 kB / 1.37 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.618e-06/0.5021, allocations: 0 / 1.37 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.5021, allocations: 3.938 kB / 1.37 GB, free: 11.69 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 6.135e-05/0.5021, allocations: 113.9 kB / 1.37 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-06/0.5022, allocations: 3.953 kB / 1.37 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.065e-05/0.5022, allocations: 3.125 kB / 1.37 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.5022, allocations: 4 kB / 1.37 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.5022, allocations: 0 / 1.37 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.5022, allocations: 0 / 1.37 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.146e-05/0.5023, allocations: 146.2 kB / 1.37 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.5023, allocations: 0 / 1.37 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.077e-05/0.5023, allocations: 7.953 kB / 1.37 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.5023, allocations: 4 kB / 1.37 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.85e-06/0.5023, allocations: 0 / 1.37 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5023, allocations: 0 / 1.37 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.5023, allocations: 0 / 1.37 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.457e-05/0.5024, allocations: 61.06 kB / 1.37 GB, free: 11.28 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.511e-05/0.5024, allocations: 85.09 kB / 1.37 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.5025, allocations: 3.953 kB / 1.37 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-06/0.5025, allocations: 0 / 1.37 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.5025, allocations: 4.031 kB / 1.37 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-06/0.5025, allocations: 0 / 1.37 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.966e-05/0.5025, allocations: 75.28 kB / 1.37 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5025, allocations: 0 / 1.37 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000181/0.5027, allocations: 4 kB / 1.37 GB, free: 11.09 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001352/0.5029, allocations: 99.03 kB / 1.37 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 5.654e-05/0.5029, allocations: 4 kB / 1.37 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5029, allocations: 4.062 kB / 1.37 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.148e-05/0.503, allocations: 15.92 kB / 1.37 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.035e-05/0.5031, allocations: 2.062 kB / 1.37 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002036/0.5033, allocations: 90.12 kB / 1.37 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.5035, allocations: 0.6731 MB / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.716e-05/0.5035, allocations: 4 kB / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.791e-05/0.5036, allocations: 7.438 kB / 1.371 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of SimCode: time 2.51e-07/0.5036, allocations: 0 / 1.371 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of Templates: time 0.001554/0.5051, allocations: 168 kB / 1.371 GB, free: 9.965 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches