Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.y|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.y|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.033/2.033, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001102/0.001102, allocations: 180.8 kB / 487.4 MB, free: 5.023 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.462/1.462, allocations: 221.5 MB / 0.7824 GB, free: 0.9531 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.0009808/0.0009805, allocations: 99.83 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.676e-05/1.68e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2476, allocations: 142.3 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.711/3.959, allocations: 1.732 GB / 2.938 GB, free: 126 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001851/3.959, allocations: 83.77 kB / 2.938 GB, free: 125.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1274/4.086, allocations: 65.03 MB / 3.001 GB, free: 66.72 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.683e-06/4.087, allocations: 0 / 3.001 GB, free: 66.72 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.835e-05/4.087, allocations: 28 kB / 3.001 GB, free: 66.7 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 204 * Number of variables: 204 Notification: Performance of Generate backend data structure: time 0.001888/4.088, allocations: 1.117 MB / 3.002 GB, free: 65.53 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/4.089, allocations: 12.03 kB / 3.002 GB, free: 65.52 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009258/4.089, allocations: 194.4 kB / 3.003 GB, free: 65.32 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009445/4.09, allocations: 0.6355 MB / 3.003 GB, free: 64.65 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.301e-05/4.09, allocations: 28 kB / 3.003 GB, free: 64.62 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-05/4.091, allocations: 44 kB / 3.003 GB, free: 64.58 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001222/4.092, allocations: 0.9991 MB / 3.004 GB, free: 63.58 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/4.093, allocations: 0.7272 MB / 3.005 GB, free: 62.81 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/4.093, allocations: 0 / 3.005 GB, free: 62.81 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.734e-05/4.093, allocations: 3.953 kB / 3.005 GB, free: 62.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/4.093, allocations: 20 kB / 3.005 GB, free: 62.79 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00306/4.096, allocations: 2.337 MB / 3.007 GB, free: 60.39 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007585/4.097, allocations: 0.6668 MB / 3.008 GB, free: 59.71 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/4.097, allocations: 251.1 kB / 3.008 GB, free: 59.46 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/4.097, allocations: 127 kB / 3.008 GB, free: 59.32 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004682/4.098, allocations: 391.8 kB / 3.009 GB, free: 58.92 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 1.984e-06/4.098, allocations: 0 / 3.009 GB, free: 58.92 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001384/4.099, allocations: 0.6796 MB / 3.009 GB, free: 58.23 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/4.099, allocations: 244.1 kB / 3.01 GB, free: 57.94 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005495/4.1, allocations: 0.5425 MB / 3.01 GB, free: 57.39 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.819e-05/4.1, allocations: 29.7 kB / 3.01 GB, free: 57.36 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/4.1, allocations: 400.2 kB / 3.01 GB, free: 56.96 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/4.1, allocations: 232.4 kB / 3.011 GB, free: 56.73 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/4.1, allocations: 0 / 3.011 GB, free: 56.73 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.864e-05/4.1, allocations: 386.8 kB / 3.011 GB, free: 56.34 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/4.1, allocations: 193.5 kB / 3.011 GB, free: 56.15 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/4.101, allocations: 303.5 kB / 3.012 GB, free: 55.82 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/4.101, allocations: 248.5 kB / 3.012 GB, free: 55.59 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/4.101, allocations: 0 / 3.012 GB, free: 55.59 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001234/4.102, allocations: 0.6719 MB / 3.012 GB, free: 54.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/4.102, allocations: 7.984 kB / 3.012 GB, free: 54.89 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/4.102, allocations: 4 kB / 3.012 GB, free: 54.89 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005328/4.103, allocations: 80.84 kB / 3.013 GB, free: 54.81 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005214/4.104, allocations: 139.8 kB / 3.013 GB, free: 54.67 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/4.105, allocations: 1.466 MB / 3.014 GB, free: 53.08 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004846/4.105, allocations: 63.52 kB / 3.014 GB, free: 53.02 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.038e-05/4.105, allocations: 27.98 kB / 3.014 GB, free: 52.99 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001299/4.106, allocations: 122.1 kB / 3.014 GB, free: 52.86 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/4.106, allocations: 79.02 kB / 3.014 GB, free: 52.79 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/4.107, allocations: 0.9189 MB / 3.015 GB, free: 51.85 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/4.107, allocations: 8 kB / 3.015 GB, free: 51.84 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/4.107, allocations: 0 / 3.015 GB, free: 51.84 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/4.107, allocations: 7.984 kB / 3.015 GB, free: 51.83 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006706/4.108, allocations: 0.7829 MB / 3.016 GB, free: 51.01 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/4.108, allocations: 0 / 3.016 GB, free: 51.01 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005095/4.109, allocations: 147.8 kB / 3.016 GB, free: 50.87 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004379/4.109, allocations: 84.72 kB / 3.016 GB, free: 50.78 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.722e-05/4.109, allocations: 15.98 kB / 3.016 GB, free: 50.77 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/4.11, allocations: 1.492 MB / 3.018 GB, free: 49.16 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/4.11, allocations: 0 / 3.018 GB, free: 49.16 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/4.112, allocations: 0.7855 MB / 3.018 GB, free: 48.35 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002821/4.112, allocations: 283.7 kB / 3.019 GB, free: 48.05 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.524e-05/4.112, allocations: 4 kB / 3.019 GB, free: 48.05 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/4.112, allocations: 59.89 kB / 3.019 GB, free: 47.99 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.811e-05/4.113, allocations: 56.69 kB / 3.019 GB, free: 47.93 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-05/4.113, allocations: 35.94 kB / 3.019 GB, free: 47.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003676/4.113, allocations: 439.1 kB / 3.019 GB, free: 47.47 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.2e-07/4.113, allocations: 0 / 3.019 GB, free: 47.47 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008354/4.114, allocations: 339.1 kB / 3.02 GB, free: 47.14 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001421/4.115, allocations: 1.126 MB / 3.021 GB, free: 46.12 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009001/4.116, allocations: 0.6589 MB / 3.021 GB, free: 45.45 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/4.116, allocations: 0 / 3.021 GB, free: 45.45 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005304/4.117, allocations: 452.6 kB / 3.022 GB, free: 45 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009688/4.118, allocations: 238 kB / 3.022 GB, free: 44.78 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/4.12, allocations: 1.335 MB / 3.023 GB, free: 43.42 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/4.121, allocations: 1.043 MB / 3.024 GB, free: 42.35 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0006859/4.121, allocations: 249.8 kB / 3.025 GB, free: 42.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/4.122, allocations: 87.39 kB / 3.025 GB, free: 42.02 MB / 1.151 GB Notification: Performance of SimCode: time 3.81e-07/4.122, allocations: 0 / 3.025 GB, free: 42.02 MB / 1.151 GB Notification: Performance of Templates: time 0.02077/4.142, allocations: 16.09 MB / 3.04 GB, free: 26.04 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches