Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001557/0.001557, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 197.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 240.2 MB, free: 4.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.717/2.717, allocations: 437 MB / 0.7103 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.91 kB / 0.8692 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7794/0.7808, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime): time 0.00199/0.7829, allocations: 0.5643 MB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 4.448e-05/0.7829, allocations: 0 / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.792e-05/0.783, allocations: 4 kB / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.925e-05/0.783, allocations: 0 / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.488e-05/0.7831, allocations: 3.938 kB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 7.017e-05/0.7831, allocations: 4 kB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.798e-05/0.7832, allocations: 3.984 kB / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.417e-05/0.7833, allocations: 0 / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.439e-05/0.7833, allocations: 4 kB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.731e-05/0.7833, allocations: 4 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.7833, allocations: 0 / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.48e-06/0.7833, allocations: 0 / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.7833, allocations: 0 / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.62e-05/0.7834, allocations: 0 / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 5.788e-05/0.7834, allocations: 3.984 kB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.7834, allocations: 3.938 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7835, allocations: 4 kB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.7835, allocations: 0 / 1.018 GB, free: 1.855 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.0002672/0.7837, allocations: 311.5 kB / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.7838, allocations: 16.06 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.756e-05/0.7838, allocations: 0.9375 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.192e-05/0.7839, allocations: 160.4 kB / 1.018 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.7839, allocations: 4.359 kB / 1.018 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.7839, allocations: 4.359 kB / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.912e-05/0.784, allocations: 30.27 kB / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.7841, allocations: 192 / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.7841, allocations: 7.875 kB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.7841, allocations: 0 / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.848e-05/0.7841, allocations: 4 kB / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001477/0.7843, allocations: 145.7 kB / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.914e-05/0.7843, allocations: 22.55 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.649e-05/0.7843, allocations: 8.922 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.7843, allocations: 3.984 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.7844, allocations: 30.56 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.7844, allocations: 4 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001197/0.7845, allocations: 37.64 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.42e-05/0.7846, allocations: 55.34 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.729e-05/0.7846, allocations: 89.86 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.7847, allocations: 25.7 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 8.804e-05/0.7848, allocations: 84.14 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.7848, allocations: 3.906 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.7848, allocations: 9.719 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.7849, allocations: 315 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.155e-05/0.785, allocations: 7.984 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.985e-06/0.785, allocations: 8 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.777e-05/0.785, allocations: 8.859 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.785, allocations: 0 / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.593e-05/0.7851, allocations: 29.7 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.7851, allocations: 7.938 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.7851, allocations: 3.984 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.7851, allocations: 8.031 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.841e-05/0.7852, allocations: 4 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.7852, allocations: 0 / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.01e-05/0.7852, allocations: 0 / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.7852, allocations: 0 / 1.019 GB, free: 212 kB / 0.7637 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.7853, allocations: 113.8 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-06/0.7853, allocations: 4 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.711e-05/0.7854, allocations: 11 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.7854, allocations: 0 / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.7854, allocations: 4 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.7854, allocations: 0 / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.7855, allocations: 141.7 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.7855, allocations: 3.938 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.642e-05/0.7855, allocations: 7.984 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.7855, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.7855, allocations: 3.938 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.7855, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7856, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.073e-05/0.7856, allocations: 65.08 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/0.7857, allocations: 77.11 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.7857, allocations: 3.938 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.022e-05/0.7857, allocations: 3.984 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.022e-05/0.7857, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.7857, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.742e-05/0.7858, allocations: 79.28 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7858, allocations: 0 / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001946/0.786, allocations: 0 / 1.02 GB, free: 15.6 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 (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.0001255/0.7861, allocations: 103.3 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.086e-05/0.7862, allocations: 0 / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7862, allocations: 4 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.744e-05/0.7862, allocations: 4 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.7863, allocations: 5.906 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000253/0.7866, allocations: 93.52 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.7869, allocations: 0.6769 MB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.098e-05/0.7869, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.77e-05/0.7869, allocations: 7.438 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.7869, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of Templates: time 0.001878/0.7888, allocations: 172.7 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches