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.001571/0.001571, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001974/0.001974, allocations: 197.6 kB / 16.79 MB, free: 6.809 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.416/1.416, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.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.498/2.498, allocations: 390.2 MB / 0.6649 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001456, allocations: 67.88 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7007/0.7022, allocations: 140.3 MB / 0.9496 GB, free: 9.355 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.008126/0.7104, allocations: 4.684 MB / 0.9541 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1683/0.8788, allocations: 148.7 MB / 1.099 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.8799, allocations: 19.88 kB / 1.099 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009979/0.8809, allocations: 174.7 kB / 1.1 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002305/0.8833, allocations: 493.5 kB / 1.1 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.8855, allocations: 0.7341 MB / 1.101 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001748/0.8873, allocations: 1.265 MB / 1.102 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.8884, allocations: 0.6259 MB / 1.103 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000884/0.8893, allocations: 430.1 kB / 1.103 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000812/0.8901, allocations: 493.5 kB / 1.103 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002821/0.8904, allocations: 60 kB / 1.103 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.8915, allocations: 423.6 kB / 1.104 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003403/0.8919, allocations: 239 kB / 1.104 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007147/0.8926, allocations: 0.5204 MB / 1.105 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001664/0.8943, allocations: 1.255 MB / 1.106 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.8943, allocations: 0 / 1.106 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.955e-06/0.8943, allocations: 0 / 1.106 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.747e-05/0.8944, allocations: 3.938 kB / 1.106 GB, free: 1.672 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.003415/0.8978, allocations: 1.488 MB / 1.107 GB, free: 140 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.8978, allocations: 8.031 kB / 1.107 GB, free: 132 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.8989, allocations: 195.4 kB / 1.108 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.9002, allocations: 0.7778 MB / 1.108 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.562e-05/0.9003, allocations: 58 kB / 1.108 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.9004, allocations: 84 kB / 1.108 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.9023, allocations: 0.9456 MB / 1.109 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.9023, allocations: 4 kB / 1.109 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.36e-05/0.9024, allocations: 36 kB / 1.109 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.9025, allocations: 20 kB / 1.109 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/0.9044, allocations: 1.132 MB / 1.11 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004946/0.9093, allocations: 2.597 MB / 1.113 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.911, allocations: 0.8275 MB / 1.114 GB, free: 9.297 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005962/0.9116, allocations: 314.6 kB / 1.114 GB, free: 8.98 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002161/0.9118, allocations: 113.7 kB / 1.114 GB, free: 8.852 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.9128, allocations: 0.5147 MB / 1.115 GB, free: 8.32 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.985e-06/0.9128, allocations: 0 / 1.115 GB, free: 8.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003508/0.9164, allocations: 1.248 MB / 1.116 GB, free: 7.043 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.9165, allocations: 188.6 kB / 1.116 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009318/0.9174, allocations: 0.6842 MB / 1.117 GB, free: 6.125 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.291e-05/0.9175, allocations: 41.7 kB / 1.117 GB, free: 6.078 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003457/0.9179, allocations: 428.4 kB / 1.117 GB, free: 5.652 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.9181, allocations: 264.2 kB / 1.118 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003068/0.9184, allocations: 170.4 kB / 1.118 GB, free: 5.215 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.9186, allocations: 390.8 kB / 1.118 GB, free: 4.824 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006023/0.9192, allocations: 281.8 kB / 1.118 GB, free: 4.551 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006498/0.9199, allocations: 379.1 kB / 1.119 GB, free: 4.168 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.9211, allocations: 0.6346 MB / 1.119 GB, free: 3.52 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.706e-06/0.9211, allocations: 4 kB / 1.119 GB, free: 3.516 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00211/0.9232, allocations: 0.8838 MB / 1.12 GB, free: 2.621 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.9232, allocations: 11.94 kB / 1.12 GB, free: 2.609 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.9232, allocations: 0 / 1.12 GB, free: 2.609 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006216/0.9239, allocations: 80.88 kB / 1.12 GB, free: 2.527 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006918/0.9246, allocations: 167.8 kB / 1.12 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002453/0.927, allocations: 1.539 MB / 1.122 GB, free: 0.6797 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008603/0.9279, allocations: 91.31 kB / 1.122 GB, free: 0.5898 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-05/0.928, allocations: 39.97 kB / 1.122 GB, free: 0.5508 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.0005095/0.9285, allocations: 271.4 kB / 1.122 GB, free: 284 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.9287, allocations: 90.97 kB / 1.122 GB, free: 192 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002535/0.9312, allocations: 1.113 MB / 1.123 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.9313, allocations: 8 kB / 1.123 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.9313, allocations: 4 kB / 1.123 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.9313, allocations: 7.922 kB / 1.123 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.9325, allocations: 0.9425 MB / 1.124 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.9325, allocations: 0 / 1.124 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006161/0.9331, allocations: 155.8 kB / 1.125 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005578/0.9337, allocations: 80.78 kB / 1.125 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.26e-05/0.9338, allocations: 31.91 kB / 1.125 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001999/0.9358, allocations: 1.555 MB / 1.126 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.9358, allocations: 0 / 1.126 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/0.9379, allocations: 0.9668 MB / 1.127 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000383/0.9383, allocations: 279.6 kB / 1.127 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.9384, allocations: 24 kB / 1.127 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006052/0.9391, allocations: 65.33 kB / 1.127 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.9392, allocations: 72.89 kB / 1.128 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.277e-05/0.9393, allocations: 35.98 kB / 1.128 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006262/0.9399, allocations: 495 kB / 1.128 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9399, allocations: 0 / 1.128 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008634/0.9408, allocations: 323.1 kB / 1.128 GB, free: 9.82 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.001444/0.9423, allocations: 0.6049 MB / 1.129 GB, free: 9.395 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001865/0.9441, allocations: 0.8587 MB / 1.13 GB, free: 8.523 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.9441, allocations: 0 / 1.13 GB, free: 8.523 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000937/0.9451, allocations: 0.5352 MB / 1.13 GB, free: 7.977 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.9463, allocations: 289.5 kB / 1.131 GB, free: 7.703 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004514/0.9508, allocations: 2.348 MB / 1.133 GB, free: 5.324 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006174/0.9515, allocations: 1.047 MB / 1.134 GB, free: 4.246 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003563/0.9518, allocations: 119.4 kB / 1.134 GB, free: 4.129 MB / 0.8887 GB Notification: Performance of SimCode: time 3.7e-07/0.9518, allocations: 0 / 1.134 GB, free: 4.129 MB / 0.8887 GB Notification: Performance of Templates: time 0.02552/0.9774, allocations: 19.41 MB / 1.153 GB, free: 0.7695 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/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