Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_latest_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.001075/0.001075, allocations: 99.86 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.001004/0.001004, 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.512/1.512, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.691/2.691, allocations: 436.5 MB / 0.7104 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0006248/0.0006251, allocations: 8 kB / 0.8707 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9144/0.915, allocations: 153.7 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.0007862/0.9158, allocations: 317.2 kB / 1.021 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 4.01e-05/0.9159, allocations: 4 kB / 1.021 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.574e-05/0.9159, allocations: 0 / 1.021 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.237e-05/0.9159, allocations: 0 / 1.021 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.073e-06/0.9159, allocations: 0 / 1.021 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.641e-05/0.916, allocations: 4 kB / 1.021 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.905e-05/0.916, allocations: 0 / 1.021 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.696e-05/0.9161, allocations: 3.938 kB / 1.021 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.557e-05/0.9161, allocations: 0 / 1.021 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.413e-05/0.9161, allocations: 0 / 1.021 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.9162, allocations: 3.984 kB / 1.021 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.787e-06/0.9162, allocations: 3.938 kB / 1.021 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.155e-06/0.9162, allocations: 4 kB / 1.021 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.9162, allocations: 29.7 kB / 1.021 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.148e-05/0.9163, allocations: 4 kB / 1.021 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.9163, allocations: 0 / 1.021 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9163, allocations: 0 / 1.021 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.9163, allocations: 0 / 1.021 GB, free: 0.7266 MB / 0.7637 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.0002538/0.9166, allocations: 307.4 kB / 1.021 GB, free: 388 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.9166, allocations: 12.05 kB / 1.021 GB, free: 376 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.9166, allocations: 4 kB / 1.021 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.9168, allocations: 159.1 kB / 1.022 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.9168, allocations: 4 kB / 1.022 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.9168, allocations: 0 / 1.022 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.9169, allocations: 29.66 kB / 1.022 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.9169, allocations: 3.938 kB / 1.022 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.917, allocations: 4 kB / 1.022 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.917, allocations: 0 / 1.022 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.652e-05/0.917, allocations: 0 / 1.022 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/0.9172, allocations: 153.7 kB / 1.022 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.974e-05/0.9172, allocations: 26.55 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.9172, allocations: 0 / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.9173, allocations: 30.56 kB / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.9173, allocations: 0 / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001272/0.9174, allocations: 41.66 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.9175, allocations: 51.41 kB / 1.022 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.547e-05/0.9175, allocations: 89.86 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.9175, allocations: 37.81 kB / 1.022 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.818e-05/0.9176, allocations: 80.14 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.9176, allocations: 3.906 kB / 1.022 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-06/0.9176, allocations: 0 / 1.022 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.9177, allocations: 310.8 kB / 1.022 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.424e-06/0.9178, allocations: 0 / 1.022 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.312e-06/0.9178, allocations: 4 kB / 1.022 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.357e-05/0.9178, allocations: 0 / 1.022 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.9178, allocations: 4.062 kB / 1.022 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.952e-05/0.9178, allocations: 37.64 kB / 1.022 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.9179, allocations: 10.12 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.9179, allocations: 4 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.9179, allocations: 3.953 kB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.292e-05/0.918, allocations: 3.984 kB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.918, allocations: 0 / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.468e-06/0.918, allocations: 0 / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.918, allocations: 0 / 1.023 GB, free: 15.13 MB / 0.7794 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 8.806e-05/0.9181, allocations: 113.9 kB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-06/0.9181, allocations: 0 / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.637e-05/0.9181, allocations: 3.125 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.9181, allocations: 0 / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.9181, allocations: 3.953 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.9181, allocations: 0 / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.667e-05/0.9182, allocations: 153.7 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.9182, allocations: 0 / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.325e-06/0.9183, allocations: 0 / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.9183, allocations: 0 / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/0.9183, allocations: 0 / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.9183, allocations: 4 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.9183, allocations: 4 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.307e-05/0.9184, allocations: 57.03 kB / 1.023 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.942e-05/0.9184, allocations: 81.09 kB / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.016e-06/0.9184, allocations: 0 / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.792e-06/0.9184, allocations: 0 / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/0.9185, allocations: 8 kB / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.9185, allocations: 11.95 kB / 1.023 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.967e-05/0.9185, allocations: 79.23 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.9185, allocations: 0 / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001951/0.9187, allocations: 0 / 1.023 GB, free: 14.52 MB / 0.7794 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.976e-05/0.9188, allocations: 97.22 kB / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.815e-05/0.9189, allocations: 0 / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.9189, allocations: 0 / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.231e-06/0.9189, allocations: 7.938 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.444e-05/0.919, allocations: 4.125 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001976/0.9192, allocations: 82.69 kB / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.9195, allocations: 0.6731 MB / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.417e-05/0.9195, allocations: 0 / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.9195, allocations: 11.42 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.9195, allocations: 0 / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of Templates: time 0.001847/0.9214, allocations: 160.5 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Examples_ModelTime.csv","../files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches