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.00144/0.00144, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.001567/0.001567, allocations: 192 kB / 17.31 MB, free: 5.18 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.17 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 2.259/2.259, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 64.22 kB / 0.814 GB, free: 32.8 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2611, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001923/0.2631, allocations: 0.5973 MB / 0.9517 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 4.13e-05/0.2632, allocations: 3.984 kB / 0.9517 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.72e-05/0.2632, allocations: 3.938 kB / 0.9517 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.678e-05/0.2632, allocations: 0 / 0.9517 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.11e-06/0.2632, allocations: 0 / 0.9517 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.512e-05/0.2633, allocations: 0 / 0.9517 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.544e-05/0.2633, allocations: 8 kB / 0.9517 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.258e-05/0.2634, allocations: 4 kB / 0.9517 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.386e-05/0.2634, allocations: 4 kB / 0.9517 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 1.647e-05/0.2634, allocations: 3.938 kB / 0.9517 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.977e-06/0.2634, allocations: 0 / 0.9517 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.895e-06/0.2635, allocations: 0 / 0.9517 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.093e-05/0.2635, allocations: 0 / 0.9517 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.818e-05/0.2635, allocations: 0 / 0.9517 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 4.789e-05/0.2635, allocations: 4 kB / 0.9517 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2636, allocations: 0 / 0.9517 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2636, allocations: 0 / 0.9517 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2636, allocations: 0 / 0.9517 GB, free: 7.441 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.0002566/0.2638, allocations: 319.6 kB / 0.952 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.2639, allocations: 8.031 kB / 0.952 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.087e-05/0.2639, allocations: 0.9375 kB / 0.952 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.504e-05/0.264, allocations: 160.4 kB / 0.9522 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.264, allocations: 384 / 0.9522 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.677e-06/0.264, allocations: 4.312 kB / 0.9522 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.704e-05/0.2641, allocations: 34.25 kB / 0.9522 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.2641, allocations: 192 / 0.9522 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.2641, allocations: 3.938 kB / 0.9522 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2641, allocations: 0 / 0.9522 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.666e-05/0.2641, allocations: 7.938 kB / 0.9522 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001186/0.2643, allocations: 149.7 kB / 0.9524 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.498e-05/0.2643, allocations: 14.58 kB / 0.9524 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.163e-05/0.2643, allocations: 12.89 kB / 0.9524 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.2643, allocations: 0 / 0.9524 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.2644, allocations: 30.56 kB / 0.9524 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 6.92e-07/0.2644, allocations: 4 kB / 0.9524 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001131/0.2645, allocations: 49.47 kB / 0.9525 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.2645, allocations: 55.41 kB / 0.9525 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.1e-05/0.2646, allocations: 89.86 kB / 0.9526 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.2646, allocations: 25.7 kB / 0.9527 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.055e-05/0.2646, allocations: 80.14 kB / 0.9527 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.2646, allocations: 0 / 0.9527 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.307e-05/0.2647, allocations: 9.719 kB / 0.9527 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.2648, allocations: 319 kB / 0.953 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.245e-06/0.2648, allocations: 0 / 0.953 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.238e-06/0.2648, allocations: 0 / 0.953 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.545e-05/0.2648, allocations: 12.86 kB / 0.9531 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2648, allocations: 0 / 0.9531 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.503e-05/0.2649, allocations: 37.62 kB / 0.9531 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.2649, allocations: 4 kB / 0.9531 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2649, allocations: 4 kB / 0.9531 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.2649, allocations: 12.03 kB / 0.9531 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.407e-05/0.265, allocations: 0 / 0.9531 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.265, allocations: 0 / 0.9531 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.546e-06/0.265, allocations: 0 / 0.9531 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-06/0.265, allocations: 0 / 0.9531 GB, free: 5.797 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 6.124e-05/0.2651, allocations: 109.8 kB / 0.9532 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-06/0.2651, allocations: 0 / 0.9532 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.2651, allocations: 19.03 kB / 0.9532 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2651, allocations: 0 / 0.9532 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.2651, allocations: 3.938 kB / 0.9532 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.2651, allocations: 4 kB / 0.9532 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.554e-05/0.2652, allocations: 149.7 kB / 0.9534 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.2652, allocations: 0 / 0.9534 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.445e-06/0.2652, allocations: 0 / 0.9534 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.2652, allocations: 0 / 0.9534 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.2652, allocations: 3.938 kB / 0.9534 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.2652, allocations: 0 / 0.9534 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.2653, allocations: 7.984 kB / 0.9534 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.817e-05/0.2653, allocations: 61.08 kB / 0.9535 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 2.752e-05/0.2654, allocations: 77.11 kB / 0.9535 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.2654, allocations: 3.938 kB / 0.9535 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.162e-06/0.2654, allocations: 0 / 0.9535 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.344e-05/0.2654, allocations: 4 kB / 0.9535 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.2654, allocations: 7.922 kB / 0.9535 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.56e-05/0.2654, allocations: 77.39 kB / 0.9536 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2654, allocations: 0 / 0.9536 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001755/0.2656, allocations: 0 / 0.9536 GB, free: 5.184 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 8.019e-05/0.2657, allocations: 99.28 kB / 0.9537 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.221e-05/0.2658, allocations: 7.938 kB / 0.9537 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2658, allocations: 0 / 0.9537 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.769e-06/0.2658, allocations: 0 / 0.9537 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.2659, allocations: 4 kB / 0.9537 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001881/0.2661, allocations: 84.92 kB / 0.9538 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.2663, allocations: 0.6767 MB / 0.9545 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.312e-05/0.2664, allocations: 8 kB / 0.9545 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.432e-05/0.2664, allocations: 7.438 kB / 0.9545 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.2664, allocations: 0 / 0.9545 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of Templates: time 0.001703/0.2681, allocations: 165.2 kB / 0.9546 GB, free: 4.078 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 gbode -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