Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|staTim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|staTim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.827/2.827, allocations: 436.5 MB / 0.7104 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003884, allocations: 8 kB / 0.8708 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8687/0.8692, allocations: 153.7 MB / 1.021 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime): time 0.0009008/0.8701, allocations: 313.1 kB / 1.021 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 5.042e-05/0.8702, allocations: 4 kB / 1.021 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.502e-05/0.8702, allocations: 0 / 1.021 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.8702, allocations: 0 / 1.021 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.962e-05/0.8703, allocations: 3.938 kB / 1.021 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.403e-05/0.8703, allocations: 0 / 1.021 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.855e-05/0.8704, allocations: 4 kB / 1.021 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.22e-05/0.8704, allocations: 4 kB / 1.021 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.935e-05/0.8705, allocations: 0 / 1.021 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.263e-05/0.8705, allocations: 0 / 1.021 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.8705, allocations: 0 / 1.021 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.29e-06/0.8705, allocations: 3.938 kB / 1.021 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.8705, allocations: 4 kB / 1.021 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.8706, allocations: 25.7 kB / 1.021 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.622e-05/0.8706, allocations: 3.984 kB / 1.021 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.8706, allocations: 0 / 1.021 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.484e-06/0.8706, allocations: 7.938 kB / 1.021 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.8707, allocations: 0 / 1.021 GB, free: 0.7305 MB / 0.7637 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.0002911/0.871, allocations: 303.4 kB / 1.021 GB, free: 396 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.871, allocations: 12.05 kB / 1.021 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.871, allocations: 0 / 1.021 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.8712, allocations: 167.1 kB / 1.022 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.8712, allocations: 0 / 1.022 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.8712, allocations: 0 / 1.022 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.955e-05/0.8713, allocations: 33.64 kB / 1.022 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.8713, allocations: 0 / 1.022 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.8713, allocations: 0 / 1.022 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.8713, allocations: 0 / 1.022 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.936e-05/0.8714, allocations: 11.94 kB / 1.022 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.8715, allocations: 141.7 kB / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.984e-05/0.8716, allocations: 22.61 kB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.8716, allocations: 0 / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.8716, allocations: 30.56 kB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.8716, allocations: 0 / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001397/0.8718, allocations: 45.64 kB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.8718, allocations: 51.41 kB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.759e-05/0.8719, allocations: 89.86 kB / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.8719, allocations: 29.83 kB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.354e-05/0.8719, allocations: 80.14 kB / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.872, allocations: 7.906 kB / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-06/0.872, allocations: 3.938 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.8721, allocations: 310.8 kB / 1.022 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-06/0.8721, allocations: 0 / 1.022 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.472e-06/0.8721, allocations: 4 kB / 1.022 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.209e-05/0.8721, allocations: 4 kB / 1.022 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8721, allocations: 4.062 kB / 1.022 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.463e-05/0.8722, allocations: 33.69 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.8722, allocations: 7.938 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.8722, allocations: 0 / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.8723, allocations: 7.953 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.613e-05/0.8723, allocations: 0 / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.8723, allocations: 0 / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.015e-05/0.8723, allocations: 0 / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-06/0.8724, allocations: 0 / 1.023 GB, free: 15.14 MB / 0.7794 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 8.431e-05/0.8724, allocations: 113.9 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-06/0.8725, allocations: 0 / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.715e-05/0.8725, allocations: 3.125 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.71e-07/0.8725, allocations: 0 / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.8725, allocations: 11.88 kB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.8725, allocations: 3.984 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.8726, allocations: 149.7 kB / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.8726, allocations: 4 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.787e-06/0.8727, allocations: 0 / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.8727, allocations: 0 / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.299e-06/0.8727, allocations: 0 / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.8727, allocations: 8 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.8727, allocations: 0 / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.695e-05/0.8728, allocations: 69.02 kB / 1.023 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.8728, allocations: 77.11 kB / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.8728, allocations: 0 / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-06/0.8728, allocations: 0 / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/0.8729, allocations: 0 / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-06/0.8729, allocations: 8.031 kB / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.141e-05/0.8729, allocations: 79.23 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8729, allocations: 0 / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001828/0.8731, allocations: 0 / 1.023 GB, free: 14.53 MB / 0.7794 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.0001513/0.8732, allocations: 107.2 kB / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.037e-05/0.8733, allocations: 0 / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.8733, allocations: 0 / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.792e-06/0.8733, allocations: 8.062 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.672e-05/0.8734, allocations: 4.25 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000236/0.8737, allocations: 88.66 kB / 1.023 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.8739, allocations: 0.677 MB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.774e-05/0.874, allocations: 0 / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.731e-05/0.874, allocations: 7.438 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.874, allocations: 0 / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of Templates: time 0.002088/0.8761, allocations: 164.3 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches