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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001716/0.001717, allocations: 107.5 kB / 16.36 MB, free: 5.824 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.001837/0.001837, allocations: 193.1 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.244/2.244, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 63.98 kB / 0.814 GB, free: 32.56 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3304, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.007427/0.3378, allocations: 4.68 MB / 0.9557 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.9142/1.252, allocations: 151 MB / 1.103 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001301/1.253, allocations: 18.91 kB / 1.103 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009138/1.254, allocations: 221 kB / 1.103 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002491/1.257, allocations: 0.5612 MB / 1.104 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002539/1.26, allocations: 0.8426 MB / 1.105 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002028/1.262, allocations: 1.362 MB / 1.106 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/1.263, allocations: 0.6504 MB / 1.107 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00093/1.264, allocations: 496.7 kB / 1.107 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007585/1.264, allocations: 0.5111 MB / 1.108 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000224/1.265, allocations: 120.8 kB / 1.108 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00131/1.266, allocations: 0.5046 MB / 1.108 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003844/1.266, allocations: 307 kB / 1.109 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008403/1.267, allocations: 0.5729 MB / 1.109 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003569/1.271, allocations: 1.694 MB / 1.111 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/1.271, allocations: 0.5 kB / 1.111 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.938e-06/1.271, allocations: 0.6094 kB / 1.111 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.317e-05/1.271, allocations: 0.5625 kB / 1.111 GB, free: 3.75 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.003985/1.275, allocations: 1.492 MB / 1.112 GB, free: 18.94 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/1.275, allocations: 13.41 kB / 1.112 GB, free: 18.93 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/1.276, allocations: 189 kB / 1.112 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/1.278, allocations: 0.7971 MB / 1.113 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.399e-05/1.278, allocations: 65.47 kB / 1.113 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/1.278, allocations: 82.72 kB / 1.113 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/1.28, allocations: 0.9443 MB / 1.114 GB, free: 18.36 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/1.28, allocations: 5.062 kB / 1.114 GB, free: 18.36 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.153e-05/1.28, allocations: 35.97 kB / 1.114 GB, free: 18.36 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-05/1.28, allocations: 20.97 kB / 1.114 GB, free: 18.36 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002247/1.282, allocations: 1.136 MB / 1.115 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005421/1.288, allocations: 2.552 MB / 1.118 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/1.289, allocations: 0.8366 MB / 1.119 GB, free: 17.49 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006044/1.29, allocations: 315.5 kB / 1.119 GB, free: 17.48 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002247/1.29, allocations: 119.8 kB / 1.119 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009983/1.291, allocations: 0.5008 MB / 1.12 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.675e-06/1.291, allocations: 0 / 1.12 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003687/1.295, allocations: 1.251 MB / 1.121 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/1.295, allocations: 193.8 kB / 1.121 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/1.296, allocations: 0.6791 MB / 1.122 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001177/1.297, allocations: 44.92 kB / 1.122 GB, free: 16.72 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003643/1.297, allocations: 421.8 kB / 1.122 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/1.297, allocations: 264.8 kB / 1.122 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/1.297, allocations: 171.5 kB / 1.123 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002652/1.298, allocations: 395 kB / 1.123 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005756/1.298, allocations: 282.4 kB / 1.123 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007981/1.299, allocations: 377 kB / 1.124 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/1.3, allocations: 0.6371 MB / 1.124 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/1.3, allocations: 1 kB / 1.124 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002239/1.303, allocations: 0.8835 MB / 1.125 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/1.303, allocations: 7.688 kB / 1.125 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/1.303, allocations: 1.188 kB / 1.125 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006075/1.303, allocations: 88.78 kB / 1.125 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007186/1.304, allocations: 167.4 kB / 1.125 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/1.306, allocations: 1.648 MB / 1.127 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009303/1.307, allocations: 89.5 kB / 1.127 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.351e-05/1.307, allocations: 39.48 kB / 1.127 GB, free: 14.34 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006444/1.308, allocations: 278.8 kB / 1.127 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/1.308, allocations: 89.72 kB / 1.127 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002488/1.311, allocations: 1.096 MB / 1.128 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/1.311, allocations: 15.91 kB / 1.129 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.311, allocations: 1.312 kB / 1.129 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/1.311, allocations: 5.406 kB / 1.129 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/1.312, allocations: 0.944 MB / 1.129 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/1.312, allocations: 5.375 kB / 1.129 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006247/1.313, allocations: 151.2 kB / 1.13 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004402/1.313, allocations: 70.09 kB / 1.13 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.38e-05/1.313, allocations: 32.75 kB / 1.13 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/1.315, allocations: 1.675 MB / 1.131 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.315, allocations: 5.094 kB / 1.131 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/1.317, allocations: 0.9684 MB / 1.132 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005154/1.318, allocations: 279.8 kB / 1.133 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/1.318, allocations: 21.73 kB / 1.133 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000596/1.319, allocations: 62.98 kB / 1.133 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/1.319, allocations: 77.61 kB / 1.133 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.568e-05/1.319, allocations: 40.31 kB / 1.133 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006805/1.319, allocations: 492.5 kB / 1.133 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of sort global known variables: time 9.82e-07/1.319, allocations: 0 / 1.133 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001021/1.32, allocations: 325.7 kB / 1.134 GB, free: 11.93 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001395/1.322, allocations: 0.6041 MB / 1.134 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001869/1.324, allocations: 0.8656 MB / 1.135 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.324, allocations: 2.422 kB / 1.135 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009533/1.325, allocations: 0.5381 MB / 1.135 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/1.326, allocations: 305.2 kB / 1.136 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004253/1.33, allocations: 1.861 MB / 1.138 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006982/1.331, allocations: 1.046 MB / 1.139 GB, free: 9.988 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0009711/1.332, allocations: 261.2 kB / 1.139 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/1.332, allocations: 110 kB / 1.139 GB, free: 9.902 MB / 0.8731 GB Notification: Performance of SimCode: time 1.062e-06/1.332, allocations: 0 / 1.139 GB, free: 9.902 MB / 0.8731 GB Notification: Performance of Templates: time 0.02952/1.362, allocations: 15.4 MB / 1.154 GB, free: 5.246 MB / 0.8731 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches