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.001315/0.001315, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001354/0.001354, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.513/1.513, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.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.49/2.49, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001317, allocations: 59.91 kB / 0.8118 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7807/0.782, allocations: 140.4 MB / 0.9489 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.002543/0.7846, allocations: 0.6534 MB / 0.9495 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 4.784e-05/0.7847, allocations: 5.375 kB / 0.9495 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.737e-05/0.7847, allocations: 0 / 0.9495 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.302e-05/0.7848, allocations: 0 / 0.9495 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.284e-06/0.7848, allocations: 0 / 0.9495 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.969e-05/0.7848, allocations: 1.375 kB / 0.9496 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.591e-05/0.7849, allocations: 1.375 kB / 0.9496 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.461e-05/0.785, allocations: 0 / 0.9496 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.721e-05/0.785, allocations: 5.375 kB / 0.9496 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.573e-05/0.785, allocations: 0 / 0.9496 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.785, allocations: 3.984 kB / 0.9496 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.422e-06/0.7851, allocations: 1.375 kB / 0.9496 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.7851, allocations: 3.938 kB / 0.9496 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/0.7851, allocations: 0 / 0.9496 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.273e-05/0.7852, allocations: 1.375 kB / 0.9496 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.7852, allocations: 4 kB / 0.9496 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7852, allocations: 0 / 0.9496 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.7852, allocations: 0 / 0.9496 GB, free: 8.633 MB / 0.7169 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.0002892/0.7855, allocations: 318.2 kB / 0.9499 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/0.7856, allocations: 9.625 kB / 0.9499 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.7856, allocations: 0.9375 kB / 0.9499 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.625e-05/0.7857, allocations: 165.7 kB / 0.95 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.7857, allocations: 384 / 0.95 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.7857, allocations: 1.75 kB / 0.95 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.7858, allocations: 27.64 kB / 0.9501 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.7859, allocations: 192 / 0.9501 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.7859, allocations: 3.938 kB / 0.9501 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.7859, allocations: 5.375 kB / 0.9501 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.001e-05/0.7859, allocations: 1.375 kB / 0.9501 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.786, allocations: 153.7 kB / 0.9502 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.377e-05/0.7861, allocations: 21.27 kB / 0.9502 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.771e-05/0.7861, allocations: 11.59 kB / 0.9503 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.7861, allocations: 0 / 0.9503 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.7862, allocations: 39.94 kB / 0.9503 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.7862, allocations: 0 / 0.9503 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001474/0.7863, allocations: 38.62 kB / 0.9503 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.7864, allocations: 55.34 kB / 0.9504 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.509e-05/0.7864, allocations: 89.86 kB / 0.9505 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.7864, allocations: 25.7 kB / 0.9505 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.878e-05/0.7865, allocations: 81.39 kB / 0.9506 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.7865, allocations: 7.844 kB / 0.9506 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.7865, allocations: 12.56 kB / 0.9506 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.031e-05/0.7866, allocations: 319 kB / 0.9509 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.7866, allocations: 1.125 kB / 0.9509 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.34e-06/0.7866, allocations: 1.094 kB / 0.9509 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.748e-05/0.7867, allocations: 7.172 kB / 0.9509 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.7867, allocations: 0 / 0.9509 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.13e-05/0.7867, allocations: 39.22 kB / 0.9509 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.7867, allocations: 5.75 kB / 0.951 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.7867, allocations: 96 / 0.951 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.7868, allocations: 7.938 kB / 0.951 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.018e-05/0.7868, allocations: 2.031 kB / 0.951 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.7868, allocations: 0 / 0.951 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.214e-05/0.7869, allocations: 1.188 kB / 0.951 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.7869, allocations: 0 / 0.951 GB, free: 7.035 MB / 0.7169 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.125e-05/0.7869, allocations: 110.9 kB / 0.9511 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-06/0.7869, allocations: 1.438 kB / 0.9511 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.149e-05/0.787, allocations: 7.062 kB / 0.9511 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.787, allocations: 4 kB / 0.9511 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.787, allocations: 1.438 kB / 0.9511 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.787, allocations: 3.984 kB / 0.9511 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.05e-05/0.787, allocations: 143 kB / 0.9512 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.787, allocations: 0 / 0.9512 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.398e-06/0.7871, allocations: 5.094 kB / 0.9512 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.7871, allocations: 1.094 kB / 0.9512 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.7871, allocations: 3.938 kB / 0.9512 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.7871, allocations: 0 / 0.9512 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.7871, allocations: 1.188 kB / 0.9512 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.735e-05/0.7872, allocations: 66.66 kB / 0.9513 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.7872, allocations: 77.11 kB / 0.9514 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.7872, allocations: 4.844 kB / 0.9514 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-06/0.7872, allocations: 1.156 kB / 0.9514 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.062e-05/0.7872, allocations: 0 / 0.9514 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.7872, allocations: 5.156 kB / 0.9514 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.247e-05/0.7872, allocations: 75.28 kB / 0.9515 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.71e-07/0.7873, allocations: 0 / 0.9515 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00021/0.7875, allocations: 9.219 kB / 0.9515 GB, free: 6.445 MB / 0.7169 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.185e-05/0.7876, allocations: 98.92 kB / 0.9516 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.146e-05/0.7876, allocations: 8.156 kB / 0.9516 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.7876, allocations: 0 / 0.9516 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.063e-06/0.7876, allocations: 2.25 kB / 0.9516 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.7878, allocations: 6.719 kB / 0.9516 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001827/0.788, allocations: 80.33 kB / 0.9516 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.7881, allocations: 0.6703 MB / 0.9523 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.379e-05/0.7881, allocations: 5.047 kB / 0.9523 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.456e-05/0.7881, allocations: 7.438 kB / 0.9523 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.7882, allocations: 0 / 0.9523 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of Templates: time 0.001903/0.7901, allocations: 162.8 kB / 0.9525 GB, free: 5.449 MB / 0.7169 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches