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.001154/0.001154, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001489/0.001489, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.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.488/2.488, allocations: 390.3 MB / 0.6653 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003882, allocations: 11.98 kB / 0.8145 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9296/0.93, allocations: 142.3 MB / 0.9535 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.0009431/0.931, allocations: 318.1 kB / 0.9538 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 5.273e-05/0.9311, allocations: 13.23 kB / 0.9538 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.836e-05/0.9311, allocations: 0 / 0.9538 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.78e-05/0.9311, allocations: 0 / 0.9538 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.686e-06/0.9311, allocations: 0 / 0.9538 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.165e-05/0.9312, allocations: 1.281 kB / 0.9538 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.542e-05/0.9312, allocations: 0 / 0.9538 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.115e-05/0.9313, allocations: 1.094 kB / 0.9538 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.938e-05/0.9313, allocations: 0 / 0.9538 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.469e-05/0.9314, allocations: 0.9375 kB / 0.9538 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.9314, allocations: 0 / 0.9538 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.731e-06/0.9314, allocations: 0 / 0.9538 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.9314, allocations: 5.25 kB / 0.9538 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.13e-05/0.9315, allocations: 29.64 kB / 0.9539 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.55e-05/0.9315, allocations: 0 / 0.9539 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.9315, allocations: 1.469 kB / 0.9539 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9315, allocations: 0 / 0.9539 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.9315, allocations: 0 / 0.9539 GB, free: 7.801 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.0002302/0.9318, allocations: 312.8 kB / 0.9542 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.9318, allocations: 8.875 kB / 0.9542 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.9319, allocations: 9.234 kB / 0.9542 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.113e-05/0.9319, allocations: 159.1 kB / 0.9543 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.932, allocations: 4 kB / 0.9543 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.932, allocations: 1.281 kB / 0.9543 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.9321, allocations: 26.8 kB / 0.9544 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.9321, allocations: 0 / 0.9544 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.9321, allocations: 1.031 kB / 0.9544 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.9321, allocations: 0 / 0.9544 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.345e-05/0.9322, allocations: 8.891 kB / 0.9544 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001304/0.9323, allocations: 151 kB / 0.9545 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.568e-05/0.9323, allocations: 20.92 kB / 0.9545 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.9324, allocations: 0 / 0.9545 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.9324, allocations: 35.69 kB / 0.9546 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.9324, allocations: 0 / 0.9546 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001319/0.9325, allocations: 34.42 kB / 0.9546 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.9326, allocations: 56.64 kB / 0.9546 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.753e-05/0.9326, allocations: 93.86 kB / 0.9547 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.9326, allocations: 29.83 kB / 0.9548 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.685e-05/0.9326, allocations: 80.14 kB / 0.9548 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.9327, allocations: 5.031 kB / 0.9548 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-06/0.9327, allocations: 0 / 0.9548 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.707e-05/0.9327, allocations: 316.3 kB / 0.9551 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-06/0.9327, allocations: 0 / 0.9551 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-06/0.9328, allocations: 1.406 kB / 0.9551 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.032e-05/0.9328, allocations: 1.25 kB / 0.9552 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.9328, allocations: 4.062 kB / 0.9552 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.094e-05/0.9329, allocations: 34.77 kB / 0.9552 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.9329, allocations: 4.906 kB / 0.9552 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.9329, allocations: 0.9688 kB / 0.9552 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.9329, allocations: 3.984 kB / 0.9552 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.969e-05/0.933, allocations: 6.375 kB / 0.9552 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.933, allocations: 0 / 0.9552 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.182e-05/0.933, allocations: 0 / 0.9552 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.933, allocations: 1.344 kB / 0.9552 GB, free: 6.25 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.858e-05/0.9331, allocations: 114.8 kB / 0.9553 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-06/0.9331, allocations: 1.281 kB / 0.9553 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.616e-05/0.9331, allocations: 7.062 kB / 0.9553 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.9331, allocations: 0 / 0.9553 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.9331, allocations: 1.312 kB / 0.9553 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.9332, allocations: 3.984 kB / 0.9553 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.058e-05/0.9332, allocations: 151.1 kB / 0.9555 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.9332, allocations: 0 / 0.9555 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.6e-05/0.9333, allocations: 1.406 kB / 0.9555 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.9333, allocations: 0 / 0.9555 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.9333, allocations: 1.469 kB / 0.9555 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.9333, allocations: 4 kB / 0.9555 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.9333, allocations: 0 / 0.9555 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.789e-05/0.9334, allocations: 66.67 kB / 0.9555 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.361e-05/0.9334, allocations: 82.39 kB / 0.9556 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.9334, allocations: 0 / 0.9556 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-06/0.9334, allocations: 1.562 kB / 0.9556 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.29e-05/0.9334, allocations: 0 / 0.9556 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.9335, allocations: 4.031 kB / 0.9556 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.612e-05/0.9335, allocations: 76.72 kB / 0.9557 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9335, allocations: 3.938 kB / 0.9557 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002045/0.9337, allocations: 0 / 0.9557 GB, free: 5.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.861e-05/0.9338, allocations: 100.1 kB / 0.9558 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.288e-05/0.9339, allocations: 3.656 kB / 0.9558 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.9339, allocations: 0 / 0.9558 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.745e-06/0.9339, allocations: 5.469 kB / 0.9558 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001034/0.934, allocations: 11.2 kB / 0.9558 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001913/0.9342, allocations: 75.27 kB / 0.9559 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.9343, allocations: 0.68 MB / 0.9566 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.465e-05/0.9343, allocations: 4 kB / 0.9566 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.525e-05/0.9344, allocations: 8.875 kB / 0.9566 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of SimCode: time 1.91e-07/0.9344, allocations: 0 / 0.9566 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of Templates: time 0.002045/0.9364, allocations: 148.9 kB / 0.9567 GB, free: 4.664 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","../files/Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches