Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.807/1.807, allocations: 249.5 MB / 257 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001554/0.001554, allocations: 188.7 kB / 316.3 MB, free: 3.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.3 MB / 0.5671 GB, free: 15.91 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009854/0.0009853, allocations: 91.53 kB / 0.6714 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.427e-05/1.43e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2296, allocations: 106.3 MB / 0.8852 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9129/1.143, allocations: 131.2 MB / 1.013 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/1.143, allocations: 66.53 kB / 1.013 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.000447/1.143, allocations: 384.5 kB / 1.014 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.593e-06/1.143, allocations: 0 / 1.014 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.109e-06/1.143, allocations: 3.688 kB / 1.014 GB, free: 6.277 MB / 0.6355 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.0002881/1.144, allocations: 302.4 kB / 1.014 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/1.144, allocations: 12.09 kB / 1.014 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/1.144, allocations: 0 / 1.014 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/1.144, allocations: 167 kB / 1.014 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/1.144, allocations: 4.734 kB / 1.014 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/1.144, allocations: 0 / 1.014 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.545e-05/1.144, allocations: 0 / 1.014 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.303e-05/1.144, allocations: 32.48 kB / 1.014 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/1.144, allocations: 0 / 1.014 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/1.144, allocations: 0 / 1.014 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/1.144, allocations: 0 / 1.014 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/1.144, allocations: 130.1 kB / 1.014 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.385e-05/1.144, allocations: 22.55 kB / 1.014 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.774e-05/1.144, allocations: 8.859 kB / 1.014 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/1.144, allocations: 3.938 kB / 1.014 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/1.144, allocations: 34.62 kB / 1.014 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 3.827e-06/1.144, allocations: 0 / 1.014 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001452/1.145, allocations: 32.31 kB / 1.014 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/1.145, allocations: 55.41 kB / 1.015 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.996e-05/1.145, allocations: 85 kB / 1.015 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/1.145, allocations: 29.73 kB / 1.015 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/1.145, allocations: 83.95 kB / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/1.145, allocations: 0 / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/1.145, allocations: 0 / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.145, allocations: 310.8 kB / 1.015 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/1.145, allocations: 0 / 1.015 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.903e-06/1.145, allocations: 4 kB / 1.015 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.395e-05/1.145, allocations: 0 / 1.015 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/1.145, allocations: 4.062 kB / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.801e-05/1.145, allocations: 37.59 kB / 1.015 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/1.145, allocations: 4 kB / 1.015 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/1.145, allocations: 7.984 kB / 1.015 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/1.145, allocations: 0 / 1.015 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.335e-05/1.145, allocations: 0 / 1.015 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/1.145, allocations: 0 / 1.015 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.538e-06/1.145, allocations: 0 / 1.015 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/1.145, allocations: 0 / 1.015 GB, free: 4.75 MB / 0.6355 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 () * 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 7.497e-05/1.145, allocations: 109 kB / 1.015 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-06/1.145, allocations: 3.953 kB / 1.015 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/1.145, allocations: 11.64 kB / 1.015 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/1.145, allocations: 0 / 1.015 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.145, allocations: 3.938 kB / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/1.145, allocations: 0 / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.895e-05/1.146, allocations: 132.3 kB / 1.015 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/1.146, allocations: 0 / 1.015 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.446e-06/1.146, allocations: 0 / 1.015 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/1.146, allocations: 0 / 1.015 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/1.146, allocations: 0 / 1.015 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.146, allocations: 7.953 kB / 1.015 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.146, allocations: 0.875 kB / 1.015 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.35e-05/1.146, allocations: 57.08 kB / 1.015 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/1.146, allocations: 81.09 kB / 1.015 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/1.146, allocations: 0 / 1.015 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-06/1.146, allocations: 0 / 1.015 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.757e-05/1.146, allocations: 7.891 kB / 1.015 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/1.146, allocations: 4.031 kB / 1.015 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.968e-05/1.146, allocations: 79.28 kB / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/1.146, allocations: 0 / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001793/1.146, allocations: 0 / 1.016 GB, free: 4.184 MB / 0.6355 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 () * 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 0.0001371/1.146, allocations: 99.11 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.682e-05/1.146, allocations: 4 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.146, allocations: 0 / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.376e-06/1.146, allocations: 7.938 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001118/1.146, allocations: 4.125 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001841/1.147, allocations: 48 kB / 1.016 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/1.147, allocations: 0.669 MB / 1.016 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.743e-05/1.147, allocations: 0 / 1.016 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/1.147, allocations: 11.44 kB / 1.016 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of SimCode: time 2.856e-06/1.147, allocations: 0 / 1.016 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of Templates: time 0.001881/1.149, allocations: 152.7 kB / 1.016 GB, free: 3.148 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Time_Examples_ModelTime.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches