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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.007599/0.007599, allocations: 100.7 kB / 15.87 MB, free: 5.867 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.001367/0.001367, allocations: 192.7 kB / 16.79 MB, free: 5.809 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.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.772/2.772, allocations: 437 MB / 0.7106 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 67.89 kB / 0.8692 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7005/0.702, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.002023/0.704, allocations: 0.6604 MB / 1.018 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 3.912e-05/0.7041, allocations: 3.938 kB / 1.018 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.37e-05/0.7041, allocations: 4 kB / 1.018 GB, free: 2.125 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.872e-05/0.7042, allocations: 0 / 1.018 GB, free: 2.125 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.21e-06/0.7042, allocations: 0 / 1.018 GB, free: 2.125 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.779e-05/0.7042, allocations: 0 / 1.018 GB, free: 2.125 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.624e-05/0.7043, allocations: 4 kB / 1.018 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.517e-05/0.7043, allocations: 0 / 1.018 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.338e-05/0.7044, allocations: 4 kB / 1.018 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.899e-05/0.7044, allocations: 0 / 1.018 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.7044, allocations: 4 kB / 1.018 GB, free: 2.113 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.637e-06/0.7044, allocations: 0 / 1.018 GB, free: 2.113 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.7044, allocations: 0 / 1.018 GB, free: 2.113 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.005e-05/0.7044, allocations: 0 / 1.018 GB, free: 2.113 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.301e-05/0.7045, allocations: 3.984 kB / 1.018 GB, free: 2.109 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7045, allocations: 0 / 1.018 GB, free: 2.109 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.11e-07/0.7045, allocations: 0 / 1.018 GB, free: 2.109 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.7045, allocations: 0 / 1.018 GB, free: 2.109 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.000286/0.7048, allocations: 311.6 kB / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.7048, allocations: 8.031 kB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.7049, allocations: 12.84 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.705, allocations: 164.4 kB / 1.018 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.705, allocations: 384 / 1.018 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.705, allocations: 4.312 kB / 1.018 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.067e-05/0.7051, allocations: 26.27 kB / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.403e-06/0.7051, allocations: 8.062 kB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.7051, allocations: 3.938 kB / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.7052, allocations: 4 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.643e-05/0.7052, allocations: 0 / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001413/0.7053, allocations: 149.7 kB / 1.019 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.167e-05/0.7054, allocations: 22.61 kB / 1.019 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.419e-05/0.7054, allocations: 8.844 kB / 1.019 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.7054, allocations: 0 / 1.019 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.7054, allocations: 34.62 kB / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 2.484e-06/0.7055, allocations: 0 / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.000122/0.7056, allocations: 45.56 kB / 1.019 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.7056, allocations: 51.41 kB / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.025e-05/0.7057, allocations: 93.86 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.7057, allocations: 25.7 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.733e-05/0.7057, allocations: 80.14 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.7058, allocations: 0 / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.7058, allocations: 13.72 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.7059, allocations: 310.8 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.035e-05/0.7059, allocations: 4.125 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-06/0.7059, allocations: 4 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.853e-05/0.706, allocations: 12.8 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.706, allocations: 0 / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.498e-05/0.706, allocations: 41.69 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.7061, allocations: 4 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.7061, allocations: 0 / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.7061, allocations: 3.938 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.313e-05/0.7061, allocations: 0 / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.7062, allocations: 8.094 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.889e-06/0.7062, allocations: 0 / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.7062, allocations: 0 / 1.019 GB, free: 468 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 7.773e-05/0.7063, allocations: 106.4 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-06/0.7063, allocations: 0 / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.792e-05/0.7063, allocations: 7.062 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.7063, allocations: 4 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.7063, allocations: 3.938 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.7063, allocations: 3.984 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.293e-05/0.7064, allocations: 149.7 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.7064, allocations: 0 / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.201e-05/0.7064, allocations: 3.938 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.7065, allocations: 4 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.7065, allocations: 3.938 kB / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.7065, allocations: 0 / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7065, allocations: 3.938 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.604e-05/0.7065, allocations: 57.12 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.7066, allocations: 85.14 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.7066, allocations: 3.938 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-06/0.7066, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.02e-05/0.7066, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.7067, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.446e-05/0.7067, allocations: 75.28 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7067, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001736/0.7069, allocations: 4 kB / 1.02 GB, free: 15.86 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 9.846e-05/0.707, allocations: 101.2 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.906e-05/0.707, allocations: 7.938 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.7071, allocations: 0 / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.783e-06/0.7071, allocations: 4 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001224/0.7072, allocations: 1.562 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002121/0.7074, allocations: 108.3 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.7076, allocations: 0.6731 MB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.422e-05/0.7077, allocations: 7.438 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of SimCode: time 5.81e-07/0.7077, allocations: 4.125 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of Templates: time 0.001362/0.709, allocations: 319.8 kB / 1.021 GB, free: 14.57 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/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