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.001326/0.001326, allocations: 104.7 kB / 15.99 MB, free: 6.348 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.001363/0.001363, allocations: 199 kB / 16.91 MB, free: 6.188 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.386/1.386, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.43/2.43, allocations: 390.2 MB / 0.665 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 62.41 kB / 0.8127 GB, free: 33.25 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3141, allocations: 140.4 MB / 0.9498 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.002243/0.3164, allocations: 0.651 MB / 0.9504 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 4.694e-05/0.3165, allocations: 0 / 0.9504 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.766e-05/0.3165, allocations: 3.938 kB / 0.9504 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.31e-05/0.3166, allocations: 0 / 0.9504 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.041e-06/0.3166, allocations: 4 kB / 0.9504 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.942e-05/0.3166, allocations: 0 / 0.9504 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.915e-05/0.3167, allocations: 0 / 0.9504 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.932e-05/0.3168, allocations: 8 kB / 0.9504 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.816e-05/0.3168, allocations: 0 / 0.9504 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.003e-05/0.3168, allocations: 3.938 kB / 0.9504 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.3168, allocations: 4 kB / 0.9504 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.968e-06/0.3168, allocations: 0 / 0.9504 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.3169, allocations: 0 / 0.9504 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.3169, allocations: 3.984 kB / 0.9504 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 4.753e-05/0.3169, allocations: 0 / 0.9504 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3169, allocations: 0 / 0.9504 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.974e-06/0.317, allocations: 3.938 kB / 0.9504 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.317, allocations: 3.984 kB / 0.9504 GB, free: 8.59 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.0003023/0.3173, allocations: 311.6 kB / 0.9507 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.3173, allocations: 8.031 kB / 0.9507 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.3174, allocations: 0.9375 kB / 0.9507 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.3175, allocations: 160.4 kB / 0.9509 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.3175, allocations: 8.375 kB / 0.9509 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-06/0.3175, allocations: 384 / 0.9509 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.886e-05/0.3176, allocations: 30.25 kB / 0.9509 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3176, allocations: 4.125 kB / 0.9509 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.3176, allocations: 7.922 kB / 0.9509 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3177, allocations: 4 kB / 0.9509 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.009e-05/0.3177, allocations: 4 kB / 0.9509 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001538/0.3178, allocations: 141.7 kB / 0.9511 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.521e-05/0.3179, allocations: 26.61 kB / 0.9511 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.441e-05/0.3179, allocations: 4.859 kB / 0.9511 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.3179, allocations: 0 / 0.9511 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.318, allocations: 42.61 kB / 0.9512 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.318, allocations: 0 / 0.9512 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001257/0.3181, allocations: 41.48 kB / 0.9512 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.3182, allocations: 51.41 kB / 0.9512 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.763e-05/0.3182, allocations: 89.86 kB / 0.9513 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.3182, allocations: 33.64 kB / 0.9514 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.679e-05/0.3183, allocations: 80.14 kB / 0.9514 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.3183, allocations: 0 / 0.9514 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.3183, allocations: 17.84 kB / 0.9515 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.3185, allocations: 310.8 kB / 0.9518 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.011e-05/0.3185, allocations: 0 / 0.9518 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.531e-06/0.3185, allocations: 0 / 0.9518 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.161e-05/0.3185, allocations: 20.78 kB / 0.9518 GB, free: 7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3185, allocations: 0 / 0.9518 GB, free: 7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.416e-05/0.3186, allocations: 29.7 kB / 0.9518 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3186, allocations: 10.03 kB / 0.9518 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3186, allocations: 4.094 kB / 0.9518 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3187, allocations: 3.938 kB / 0.9518 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.37e-05/0.3187, allocations: 0 / 0.9518 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3187, allocations: 0 / 0.9518 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.077e-05/0.3187, allocations: 4 kB / 0.9518 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.3188, allocations: 0 / 0.9518 GB, free: 6.945 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 8.131e-05/0.3188, allocations: 105.8 kB / 0.9519 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.3189, allocations: 7.984 kB / 0.9519 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.746e-05/0.3189, allocations: 7.062 kB / 0.9519 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3189, allocations: 7.938 kB / 0.9519 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3189, allocations: 4 kB / 0.9519 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3189, allocations: 0 / 0.9519 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.681e-05/0.319, allocations: 145.7 kB / 0.9521 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.319, allocations: 0 / 0.9521 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.525e-05/0.319, allocations: 0 / 0.9521 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.319, allocations: 3.938 kB / 0.9521 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.3191, allocations: 11.92 kB / 0.9521 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3191, allocations: 0 / 0.9521 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3191, allocations: 0 / 0.9521 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.876e-05/0.3191, allocations: 55.25 kB / 0.9522 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/0.3192, allocations: 81.11 kB / 0.9522 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.3192, allocations: 7.938 kB / 0.9522 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-06/0.3192, allocations: 0 / 0.9522 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.197e-05/0.3192, allocations: 3.984 kB / 0.9522 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.3192, allocations: 0 / 0.9522 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.623e-05/0.3193, allocations: 79.22 kB / 0.9523 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.3193, allocations: 0 / 0.9523 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000196/0.3195, allocations: 4.031 kB / 0.9523 GB, free: 6.336 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 9.719e-05/0.3196, allocations: 95.53 kB / 0.9524 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.301e-05/0.3197, allocations: 7.938 kB / 0.9524 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3197, allocations: 0 / 0.9524 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.879e-06/0.3197, allocations: 0 / 0.9524 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.3198, allocations: 6.812 kB / 0.9524 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002293/0.3201, allocations: 114.7 kB / 0.9525 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.3203, allocations: 0.6727 MB / 0.9532 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.926e-05/0.3204, allocations: 11.44 kB / 0.9532 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.3204, allocations: 0 / 0.9532 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of Templates: time 0.001675/0.3221, allocations: 327.8 kB / 0.9535 GB, free: 5.047 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