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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00133/0.00133, allocations: 106.9 kB / 16.27 MB, free: 6.355 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.001426/0.001426, allocations: 194.9 kB / 17.2 MB, free: 5.953 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 / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.39/2.39, allocations: 390.3 MB / 0.6653 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 69.19 kB / 0.8132 GB, free: 32.9 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3439, allocations: 140.4 MB / 0.9503 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.002138/0.3461, allocations: 0.5806 MB / 0.9508 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 5.17e-05/0.3462, allocations: 8 kB / 0.9508 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.017e-05/0.3462, allocations: 0 / 0.9508 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.171e-05/0.3463, allocations: 4 kB / 0.9508 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.111e-06/0.3463, allocations: 3.938 kB / 0.9508 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.306e-05/0.3463, allocations: 0 / 0.9508 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.915e-05/0.3464, allocations: 0 / 0.9508 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.011e-05/0.3464, allocations: 7.984 kB / 0.9509 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.679e-05/0.3465, allocations: 3.938 kB / 0.9509 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.136e-05/0.3465, allocations: 0 / 0.9509 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.3465, allocations: 0 / 0.9509 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.236e-06/0.3465, allocations: 0 / 0.9509 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.3465, allocations: 0 / 0.9509 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.3465, allocations: 0 / 0.9509 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.944e-05/0.3466, allocations: 8 kB / 0.9509 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.3466, allocations: 0 / 0.9509 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.374e-06/0.3466, allocations: 4 kB / 0.9509 GB, free: 8.25 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.3466, allocations: 0 / 0.9509 GB, free: 8.25 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.0002922/0.3469, allocations: 307.6 kB / 0.9512 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.347, allocations: 19.98 kB / 0.9512 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.347, allocations: 0.9375 kB / 0.9512 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.3471, allocations: 160.4 kB / 0.9513 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.3471, allocations: 384 / 0.9513 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.3472, allocations: 384 / 0.9513 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.833e-05/0.3473, allocations: 34.27 kB / 0.9514 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.3473, allocations: 192 / 0.9514 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3473, allocations: 3.938 kB / 0.9514 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3473, allocations: 0 / 0.9514 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.225e-05/0.3473, allocations: 4 kB / 0.9514 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.3475, allocations: 149.7 kB / 0.9515 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.917e-05/0.3475, allocations: 22.55 kB / 0.9515 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.807e-05/0.3476, allocations: 12.92 kB / 0.9516 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.3476, allocations: 0 / 0.9516 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.3476, allocations: 38.5 kB / 0.9516 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.3476, allocations: 0 / 0.9516 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.000124/0.3478, allocations: 37.55 kB / 0.9516 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.3478, allocations: 55.34 kB / 0.9517 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.179e-05/0.3478, allocations: 89.86 kB / 0.9518 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.3479, allocations: 25.83 kB / 0.9518 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.827e-05/0.3479, allocations: 88.14 kB / 0.9519 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.3479, allocations: 3.984 kB / 0.9519 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.348, allocations: 13.72 kB / 0.9519 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3481, allocations: 310.8 kB / 0.9522 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.051e-05/0.3481, allocations: 4 kB / 0.9522 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.37e-06/0.3481, allocations: 0 / 0.9522 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/0.3481, allocations: 4.859 kB / 0.9522 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.3482, allocations: 12 kB / 0.9522 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.6e-05/0.3482, allocations: 29.7 kB / 0.9522 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3483, allocations: 4 kB / 0.9522 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3483, allocations: 3.938 kB / 0.9522 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3483, allocations: 7.922 kB / 0.9523 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.386e-05/0.3484, allocations: 8 kB / 0.9523 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.3484, allocations: 0 / 0.9523 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.076e-05/0.3484, allocations: 0 / 0.9523 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.3484, allocations: 4 kB / 0.9523 GB, free: 6.598 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.784e-05/0.3485, allocations: 109.9 kB / 0.9524 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-06/0.3485, allocations: 4 kB / 0.9524 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.215e-05/0.3485, allocations: 7.062 kB / 0.9524 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3485, allocations: 0 / 0.9524 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3485, allocations: 0 / 0.9524 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3485, allocations: 0 / 0.9524 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.3487, allocations: 145.7 kB / 0.9525 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.3487, allocations: 0 / 0.9525 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.718e-05/0.3487, allocations: 4 kB / 0.9525 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3487, allocations: 0 / 0.9525 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.3487, allocations: 7.938 kB / 0.9525 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.3487, allocations: 0 / 0.9525 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3487, allocations: 0 / 0.9525 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.576e-05/0.3488, allocations: 65.06 kB / 0.9526 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.3489, allocations: 81.05 kB / 0.9527 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.3489, allocations: 3.938 kB / 0.9527 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.193e-06/0.3489, allocations: 0 / 0.9527 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.3489, allocations: 32 / 0.9527 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.3489, allocations: 4 kB / 0.9527 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.059e-05/0.349, allocations: 75.28 kB / 0.9527 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.349, allocations: 4 kB / 0.9528 GB, free: 6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002045/0.3492, allocations: 0 / 0.9528 GB, free: 6 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 0.000109/0.3493, allocations: 95.53 kB / 0.9528 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.592e-05/0.3494, allocations: 4 kB / 0.9528 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3494, allocations: 0 / 0.9528 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.416e-06/0.3494, allocations: 12.05 kB / 0.9529 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.3495, allocations: 0 / 0.9529 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002246/0.3498, allocations: 116.7 kB / 0.953 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.3501, allocations: 0.6766 MB / 0.9536 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.795e-05/0.3501, allocations: 7.438 kB / 0.9536 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.3501, allocations: 0 / 0.9536 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of Templates: time 0.00149/0.3516, allocations: 331.9 kB / 0.954 GB, free: 4.703 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 -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