Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_9_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.001196/0.001196, allocations: 105.7 kB / 16.37 MB, free: 6.465 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.001173/0.001173, allocations: 190 kB / 17.31 MB, free: 5.812 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.197/1.197, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.974/1.974, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 62.23 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2223, allocations: 140.4 MB / 0.9511 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001675/0.224, allocations: 0.5973 MB / 0.9517 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 3.526e-05/0.2241, allocations: 0 / 0.9517 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.612e-05/0.2241, allocations: 0 / 0.9517 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.419e-05/0.2241, allocations: 0 / 0.9517 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.338e-06/0.2241, allocations: 0 / 0.9517 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.279e-05/0.2242, allocations: 8 kB / 0.9517 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.978e-05/0.2242, allocations: 0 / 0.9517 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5e-05/0.2243, allocations: 4 kB / 0.9517 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.175e-05/0.2243, allocations: 0 / 0.9517 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 1.942e-05/0.2243, allocations: 11.91 kB / 0.9517 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.2243, allocations: 0 / 0.9517 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.026e-06/0.2243, allocations: 4 kB / 0.9517 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.2244, allocations: 0 / 0.9517 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.089e-05/0.2244, allocations: 4 kB / 0.9517 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 4.315e-05/0.2244, allocations: 3.938 kB / 0.9517 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2244, allocations: 0 / 0.9517 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2244, allocations: 4 kB / 0.9517 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2245, allocations: 0 / 0.9517 GB, free: 7.457 MB / 0.7325 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.000245/0.2247, allocations: 307.6 kB / 0.952 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.2247, allocations: 8.031 kB / 0.952 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.015e-05/0.2248, allocations: 0.9375 kB / 0.952 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.231e-05/0.2248, allocations: 164.4 kB / 0.9522 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.2249, allocations: 4.375 kB / 0.9522 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.2249, allocations: 384 / 0.9522 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.313e-05/0.225, allocations: 30.27 kB / 0.9522 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.225, allocations: 4.188 kB / 0.9522 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.225, allocations: 3.938 kB / 0.9522 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.225, allocations: 0 / 0.9522 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.796e-05/0.225, allocations: 7.984 kB / 0.9522 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001168/0.2251, allocations: 145.6 kB / 0.9524 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.435e-05/0.2252, allocations: 18.56 kB / 0.9524 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.91e-05/0.2252, allocations: 12.95 kB / 0.9524 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.2252, allocations: 4 kB / 0.9524 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.889e-05/0.2252, allocations: 34.5 kB / 0.9524 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 2.936e-06/0.2252, allocations: 4 kB / 0.9525 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001006/0.2253, allocations: 45.42 kB / 0.9525 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.2254, allocations: 51.41 kB / 0.9525 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.945e-05/0.2254, allocations: 89.86 kB / 0.9526 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.2254, allocations: 25.7 kB / 0.9527 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.938e-05/0.2255, allocations: 80.27 kB / 0.9527 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.2255, allocations: 4 kB / 0.9527 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.2255, allocations: 21.7 kB / 0.9528 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9e-05/0.2256, allocations: 310.8 kB / 0.9531 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.494e-06/0.2256, allocations: 0 / 0.9531 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.686e-06/0.2256, allocations: 0 / 0.9531 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.458e-05/0.2257, allocations: 8.859 kB / 0.9531 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.2257, allocations: 0 / 0.9531 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.397e-05/0.2257, allocations: 41.7 kB / 0.9531 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.2257, allocations: 8 kB / 0.9531 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2258, allocations: 0 / 0.9531 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.2258, allocations: 3.938 kB / 0.9531 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.257e-05/0.2258, allocations: 0 / 0.9531 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.2258, allocations: 3.984 kB / 0.9531 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.006e-05/0.2258, allocations: 4 kB / 0.9531 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-06/0.2258, allocations: 0 / 0.9531 GB, free: 5.812 MB / 0.7325 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 5.914e-05/0.2259, allocations: 105.8 kB / 0.9532 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-06/0.2259, allocations: 4.031 kB / 0.9532 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.335e-05/0.2259, allocations: 7.062 kB / 0.9532 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.2259, allocations: 0 / 0.9532 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.2259, allocations: 0 / 0.9532 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.226, allocations: 4 kB / 0.9532 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.891e-05/0.226, allocations: 145.7 kB / 0.9534 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.226, allocations: 0 / 0.9534 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.758e-06/0.2261, allocations: 4 kB / 0.9534 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.2261, allocations: 0 / 0.9534 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.2261, allocations: 7.938 kB / 0.9534 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.2261, allocations: 0 / 0.9534 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2261, allocations: 4 kB / 0.9534 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.132e-05/0.2261, allocations: 57.08 kB / 0.9534 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 2.839e-05/0.2262, allocations: 81.09 kB / 0.9535 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.2262, allocations: 7.938 kB / 0.9535 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.252e-06/0.2262, allocations: 3.938 kB / 0.9535 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.404e-06/0.2262, allocations: 0 / 0.9535 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-06/0.2262, allocations: 0 / 0.9535 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.809e-05/0.2262, allocations: 81.42 kB / 0.9536 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2263, allocations: 3.938 kB / 0.9536 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001599/0.2264, allocations: 4 kB / 0.9536 GB, free: 5.207 MB / 0.7325 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 7.763e-05/0.2265, allocations: 95.25 kB / 0.9537 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.192e-05/0.2266, allocations: 4 kB / 0.9537 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2266, allocations: 0 / 0.9537 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.093e-06/0.2266, allocations: 3.938 kB / 0.9537 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.2267, allocations: 8.125 kB / 0.9537 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001564/0.2269, allocations: 88.91 kB / 0.9538 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.2271, allocations: 0.6766 MB / 0.9545 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.137e-06/0.2271, allocations: 0 / 0.9545 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.327e-05/0.2271, allocations: 7.438 kB / 0.9545 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.2271, allocations: 0 / 0.9545 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of Templates: time 0.001543/0.2286, allocations: 165.2 kB / 0.9546 GB, free: 4.105 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_9_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches