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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007488/0.007488, allocations: 98.19 kB / 15.73 MB, free: 6.031 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.001758/0.001758, allocations: 194.8 kB / 16.67 MB, free: 5.949 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.19/2.19, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.91 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8795/0.8809, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.005655/0.8866, allocations: 4.675 MB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2133/1.1, allocations: 151 MB / 1.239 GB, free: 200 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001698/1.102, allocations: 15.75 kB / 1.239 GB, free: 196 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001304/1.103, allocations: 216.3 kB / 1.24 GB, free: 8 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003621/1.107, allocations: 0.5791 MB / 1.24 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003695/1.11, allocations: 0.8413 MB / 1.241 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002908/1.113, allocations: 1.365 MB / 1.242 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001744/1.115, allocations: 0.6323 MB / 1.243 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/1.116, allocations: 0.4924 MB / 1.244 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001247/1.118, allocations: 0.5161 MB / 1.244 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005301/1.118, allocations: 120.9 kB / 1.244 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00196/1.12, allocations: 0.4955 MB / 1.245 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000573/1.121, allocations: 306.9 kB / 1.245 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001146/1.122, allocations: 0.5712 MB / 1.245 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003216/1.125, allocations: 1.709 MB / 1.247 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.125, allocations: 0 / 1.247 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.864e-06/1.125, allocations: 0 / 1.247 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.936e-05/1.125, allocations: 4 kB / 1.247 GB, free: 10.25 MB / 0.9825 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.00404/1.129, allocations: 1.5 MB / 1.249 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/1.129, allocations: 8.031 kB / 1.249 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002643/1.13, allocations: 135.5 kB / 1.249 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009974/1.131, allocations: 199.3 kB / 1.249 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/1.132, allocations: 0.801 MB / 1.25 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.437e-05/1.132, allocations: 69.94 kB / 1.25 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/1.132, allocations: 79.98 kB / 1.25 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/1.134, allocations: 0.9418 MB / 1.251 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/1.134, allocations: 3.938 kB / 1.251 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.981e-05/1.134, allocations: 36 kB / 1.251 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/1.134, allocations: 20 kB / 1.251 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/1.136, allocations: 1.136 MB / 1.252 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004472/1.141, allocations: 2.543 MB / 1.254 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/1.142, allocations: 0.8439 MB / 1.255 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00058/1.143, allocations: 318.7 kB / 1.256 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002006/1.143, allocations: 109.7 kB / 1.256 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009418/1.144, allocations: 0.5185 MB / 1.256 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 4.048e-06/1.144, allocations: 0 / 1.256 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003431/1.148, allocations: 1.241 MB / 1.257 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/1.148, allocations: 204.5 kB / 1.258 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009775/1.149, allocations: 0.6803 MB / 1.258 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.561e-05/1.149, allocations: 41.7 kB / 1.258 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003773/1.149, allocations: 428.4 kB / 1.259 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00025/1.15, allocations: 264.1 kB / 1.259 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002758/1.15, allocations: 150.6 kB / 1.259 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.15, allocations: 338 kB / 1.259 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000553/1.151, allocations: 257.9 kB / 1.26 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000655/1.151, allocations: 374.5 kB / 1.26 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/1.152, allocations: 0.6151 MB / 1.261 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/1.152, allocations: 0 / 1.261 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002035/1.154, allocations: 0.8408 MB / 1.261 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/1.154, allocations: 15.97 kB / 1.261 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/1.154, allocations: 0 / 1.261 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006043/1.155, allocations: 80.78 kB / 1.262 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006262/1.156, allocations: 155.8 kB / 1.262 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/1.158, allocations: 1.65 MB / 1.263 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007352/1.159, allocations: 91.31 kB / 1.263 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.326e-05/1.159, allocations: 31.92 kB / 1.263 GB, free: 9.043 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (88): * Single equations (assignments): 87 * 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.0004984/1.159, allocations: 273.6 kB / 1.264 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/1.16, allocations: 87.03 kB / 1.264 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/1.162, allocations: 1.105 MB / 1.265 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/1.162, allocations: 15.98 kB / 1.265 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.162, allocations: 0 / 1.265 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/1.162, allocations: 3.984 kB / 1.265 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/1.163, allocations: 0.9464 MB / 1.266 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/1.163, allocations: 0 / 1.266 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005915/1.164, allocations: 147.8 kB / 1.266 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000442/1.165, allocations: 76.8 kB / 1.266 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.758e-05/1.165, allocations: 31.91 kB / 1.266 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00197/1.167, allocations: 1.666 MB / 1.268 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.167, allocations: 7.922 kB / 1.268 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/1.169, allocations: 0.963 MB / 1.269 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004695/1.169, allocations: 279.6 kB / 1.269 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/1.169, allocations: 23.98 kB / 1.269 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006648/1.17, allocations: 74.38 kB / 1.269 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/1.17, allocations: 72.83 kB / 1.269 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-05/1.17, allocations: 43.91 kB / 1.269 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007053/1.171, allocations: 491 kB / 1.27 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.171, allocations: 0 / 1.27 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009181/1.172, allocations: 319.2 kB / 1.27 GB, free: 2.191 MB / 0.9981 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.00379/1.176, allocations: 2.014 MB / 1.272 GB, free: 336 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001848/1.178, allocations: 0.8314 MB / 1.273 GB, free: 15.48 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.178, allocations: 0 / 1.273 GB, free: 15.48 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009875/1.179, allocations: 0.5354 MB / 1.273 GB, free: 14.93 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/1.18, allocations: 305.2 kB / 1.273 GB, free: 14.66 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01287/1.193, allocations: 6.633 MB / 1.28 GB, free: 7.879 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008127/1.194, allocations: 1.043 MB / 1.281 GB, free: 6.809 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008834/1.195, allocations: 270.7 kB / 1.281 GB, free: 6.539 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006041/1.195, allocations: 403.3 kB / 1.282 GB, free: 6.145 MB / 1.014 GB Notification: Performance of SimCode: time 6.02e-07/1.195, allocations: 0 / 1.282 GB, free: 6.145 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05489/1.25, allocations: 22.88 MB / 1.304 GB, free: 15.6 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/13.73, allocations: 18.94 kB / 1.304 GB, free: 15.59 MB / 1.045 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > 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