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.001715/0.001715, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001731/0.001732, allocations: 193.9 kB / 16.14 MB, free: 6.691 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.42/1.42, allocations: 222.9 MB / 239.8 MB, free: 4.516 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.626/2.626, allocations: 437 MB / 0.7099 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 67.89 kB / 0.8685 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6511/0.6523, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.002191/0.6545, allocations: 0.6563 MB / 1.017 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 4.718e-05/0.6546, allocations: 3.984 kB / 1.017 GB, free: 2.074 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.551e-05/0.6546, allocations: 0 / 1.017 GB, free: 2.074 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.835e-05/0.6547, allocations: 7.984 kB / 1.017 GB, free: 2.066 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.101e-06/0.6547, allocations: 0 / 1.017 GB, free: 2.066 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.569e-05/0.6547, allocations: 4 kB / 1.017 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.266e-05/0.6548, allocations: 7.938 kB / 1.017 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.892e-05/0.6549, allocations: 0 / 1.017 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.643e-05/0.6549, allocations: 0 / 1.017 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.994e-05/0.6549, allocations: 0 / 1.017 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.6549, allocations: 0 / 1.017 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.839e-06/0.6549, allocations: 0 / 1.017 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.6549, allocations: 3.938 kB / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.11e-05/0.655, allocations: 0 / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 5.535e-05/0.655, allocations: 8 kB / 1.017 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.655, allocations: 0 / 1.017 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.92e-07/0.655, allocations: 0 / 1.017 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.655, allocations: 0 / 1.017 GB, free: 2.043 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.000303/0.6554, allocations: 311.5 kB / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.6554, allocations: 12.09 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.6554, allocations: 4.844 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.445e-05/0.6555, allocations: 164.4 kB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.6556, allocations: 384 / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.6556, allocations: 4.375 kB / 1.018 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.646e-05/0.6557, allocations: 30.27 kB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.6557, allocations: 192 / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.6557, allocations: 7.922 kB / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.6557, allocations: 0 / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.977e-05/0.6557, allocations: 7.875 kB / 1.018 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.6559, allocations: 153.7 kB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.48e-05/0.6559, allocations: 14.58 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.249e-05/0.6559, allocations: 12.95 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.656, allocations: 0 / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.656, allocations: 30.56 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.656, allocations: 0 / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001311/0.6561, allocations: 41.58 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.6562, allocations: 55.39 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.62e-05/0.6562, allocations: 89.86 kB / 1.018 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.6562, allocations: 33.83 kB / 1.018 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.487e-05/0.6563, allocations: 80.14 kB / 1.018 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.6563, allocations: 0 / 1.018 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/0.6563, allocations: 9.719 kB / 1.018 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.6564, allocations: 314.8 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-06/0.6565, allocations: 4 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.959e-06/0.6565, allocations: 0 / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.695e-05/0.6565, allocations: 16.92 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6565, allocations: 0 / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.634e-05/0.6566, allocations: 33.64 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.6566, allocations: 7.984 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.6566, allocations: 0 / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.6566, allocations: 3.938 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.298e-05/0.6567, allocations: 4 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.6567, allocations: 0 / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.04e-05/0.6567, allocations: 0 / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.6567, allocations: 0 / 1.019 GB, free: 408 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 6.855e-05/0.6568, allocations: 114.4 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.16e-06/0.6568, allocations: 0 / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.077e-05/0.6568, allocations: 11.06 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.6568, allocations: 0 / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.6568, allocations: 0 / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.6568, allocations: 0 / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.6569, allocations: 145.7 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6569, allocations: 4 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.899e-06/0.657, allocations: 0 / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-06/0.657, allocations: 3.938 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.657, allocations: 7.938 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.657, allocations: 0 / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.657, allocations: 0 / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.189e-05/0.6571, allocations: 65.06 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.6571, allocations: 81.11 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.6571, allocations: 3.938 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-06/0.6571, allocations: 0 / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.026e-05/0.6571, allocations: 4.031 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-06/0.6572, allocations: 4 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.2e-05/0.6572, allocations: 75.28 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6572, allocations: 0 / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000194/0.6574, allocations: 0 / 1.019 GB, free: 15.79 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.0001088/0.6575, allocations: 97.22 kB / 1.019 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.166e-05/0.6576, allocations: 3.984 kB / 1.019 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.6576, allocations: 0 / 1.019 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.432e-06/0.6576, allocations: 12 kB / 1.019 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.6577, allocations: 4 kB / 1.019 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001982/0.6579, allocations: 78.67 kB / 1.019 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.6582, allocations: 0.6731 MB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.496e-05/0.6582, allocations: 0 / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.293e-05/0.6582, allocations: 11.38 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.6582, allocations: 0 / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of Templates: time 0.00181/0.66, allocations: 165.2 kB / 1.02 GB, free: 14.7 MB / 0.7794 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches