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.001679/0.00168, allocations: 113.1 kB / 16.41 MB, free: 6.484 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.001931/0.001931, allocations: 193.2 kB / 17.34 MB, free: 5.75 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.581/1.581, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.761/2.761, allocations: 437.1 MB / 0.7112 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 59.91 kB / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055/1.057, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime): time 0.00209/1.059, allocations: 0.5732 MB / 1.168 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 4.595e-05/1.059, allocations: 7.969 kB / 1.168 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.337e-05/1.059, allocations: 4 kB / 1.168 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.084e-05/1.059, allocations: 3.938 kB / 1.168 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.962e-05/1.059, allocations: 3.938 kB / 1.168 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.296e-05/1.059, allocations: 4 kB / 1.168 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.496e-05/1.06, allocations: 0 / 1.168 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.722e-05/1.06, allocations: 4 kB / 1.168 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.654e-05/1.06, allocations: 4 kB / 1.168 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 1.933e-05/1.06, allocations: 0 / 1.168 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.808e-06/1.06, allocations: 0 / 1.168 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.438e-06/1.06, allocations: 0 / 1.168 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/1.06, allocations: 0 / 1.168 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.024e-05/1.06, allocations: 0 / 1.168 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 6.434e-05/1.06, allocations: 0 / 1.168 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.06, allocations: 0 / 1.168 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.533e-06/1.06, allocations: 4 kB / 1.168 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.601e-06/1.06, allocations: 0 / 1.168 GB, free: 3.203 MB / 0.8887 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.0003677/1.06, allocations: 319.5 kB / 1.168 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/1.06, allocations: 12.95 kB / 1.168 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/1.06, allocations: 0.9375 kB / 1.168 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/1.06, allocations: 160.4 kB / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/1.06, allocations: 384 / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-06/1.06, allocations: 384 / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/1.061, allocations: 34.2 kB / 1.168 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.061, allocations: 4.125 kB / 1.168 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/1.061, allocations: 3.938 kB / 1.168 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/1.061, allocations: 7.984 kB / 1.168 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.876e-05/1.061, allocations: 0 / 1.168 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/1.061, allocations: 145.7 kB / 1.169 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.272e-05/1.061, allocations: 18.61 kB / 1.169 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.685e-05/1.061, allocations: 8.922 kB / 1.169 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/1.061, allocations: 0 / 1.169 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/1.061, allocations: 38.5 kB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/1.061, allocations: 0 / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001475/1.061, allocations: 45.58 kB / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/1.061, allocations: 51.41 kB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.503e-05/1.061, allocations: 89.86 kB / 1.169 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/1.061, allocations: 25.7 kB / 1.169 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.992e-05/1.061, allocations: 84.14 kB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/1.061, allocations: 0 / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/1.061, allocations: 9.844 kB / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001501/1.062, allocations: 314.8 kB / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.395e-05/1.062, allocations: 8 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.245e-06/1.062, allocations: 0 / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.735e-05/1.062, allocations: 16.8 kB / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/1.062, allocations: 0 / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.568e-05/1.062, allocations: 33.69 kB / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/1.062, allocations: 6.344 kB / 1.169 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/1.062, allocations: 96 / 1.169 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/1.062, allocations: 7.938 kB / 1.169 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.896e-05/1.062, allocations: 4 kB / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/1.062, allocations: 0 / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.089e-05/1.062, allocations: 0 / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/1.062, allocations: 0 / 1.169 GB, free: 1.559 MB / 0.8887 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 8.742e-05/1.062, allocations: 109.8 kB / 1.169 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-06/1.062, allocations: 4 kB / 1.169 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/1.062, allocations: 7.062 kB / 1.169 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/1.062, allocations: 3.984 kB / 1.169 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.062, allocations: 7.938 kB / 1.169 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/1.062, allocations: 3.938 kB / 1.169 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/1.062, allocations: 149.6 kB / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.062, allocations: 0 / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.801e-05/1.062, allocations: 4 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/1.062, allocations: 3.984 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/1.062, allocations: 3.938 kB / 1.17 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/1.062, allocations: 0 / 1.17 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.062, allocations: 0 / 1.17 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.425e-05/1.062, allocations: 65.12 kB / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/1.062, allocations: 77.11 kB / 1.17 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/1.062, allocations: 3.938 kB / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-06/1.062, allocations: 0 / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.158e-05/1.062, allocations: 0 / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/1.062, allocations: 0 / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 3.87e-05/1.062, allocations: 79.28 kB / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1e-07/1.062, allocations: 0 / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001804/1.063, allocations: 4.031 kB / 1.17 GB, free: 0.9414 MB / 0.8887 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.000174/1.063, allocations: 107.2 kB / 1.17 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 7.003e-05/1.063, allocations: 0 / 1.17 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/1.063, allocations: 4 kB / 1.17 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 7.664e-06/1.063, allocations: 4 kB / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/1.063, allocations: 0 / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002977/1.063, allocations: 86.61 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/1.064, allocations: 0.6768 MB / 1.171 GB, free: 4 kB / 0.8887 GB Notification: Performance of simCode: alias equations: time 1.286e-05/1.064, allocations: 0 / 1.171 GB, free: 4 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/1.064, allocations: 7.438 kB / 1.171 GB, free: 16 MB / 0.9044 GB Notification: Performance of SimCode: time 3.4e-07/1.064, allocations: 0 / 1.171 GB, free: 16 MB / 0.9044 GB Notification: Performance of Templates: time 0.002213/1.066, allocations: 179.2 kB / 1.171 GB, free: 15.82 MB / 0.9044 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 -s cvode -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/jenkins1/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