Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.65/1.65, allocations: 291.7 MB / 306.8 MB, free: 7.68 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009611/0.0009611, allocations: 189.6 kB / 375.4 MB, free: 5.113 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 225.7 MB / 0.6538 GB, free: 13.61 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000895/0.0008951, allocations: 109 kB / 0.7699 GB, free: 50.29 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005139/0.0005144, allocations: 16 kB / 0.8956 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7444/0.745, allocations: 118.1 MB / 1.011 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.0008129/0.7458, allocations: 327.1 kB / 1.011 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 4.274e-05/0.7459, allocations: 5.203 kB / 1.011 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.144e-05/0.7459, allocations: 1.562 kB / 1.011 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.419e-05/0.7459, allocations: 0 / 1.011 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.806e-06/0.7459, allocations: 0 / 1.011 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.736e-05/0.746, allocations: 0 / 1.011 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.829e-05/0.746, allocations: 0.5625 kB / 1.011 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.061e-05/0.7461, allocations: 4.219 kB / 1.011 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 1.146e-05/0.7461, allocations: 0 / 1.011 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.098e-05/0.7462, allocations: 2.969 kB / 1.011 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.7462, allocations: 0 / 1.011 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.029e-06/0.7462, allocations: 0.8125 kB / 1.011 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.487e-06/0.7462, allocations: 0 / 1.011 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.068e-05/0.7462, allocations: 32.52 kB / 1.011 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 3.856e-05/0.7463, allocations: 0.5312 kB / 1.011 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.7463, allocations: 6.391 kB / 1.011 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7463, allocations: 0 / 1.011 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.7463, allocations: 0 / 1.011 GB, free: 57.79 MB / 0.7136 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.0002175/0.7465, allocations: 311.6 kB / 1.012 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.7466, allocations: 10.22 kB / 1.012 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.81e-05/0.7466, allocations: 0.9375 kB / 1.012 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.266e-05/0.7467, allocations: 167.1 kB / 1.012 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.7467, allocations: 384 / 1.012 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.7467, allocations: 3.375 kB / 1.012 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.275e-05/0.7468, allocations: 31.61 kB / 1.012 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.7468, allocations: 0.8438 kB / 1.012 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.7468, allocations: 3.938 kB / 1.012 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.7469, allocations: 4.406 kB / 1.012 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.758e-05/0.7469, allocations: 0 / 1.012 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001048/0.747, allocations: 145.6 kB / 1.012 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.749e-05/0.747, allocations: 24.36 kB / 1.012 GB, free: 56.99 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.134e-05/0.7471, allocations: 8.141 kB / 1.012 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.7471, allocations: 0.9375 kB / 1.012 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.7471, allocations: 38.59 kB / 1.012 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.7471, allocations: 0 / 1.012 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001101/0.7472, allocations: 36.88 kB / 1.012 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.7473, allocations: 57.75 kB / 1.012 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.14e-05/0.7473, allocations: 90.55 kB / 1.012 GB, free: 56.74 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.7473, allocations: 25.7 kB / 1.012 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.31e-05/0.7473, allocations: 80.86 kB / 1.012 GB, free: 56.63 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.7474, allocations: 1.812 kB / 1.012 GB, free: 56.63 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-06/0.7474, allocations: 2.844 kB / 1.012 GB, free: 56.63 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.657e-05/0.7474, allocations: 315.3 kB / 1.013 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.733e-06/0.7474, allocations: 2.375 kB / 1.013 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.22e-06/0.7474, allocations: 0.7031 kB / 1.013 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.032e-05/0.7475, allocations: 7.547 kB / 1.013 GB, free: 56.31 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.7475, allocations: 2.938 kB / 1.013 GB, free: 56.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.055e-05/0.7475, allocations: 35.38 kB / 1.013 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.7475, allocations: 12.25 kB / 1.013 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.7476, allocations: 0 / 1.013 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.7476, allocations: 3.938 kB / 1.013 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.744e-05/0.7476, allocations: 1.953 kB / 1.013 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.7477, allocations: 4.578 kB / 1.013 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.083e-05/0.7477, allocations: 2.375 kB / 1.013 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.7477, allocations: 2.594 kB / 1.013 GB, free: 56.27 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/0.7477, allocations: 111.1 kB / 1.013 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-06/0.7477, allocations: 0.6562 kB / 1.013 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.82e-05/0.7478, allocations: 12.52 kB / 1.013 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.7478, allocations: 2.547 kB / 1.013 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7478, allocations: 1 kB / 1.013 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.7478, allocations: 0 / 1.013 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.499e-05/0.7478, allocations: 148.6 kB / 1.013 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.7479, allocations: 1.188 kB / 1.013 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.987e-06/0.7479, allocations: 1.219 kB / 1.013 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.7479, allocations: 3.938 kB / 1.013 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.7479, allocations: 4.938 kB / 1.013 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.7479, allocations: 2.625 kB / 1.013 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.7479, allocations: 1.875 kB / 1.013 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.04e-05/0.748, allocations: 64.59 kB / 1.013 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.842e-05/0.748, allocations: 77.11 kB / 1.013 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.748, allocations: 6.234 kB / 1.013 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.522e-06/0.748, allocations: 1.938 kB / 1.013 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.702e-05/0.748, allocations: 2.781 kB / 1.013 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-06/0.748, allocations: 0 / 1.013 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.459e-05/0.7481, allocations: 75.28 kB / 1.013 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.7481, allocations: 2.094 kB / 1.013 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001855/0.7483, allocations: 1.5 kB / 1.013 GB, free: 55.71 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.558e-05/0.7484, allocations: 104.1 kB / 1.013 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.992e-05/0.7484, allocations: 7.281 kB / 1.013 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.7484, allocations: 0 / 1.013 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.418e-06/0.7484, allocations: 3.812 kB / 1.013 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.7486, allocations: 2.781 kB / 1.013 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001696/0.7488, allocations: 73.64 kB / 1.013 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.7489, allocations: 0.6745 MB / 1.014 GB, free: 54.83 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.393e-05/0.7489, allocations: 0.5312 kB / 1.014 GB, free: 54.83 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.344e-05/0.7489, allocations: 7.438 kB / 1.014 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.7489, allocations: 1 kB / 1.014 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of Templates: time 0.001643/0.7506, allocations: 157.8 kB / 1.014 GB, free: 54.82 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)