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.001353/0.001353, allocations: 115.9 kB / 16.42 MB, free: 6.496 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.001521/0.001521, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.31/1.31, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.17/2.17, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 63.91 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7209/0.7224, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.005413/0.7278, allocations: 4.678 MB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1689/0.8967, allocations: 151 MB / 1.241 GB, free: 376 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009436/0.8977, allocations: 16.31 kB / 1.241 GB, free: 372 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00088/0.8986, allocations: 229.6 kB / 1.241 GB, free: 172 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002195/0.9008, allocations: 0.5738 MB / 1.241 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002305/0.9031, allocations: 0.8476 MB / 1.242 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001703/0.9048, allocations: 1.363 MB / 1.244 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009793/0.9058, allocations: 0.6443 MB / 1.244 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008101/0.9067, allocations: 0.4888 MB / 1.245 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007968/0.9075, allocations: 0.5116 MB / 1.245 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000264/0.9077, allocations: 120.9 kB / 1.245 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.9089, allocations: 0.5018 MB / 1.246 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000336/0.9092, allocations: 307 kB / 1.246 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006991/0.9099, allocations: 0.5673 MB / 1.247 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002281/0.9122, allocations: 1.702 MB / 1.248 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.9122, allocations: 0 / 1.248 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.385e-06/0.9122, allocations: 3.938 kB / 1.248 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.777e-05/0.9123, allocations: 0 / 1.248 GB, free: 10.21 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.003085/0.9154, allocations: 1.496 MB / 1.25 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.9154, allocations: 15.97 kB / 1.25 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.9165, allocations: 187.3 kB / 1.25 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.9178, allocations: 0.7935 MB / 1.251 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.606e-05/0.9179, allocations: 66 kB / 1.251 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.918, allocations: 84 kB / 1.251 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.9198, allocations: 0.9418 MB / 1.252 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.9198, allocations: 4 kB / 1.252 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-05/0.9199, allocations: 32 kB / 1.252 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.9199, allocations: 20 kB / 1.252 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.9218, allocations: 1.136 MB / 1.253 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00397/0.9258, allocations: 2.566 MB / 1.255 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.9273, allocations: 0.8286 MB / 1.256 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005619/0.9279, allocations: 318.7 kB / 1.257 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001785/0.9281, allocations: 117.7 kB / 1.257 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008811/0.929, allocations: 0.4991 MB / 1.257 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.766e-06/0.929, allocations: 0 / 1.257 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003376/0.9324, allocations: 1.253 MB / 1.258 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.9325, allocations: 188.6 kB / 1.259 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009382/0.9335, allocations: 0.692 MB / 1.259 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.076e-05/0.9335, allocations: 41.7 kB / 1.259 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003453/0.9339, allocations: 428.3 kB / 1.26 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/0.9341, allocations: 260.2 kB / 1.26 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002583/0.9344, allocations: 166.5 kB / 1.26 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.9346, allocations: 394.7 kB / 1.26 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005914/0.9352, allocations: 277.8 kB / 1.261 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007031/0.9359, allocations: 383 kB / 1.261 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.9371, allocations: 0.6385 MB / 1.262 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.9372, allocations: 0 / 1.262 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002086/0.9393, allocations: 0.88 MB / 1.263 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.9393, allocations: 8 kB / 1.263 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.9393, allocations: 3.938 kB / 1.263 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005911/0.9399, allocations: 84.86 kB / 1.263 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000667/0.9406, allocations: 167.7 kB / 1.263 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.9427, allocations: 1.649 MB / 1.264 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007443/0.9435, allocations: 91.31 kB / 1.265 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.74e-05/0.9436, allocations: 47.97 kB / 1.265 GB, free: 8.98 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: 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.0004567/0.9441, allocations: 275.4 kB / 1.265 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.9443, allocations: 94.88 kB / 1.265 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002476/0.9467, allocations: 1.094 MB / 1.266 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.9468, allocations: 11.92 kB / 1.266 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.9468, allocations: 0 / 1.266 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004217/0.9472, allocations: 279.6 kB / 1.266 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/0.9474, allocations: 23.98 kB / 1.266 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006602/0.948, allocations: 66.59 kB / 1.266 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.9482, allocations: 72.89 kB / 1.266 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00219/0.9504, allocations: 0.9826 MB / 1.267 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002407/0.9528, allocations: 1.473 MB / 1.269 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008876/0.9537, allocations: 371.8 kB / 1.269 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006274/0.9544, allocations: 491 kB / 1.27 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of Backend: time 4.11e-07/0.9544, allocations: 0 / 1.27 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003234/0.9576, allocations: 1.278 MB / 1.271 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of SimCode: time 0.003144/0.9608, allocations: 2.174 MB / 1.273 GB, free: 444 kB / 0.9981 GB Notification: Performance of Templates: time 0.02669/0.9875, allocations: 16.92 MB / 1.29 GB, free: 15.67 MB / 1.029 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