Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.011/2.011, allocations: 387.4 MB / 394.9 MB, free: 13.39 MB / 314.7 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: 180.6 kB / 487.4 MB, free: 5.055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 221.5 MB / 0.7824 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000824/0.000824, allocations: 94.53 kB / 0.9219 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.792e-05/1.795e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2143, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7233/0.9377, allocations: 149.1 MB / 1.352 GB, free: 18.49 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/0.9379, allocations: 85.7 kB / 1.352 GB, free: 18.49 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003794/0.9417, allocations: 1.187 MB / 1.353 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9417, allocations: 0 / 1.353 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.9417, allocations: 0 / 1.353 GB, free: 34.11 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003123/0.9421, allocations: 350.7 kB / 1.353 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.9421, allocations: 7.75 kB / 1.353 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.9421, allocations: 7.906 kB / 1.353 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.685e-05/0.9422, allocations: 180.1 kB / 1.353 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.9423, allocations: 3.984 kB / 1.353 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.9423, allocations: 0 / 1.353 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.372e-05/0.9424, allocations: 19.75 kB / 1.353 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.386e-05/0.9424, allocations: 41.48 kB / 1.353 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.9424, allocations: 0 / 1.353 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.9425, allocations: 0 / 1.353 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.9425, allocations: 0.5625 kB / 1.353 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003191/0.9428, allocations: 260.3 kB / 1.354 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.856e-05/0.9429, allocations: 34.31 kB / 1.354 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.945e-05/0.9429, allocations: 13.3 kB / 1.354 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.9429, allocations: 3.844 kB / 1.354 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.9429, allocations: 31.27 kB / 1.354 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.943, allocations: 4 kB / 1.354 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001678/0.9431, allocations: 51.11 kB / 1.354 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.9432, allocations: 52.06 kB / 1.354 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.9433, allocations: 105 kB / 1.354 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.9433, allocations: 30.31 kB / 1.354 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.573e-05/0.9433, allocations: 88.48 kB / 1.354 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.9434, allocations: 8.906 kB / 1.354 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-06/0.9434, allocations: 3.938 kB / 1.354 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.9435, allocations: 320 kB / 1.354 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.002e-05/0.9435, allocations: 11 kB / 1.354 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.789e-05/0.9436, allocations: 8.844 kB / 1.354 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.384e-05/0.9436, allocations: 5.188 kB / 1.354 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.9436, allocations: 0 / 1.354 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.637e-05/0.9437, allocations: 55.94 kB / 1.354 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.9437, allocations: 8.531 kB / 1.354 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.9437, allocations: 0 / 1.354 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.9437, allocations: 3.938 kB / 1.354 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.9438, allocations: 10.53 kB / 1.354 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.9439, allocations: 6.062 kB / 1.354 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.881e-05/0.9439, allocations: 9.031 kB / 1.354 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.9439, allocations: 4.328 kB / 1.354 GB, free: 32.52 MB / 0.8386 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 (3): * Single equations (assignments): 3 * 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 6.812e-05/0.944, allocations: 105.7 kB / 1.355 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.944, allocations: 7.781 kB / 1.355 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.65e-05/0.9441, allocations: 13.25 kB / 1.355 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.9441, allocations: 0 / 1.355 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.9441, allocations: 0 / 1.355 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.9441, allocations: 4.656 kB / 1.355 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.9442, allocations: 148.6 kB / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.9442, allocations: 4.531 kB / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.557e-05/0.9443, allocations: 10.44 kB / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.9443, allocations: 3.938 kB / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.9443, allocations: 0.7969 kB / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.9443, allocations: 0 / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.9443, allocations: 2.531 kB / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.9445, allocations: 154 kB / 1.355 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.003e-05/0.9445, allocations: 89.55 kB / 1.355 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.9445, allocations: 0.5156 kB / 1.355 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.157e-05/0.9446, allocations: 5.625 kB / 1.355 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.9446, allocations: 6 kB / 1.355 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.9446, allocations: 0 / 1.355 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.281e-05/0.9447, allocations: 89.7 kB / 1.355 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.153e-06/0.9447, allocations: 0 / 1.355 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002183/0.9449, allocations: 15.66 kB / 1.355 GB, free: 31.91 MB / 0.8386 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 (3): * Single equations (assignments): 3 * 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 8.679e-05/0.945, allocations: 95.48 kB / 1.355 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.773e-05/0.9451, allocations: 21.31 kB / 1.355 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9451, allocations: 3.969 kB / 1.355 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.293e-05/0.9451, allocations: 9.062 kB / 1.355 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.9453, allocations: 9.797 kB / 1.355 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001995/0.9455, allocations: 76.08 kB / 1.355 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.9457, allocations: 0.6914 MB / 1.356 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.263e-05/0.9457, allocations: 4.562 kB / 1.356 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.347e-05/0.9458, allocations: 8.047 kB / 1.356 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of SimCode: time 8.81e-07/0.9458, allocations: 0 / 1.356 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of Templates: time 0.001927/0.9477, allocations: 365.5 kB / 1.356 GB, free: 30.98 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches