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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0009195/0.0009197, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.007928/0.007929, allocations: 174.2 kB / 16.27 MB, free: 6.613 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.431/1.431, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.466/2.466, allocations: 390.9 MB / 0.6663 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003875/0.0003876, allocations: 8 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7452/0.7456, allocations: 142.4 MB / 0.955 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.004713/0.7504, allocations: 4.253 MB / 0.9592 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1747/0.9251, allocations: 147.1 MB / 1.103 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.9264, allocations: 19.88 kB / 1.103 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009825/0.9274, allocations: 162.8 kB / 1.103 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002478/0.9299, allocations: 497 kB / 1.103 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.9322, allocations: 0.737 MB / 1.104 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002159/0.9344, allocations: 1.273 MB / 1.105 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.9356, allocations: 0.6079 MB / 1.106 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008369/0.9365, allocations: 346.2 kB / 1.106 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007894/0.9373, allocations: 409.6 kB / 1.107 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.9374, allocations: 28 kB / 1.107 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.9386, allocations: 383.6 kB / 1.107 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.9389, allocations: 191.1 kB / 1.107 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005601/0.9394, allocations: 490.6 kB / 1.108 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002187/0.9416, allocations: 1.549 MB / 1.109 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.9417, allocations: 0 / 1.109 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.955e-06/0.9417, allocations: 0 / 1.109 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.74e-05/0.9418, allocations: 0 / 1.109 GB, free: 0.8047 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.003285/0.945, allocations: 1.282 MB / 1.111 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.9451, allocations: 8.031 kB / 1.111 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.9462, allocations: 199.3 kB / 1.111 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.9476, allocations: 0.7701 MB / 1.112 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.961e-05/0.9477, allocations: 69.98 kB / 1.112 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.9478, allocations: 83.98 kB / 1.112 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/0.9499, allocations: 0.9457 MB / 1.113 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.95, allocations: 0 / 1.113 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.9501, allocations: 36 kB / 1.113 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.9501, allocations: 27.94 kB / 1.113 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/0.9522, allocations: 1.143 MB / 1.114 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0048/0.957, allocations: 2.63 MB / 1.116 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.9587, allocations: 0.8392 MB / 1.117 GB, free: 8.57 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006247/0.9594, allocations: 318.7 kB / 1.117 GB, free: 8.25 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002002/0.9596, allocations: 117.7 kB / 1.118 GB, free: 8.117 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.9606, allocations: 0.5147 MB / 1.118 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 3.446e-06/0.9606, allocations: 0 / 1.118 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.00351/0.9641, allocations: 1.264 MB / 1.119 GB, free: 6.293 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.9643, allocations: 192.6 kB / 1.119 GB, free: 6.062 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.9653, allocations: 0.6957 MB / 1.12 GB, free: 5.359 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.297e-05/0.9654, allocations: 37.7 kB / 1.12 GB, free: 5.316 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003794/0.9658, allocations: 428.4 kB / 1.121 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/0.966, allocations: 264.2 kB / 1.121 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.9662, allocations: 73.67 kB / 1.121 GB, free: 4.551 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002409/0.9664, allocations: 386.8 kB / 1.121 GB, free: 4.164 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006117/0.967, allocations: 285.8 kB / 1.122 GB, free: 3.883 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006987/0.9677, allocations: 387.1 kB / 1.122 GB, free: 3.492 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.969, allocations: 0.6463 MB / 1.123 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.969, allocations: 0 / 1.123 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00225/0.9713, allocations: 0.8995 MB / 1.123 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.9713, allocations: 13.28 kB / 1.123 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.9713, allocations: 0 / 1.123 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006791/0.972, allocations: 88.86 kB / 1.124 GB, free: 1.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007378/0.9728, allocations: 163.8 kB / 1.124 GB, free: 1.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/0.9753, allocations: 1.536 MB / 1.125 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009129/0.9762, allocations: 104.8 kB / 1.125 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.476e-05/0.9763, allocations: 39.97 kB / 1.125 GB, free: 15.84 MB / 0.8887 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.0005648/0.9769, allocations: 279.3 kB / 1.126 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.9771, allocations: 90.86 kB / 1.126 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002629/0.9798, allocations: 1.113 MB / 1.127 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.639e-06/0.9798, allocations: 11.94 kB / 1.127 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.9798, allocations: 4 kB / 1.127 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.9798, allocations: 7.922 kB / 1.127 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.9811, allocations: 0.9425 MB / 1.128 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/0.9811, allocations: 3.984 kB / 1.128 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006182/0.9817, allocations: 147.8 kB / 1.128 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005559/0.9823, allocations: 84.78 kB / 1.128 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.684e-05/0.9824, allocations: 27.97 kB / 1.128 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001916/0.9843, allocations: 1.567 MB / 1.13 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.9843, allocations: 3.938 kB / 1.13 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002298/0.9866, allocations: 0.9785 MB / 1.13 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005405/0.9872, allocations: 299.6 kB / 1.131 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/0.9874, allocations: 16 kB / 1.131 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007396/0.9881, allocations: 84.53 kB / 1.131 GB, free: 9.945 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.9883, allocations: 72.83 kB / 1.131 GB, free: 9.875 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-05/0.9884, allocations: 43.91 kB / 1.131 GB, free: 9.832 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008053/0.9892, allocations: 491 kB / 1.131 GB, free: 9.355 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9892, allocations: 0 / 1.131 GB, free: 9.355 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009518/0.9902, allocations: 331.2 kB / 1.132 GB, free: 9.031 MB / 0.8887 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.001477/0.9917, allocations: 0.6062 MB / 1.132 GB, free: 8.602 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001966/0.9936, allocations: 0.8744 MB / 1.133 GB, free: 7.715 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.9937, allocations: 0 / 1.133 GB, free: 7.715 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.9947, allocations: 0.5315 MB / 1.134 GB, free: 7.176 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.9961, allocations: 294.8 kB / 1.134 GB, free: 6.895 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004747/1.001, allocations: 2.39 MB / 1.136 GB, free: 4.477 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006839/1.002, allocations: 1.039 MB / 1.137 GB, free: 3.406 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009186/1.002, allocations: 266.7 kB / 1.138 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002849/1.003, allocations: 107.4 kB / 1.138 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of SimCode: time 1.883e-06/1.003, allocations: 4 kB / 1.138 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of Templates: time 0.02646/1.029, allocations: 14.64 MB / 1.152 GB, free: 4.559 MB / 0.9044 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","/var/lib/jenkins/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