Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001638/0.001638, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.08 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.473/2.473, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 63.91 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.911/0.9125, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001849/0.9144, allocations: 0.5928 MB / 1.168 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 3.439e-05/0.9145, allocations: 4 kB / 1.168 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.705e-05/0.9145, allocations: 0 / 1.168 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.261e-05/0.9145, allocations: 0 / 1.168 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.599e-06/0.9146, allocations: 0 / 1.168 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 3.306e-05/0.9146, allocations: 0 / 1.168 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.26e-05/0.9146, allocations: 7.984 kB / 1.168 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.837e-05/0.9147, allocations: 7.984 kB / 1.168 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.543e-05/0.9147, allocations: 0 / 1.168 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 1.546e-05/0.9147, allocations: 3.938 kB / 1.168 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.328e-06/0.9147, allocations: 0 / 1.168 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.318e-06/0.9148, allocations: 0 / 1.168 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.038e-05/0.9148, allocations: 4 kB / 1.168 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.9148, allocations: 0 / 1.168 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 4.283e-05/0.9148, allocations: 7.938 kB / 1.168 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.9148, allocations: 0 / 1.168 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of FrontEnd: time 8.52e-07/0.9149, allocations: 0 / 1.168 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.9149, allocations: 0 / 1.168 GB, free: 3.223 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.0002631/0.9151, allocations: 307.6 kB / 1.168 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.9152, allocations: 12.95 kB / 1.168 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.996e-05/0.9152, allocations: 4.922 kB / 1.168 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.013e-05/0.9153, allocations: 164.3 kB / 1.168 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.9153, allocations: 4.375 kB / 1.168 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-06/0.9153, allocations: 384 / 1.168 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.985e-05/0.9154, allocations: 30.27 kB / 1.168 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.789e-06/0.9154, allocations: 192 / 1.168 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-06/0.9154, allocations: 3.938 kB / 1.168 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-06/0.9154, allocations: 0 / 1.168 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.188e-05/0.9154, allocations: 0 / 1.168 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001158/0.9155, allocations: 153.6 kB / 1.169 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.803e-05/0.9156, allocations: 22.58 kB / 1.169 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.445e-05/0.9156, allocations: 12.95 kB / 1.169 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.9156, allocations: 0 / 1.169 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.9157, allocations: 34.5 kB / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.9157, allocations: 0 / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001205/0.9158, allocations: 37.58 kB / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.9158, allocations: 59.53 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.208e-05/0.9159, allocations: 89.86 kB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.9159, allocations: 29.7 kB / 1.169 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.61e-05/0.9159, allocations: 80.14 kB / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.916, allocations: 3.984 kB / 1.169 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.916, allocations: 9.719 kB / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.9161, allocations: 310.8 kB / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.466e-06/0.9161, allocations: 4 kB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.301e-06/0.9161, allocations: 4 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.904e-05/0.9162, allocations: 12.86 kB / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.9162, allocations: 0 / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.2e-05/0.9162, allocations: 33.64 kB / 1.169 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.9163, allocations: 4 kB / 1.169 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.9163, allocations: 0 / 1.169 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.9163, allocations: 7.938 kB / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.783e-05/0.9163, allocations: 3.984 kB / 1.169 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.9163, allocations: 0 / 1.169 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.143e-05/0.9164, allocations: 4.094 kB / 1.169 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.9164, allocations: 0 / 1.169 GB, free: 1.582 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 6.864e-05/0.9164, allocations: 109.8 kB / 1.169 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.103e-06/0.9165, allocations: 3.906 kB / 1.169 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.984e-05/0.9165, allocations: 11.06 kB / 1.169 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.9165, allocations: 3.984 kB / 1.169 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.9165, allocations: 0 / 1.169 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.9165, allocations: 0 / 1.169 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.869e-05/0.9166, allocations: 145.7 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.9166, allocations: 4 kB / 1.17 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.243e-05/0.9166, allocations: 7.938 kB / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.9166, allocations: 0 / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.9167, allocations: 3.938 kB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.9167, allocations: 0 / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.9167, allocations: 0 / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.679e-05/0.9167, allocations: 65.06 kB / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.9168, allocations: 81.05 kB / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.9168, allocations: 7.969 kB / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.613e-06/0.9168, allocations: 0 / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.9168, allocations: 0 / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.9168, allocations: 4 kB / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 3.517e-05/0.9169, allocations: 75.28 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1e-07/0.9169, allocations: 0 / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001682/0.9171, allocations: 0 / 1.17 GB, free: 0.9688 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 9.415e-05/0.9172, allocations: 95.25 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 6.166e-05/0.9172, allocations: 4 kB / 1.17 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.9172, allocations: 4 kB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 5.841e-06/0.9172, allocations: 3.938 kB / 1.17 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.9174, allocations: 3.984 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002208/0.9176, allocations: 114.4 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.9179, allocations: 0.669 MB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.798e-05/0.9179, allocations: 7.438 kB / 1.171 GB, free: 4 kB / 0.8887 GB Notification: Performance of SimCode: time 2.21e-07/0.9179, allocations: 4 kB / 1.171 GB, free: 0 / 0.8887 GB Notification: Performance of Templates: time 0.001453/0.9193, allocations: 334.4 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_10_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches