Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.21/2.21, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001113/0.001113, allocations: 183 kB / 0.4902 GB, free: 2.254 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.767/1.767, allocations: 223.2 MB / 0.7992 GB, free: 15.71 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.001291/0.001291, allocations: 104.4 kB / 0.9396 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003914, allocations: 11.3 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3034, allocations: 143 MB / 1.229 GB, free: 85.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2/0.5034, allocations: 149.1 MB / 1.375 GB, free: 140 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.5037, allocations: 71.94 kB / 1.375 GB, free: 68 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0004758/0.5042, allocations: 364.9 kB / 1.375 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5042, allocations: 4 kB / 1.375 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.5042, allocations: 0 / 1.375 GB, free: 15.7 MB / 0.8855 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.0002467/0.5045, allocations: 308.1 kB / 1.376 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.5045, allocations: 8.625 kB / 1.376 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.5045, allocations: 0 / 1.376 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.896e-05/0.5046, allocations: 167 kB / 1.376 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.5047, allocations: 0 / 1.376 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.5047, allocations: 0 / 1.376 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.885e-05/0.5048, allocations: 33.62 kB / 1.376 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.5048, allocations: 0 / 1.376 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.5048, allocations: 0 / 1.376 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.5048, allocations: 7.938 kB / 1.376 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.955e-05/0.5048, allocations: 4 kB / 1.376 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.505, allocations: 149.6 kB / 1.376 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 3.307e-05/0.505, allocations: 20.58 kB / 1.376 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.505, allocations: 0 / 1.376 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.5051, allocations: 30.56 kB / 1.376 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.5051, allocations: 0 / 1.376 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1): time 0.0001226/0.5052, allocations: 45.69 kB / 1.376 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.5053, allocations: 51.41 kB / 1.376 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.263e-05/0.5053, allocations: 85 kB / 1.376 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.5053, allocations: 25.7 kB / 1.376 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.252e-05/0.5054, allocations: 84.14 kB / 1.376 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.5054, allocations: 0 / 1.376 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-06/0.5054, allocations: 0 / 1.376 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.5055, allocations: 310.8 kB / 1.377 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.435e-06/0.5055, allocations: 128 / 1.377 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.461e-06/0.5056, allocations: 4 kB / 1.377 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.902e-05/0.5056, allocations: 8 kB / 1.377 GB, free: 14.19 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.5056, allocations: 7.891 kB / 1.377 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.333e-05/0.5057, allocations: 37.62 kB / 1.377 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.5057, allocations: 4 kB / 1.377 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.5057, allocations: 0 / 1.377 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.5057, allocations: 4 kB / 1.377 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.029e-05/0.5058, allocations: 0 / 1.377 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.5058, allocations: 0 / 1.377 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.085e-05/0.5058, allocations: 4.094 kB / 1.377 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.5058, allocations: 0 / 1.377 GB, free: 14.12 MB / 0.8855 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.531e-05/0.5059, allocations: 109.8 kB / 1.377 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.5059, allocations: 7.859 kB / 1.377 GB, free: 14 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.576e-05/0.5059, allocations: 3.125 kB / 1.377 GB, free: 14 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.5059, allocations: 0 / 1.377 GB, free: 14 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5059, allocations: 0 / 1.377 GB, free: 14 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.5059, allocations: 3.984 kB / 1.377 GB, free: 14 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.799e-05/0.506, allocations: 153.9 kB / 1.377 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.506, allocations: 4 kB / 1.377 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.42e-05/0.5061, allocations: 3.953 kB / 1.377 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.5061, allocations: 0 / 1.377 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.5061, allocations: 0 / 1.377 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.5061, allocations: 4 kB / 1.377 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5061, allocations: 0 / 1.377 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.599e-05/0.5062, allocations: 61.06 kB / 1.377 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.5062, allocations: 85.09 kB / 1.377 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.5062, allocations: 7.984 kB / 1.377 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.093e-06/0.5062, allocations: 0 / 1.377 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.153e-05/0.5063, allocations: 4 kB / 1.377 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.5063, allocations: 0 / 1.377 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.501e-05/0.5063, allocations: 75.28 kB / 1.377 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1e-07/0.5063, allocations: 0 / 1.377 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001899/0.5065, allocations: 0 / 1.377 GB, free: 13.52 MB / 0.8855 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.000133/0.5066, allocations: 108 kB / 1.377 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 6.661e-05/0.5067, allocations: 8 kB / 1.377 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5067, allocations: 0 / 1.377 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.733e-06/0.5067, allocations: 3.938 kB / 1.377 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.778e-05/0.5068, allocations: 0 / 1.377 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002111/0.507, allocations: 84.72 kB / 1.377 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.5073, allocations: 0.677 MB / 1.378 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.432e-05/0.5073, allocations: 0 / 1.378 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.481e-05/0.5073, allocations: 7.562 kB / 1.378 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of SimCode: time 1.653e-06/0.5073, allocations: 4 kB / 1.378 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of Templates: time 0.001665/0.509, allocations: 167.6 kB / 1.378 GB, free: 12.41 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches