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.001174/0.001174, allocations: 109.1 kB / 16.37 MB, free: 6.477 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.001164/0.001164, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.18 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.195/2.195, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 59.72 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2645, allocations: 140.4 MB / 0.9511 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.005972/0.2705, allocations: 4.684 MB / 0.9557 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6716/0.9421, allocations: 151 MB / 1.103 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006863/0.9428, allocations: 18.84 kB / 1.103 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000637/0.9435, allocations: 217.6 kB / 1.103 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001589/0.9451, allocations: 0.5658 MB / 1.104 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.9469, allocations: 0.8407 MB / 1.105 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001344/0.9482, allocations: 1.358 MB / 1.106 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008022/0.949, allocations: 0.655 MB / 1.107 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005991/0.9496, allocations: 491.3 kB / 1.107 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000665/0.9503, allocations: 0.5139 MB / 1.108 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001704/0.9505, allocations: 122.2 kB / 1.108 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009209/0.9514, allocations: 0.4993 MB / 1.108 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000273/0.9517, allocations: 310.5 kB / 1.109 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005429/0.9522, allocations: 0.5703 MB / 1.109 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00197/0.9542, allocations: 1.699 MB / 1.111 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.9542, allocations: 0 / 1.111 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.023e-06/0.9542, allocations: 0.5 kB / 1.111 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.847e-05/0.9543, allocations: 1.859 kB / 1.111 GB, free: 3.793 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.002643/0.9569, allocations: 1.495 MB / 1.112 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.9569, allocations: 9.375 kB / 1.112 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008647/0.9578, allocations: 189.1 kB / 1.112 GB, free: 18.91 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.959, allocations: 0.8002 MB / 1.113 GB, free: 18.56 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.755e-05/0.959, allocations: 61.19 kB / 1.113 GB, free: 18.56 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.9591, allocations: 88.08 kB / 1.113 GB, free: 18.56 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.9608, allocations: 0.9452 MB / 1.114 GB, free: 18.4 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.9608, allocations: 0 / 1.114 GB, free: 18.4 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-05/0.9609, allocations: 37.42 kB / 1.114 GB, free: 18.4 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.9609, allocations: 21.48 kB / 1.114 GB, free: 18.4 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/0.9629, allocations: 1.131 MB / 1.115 GB, free: 18.39 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004171/0.9671, allocations: 2.551 MB / 1.118 GB, free: 17.58 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.9685, allocations: 0.8375 MB / 1.119 GB, free: 17.53 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005095/0.969, allocations: 316 kB / 1.119 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/0.9692, allocations: 118.3 kB / 1.119 GB, free: 17.42 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008734/0.9701, allocations: 0.4987 MB / 1.12 GB, free: 17.35 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.375e-06/0.9701, allocations: 1.562 kB / 1.12 GB, free: 17.35 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003435/0.9735, allocations: 1.25 MB / 1.121 GB, free: 17.14 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.9737, allocations: 191.9 kB / 1.121 GB, free: 16.92 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008782/0.9745, allocations: 0.6827 MB / 1.122 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.82e-05/0.9746, allocations: 47.33 kB / 1.122 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/0.9749, allocations: 418.9 kB / 1.122 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.9751, allocations: 265.5 kB / 1.122 GB, free: 16.42 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002682/0.9754, allocations: 170.1 kB / 1.123 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.9756, allocations: 392.6 kB / 1.123 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000539/0.9761, allocations: 282.8 kB / 1.123 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007306/0.9768, allocations: 383.8 kB / 1.124 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.978, allocations: 0.6309 MB / 1.124 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.978, allocations: 0.9062 kB / 1.124 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002049/0.98, allocations: 0.8849 MB / 1.125 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.9801, allocations: 6.703 kB / 1.125 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.9801, allocations: 2.422 kB / 1.125 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005908/0.9807, allocations: 85.34 kB / 1.125 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006968/0.9814, allocations: 169.4 kB / 1.125 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/0.9835, allocations: 1.646 MB / 1.127 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000825/0.9844, allocations: 95.05 kB / 1.127 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.806e-05/0.9845, allocations: 40.56 kB / 1.127 GB, free: 14.39 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.0004798/0.985, allocations: 278.1 kB / 1.127 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/0.9851, allocations: 92.34 kB / 1.127 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002392/0.9875, allocations: 1.095 MB / 1.128 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.9876, allocations: 14.48 kB / 1.129 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.9876, allocations: 5.031 kB / 1.129 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.9876, allocations: 4.5 kB / 1.129 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.9886, allocations: 0.9524 MB / 1.129 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.9887, allocations: 1.312 kB / 1.129 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006131/0.9893, allocations: 150.9 kB / 1.13 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004298/0.9897, allocations: 70.69 kB / 1.13 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-05/0.9898, allocations: 30.59 kB / 1.13 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/0.9916, allocations: 1.668 MB / 1.131 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.9917, allocations: 6.531 kB / 1.131 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001945/0.9936, allocations: 0.9671 MB / 1.132 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/0.994, allocations: 282.3 kB / 1.133 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.9942, allocations: 19.88 kB / 1.133 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006169/0.9948, allocations: 65.61 kB / 1.133 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.9949, allocations: 78.16 kB / 1.133 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.415e-05/0.995, allocations: 36.81 kB / 1.133 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005873/0.9956, allocations: 492 kB / 1.133 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9956, allocations: 2.266 kB / 1.133 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008923/0.9965, allocations: 322.9 kB / 1.134 GB, free: 11.97 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.001306/0.9978, allocations: 0.6134 MB / 1.134 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001688/0.9995, allocations: 0.8665 MB / 1.135 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.9995, allocations: 0 / 1.135 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009573/1.001, allocations: 0.5406 MB / 1.135 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/1.002, allocations: 303.8 kB / 1.136 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/1.005, allocations: 1.865 MB / 1.138 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006361/1.006, allocations: 1.04 MB / 1.139 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008358/1.007, allocations: 263.1 kB / 1.139 GB, free: 9.961 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/1.007, allocations: 107.8 kB / 1.139 GB, free: 9.949 MB / 0.8731 GB Notification: Performance of SimCode: time 5.91e-07/1.007, allocations: 0 / 1.139 GB, free: 9.949 MB / 0.8731 GB Notification: Performance of Templates: time 0.02494/1.032, allocations: 15.39 MB / 1.154 GB, free: 5.293 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 gbode -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