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.001466/0.001466, allocations: 108.8 kB / 15.99 MB, free: 6.355 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.00172/0.00172, allocations: 192.5 kB / 16.91 MB, free: 6.188 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.374/1.374, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.313/2.313, allocations: 390.2 MB / 0.665 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 65.62 kB / 0.8127 GB, free: 33.25 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3046, allocations: 140.4 MB / 0.9498 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.007545/0.3122, allocations: 4.683 MB / 0.9543 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7292/1.041, allocations: 148.8 MB / 1.1 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009652/1.042, allocations: 21.09 kB / 1.1 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007679/1.043, allocations: 175.1 kB / 1.1 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001851/1.045, allocations: 0.502 MB / 1.1 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001874/1.047, allocations: 0.7588 MB / 1.101 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001814/1.049, allocations: 1.357 MB / 1.102 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/1.05, allocations: 0.6477 MB / 1.103 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008659/1.051, allocations: 494.2 kB / 1.103 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007401/1.051, allocations: 0.5172 MB / 1.104 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002158/1.052, allocations: 122 kB / 1.104 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/1.053, allocations: 478 kB / 1.105 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003293/1.053, allocations: 311 kB / 1.105 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006473/1.054, allocations: 0.5723 MB / 1.105 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00199/1.056, allocations: 1.279 MB / 1.107 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/1.056, allocations: 1.891 kB / 1.107 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.793e-06/1.056, allocations: 0 / 1.107 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.098e-05/1.056, allocations: 0.7812 kB / 1.107 GB, free: 4.328 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.003079/1.059, allocations: 1.487 MB / 1.108 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/1.059, allocations: 9.531 kB / 1.108 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/1.06, allocations: 194.2 kB / 1.108 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/1.061, allocations: 0.7757 MB / 1.109 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/1.062, allocations: 65.88 kB / 1.109 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/1.062, allocations: 81.42 kB / 1.109 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002026/1.064, allocations: 0.941 MB / 1.11 GB, free: 18.95 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/1.064, allocations: 0 / 1.11 GB, free: 18.95 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.936e-05/1.064, allocations: 38.08 kB / 1.11 GB, free: 18.95 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.621e-05/1.064, allocations: 26.09 kB / 1.11 GB, free: 18.95 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002041/1.066, allocations: 1.127 MB / 1.111 GB, free: 18.94 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004408/1.07, allocations: 2.601 MB / 1.114 GB, free: 18.1 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/1.072, allocations: 0.8332 MB / 1.115 GB, free: 18.05 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005775/1.072, allocations: 319.1 kB / 1.115 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002103/1.073, allocations: 106.9 kB / 1.115 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/1.074, allocations: 0.5116 MB / 1.116 GB, free: 17.87 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.524e-06/1.074, allocations: 0 / 1.116 GB, free: 17.87 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.00343/1.077, allocations: 1.248 MB / 1.117 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/1.077, allocations: 194.6 kB / 1.117 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/1.078, allocations: 0.6796 MB / 1.118 GB, free: 17.32 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.219e-05/1.079, allocations: 44.2 kB / 1.118 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003042/1.079, allocations: 416.5 kB / 1.118 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/1.079, allocations: 267.8 kB / 1.118 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000262/1.079, allocations: 170.4 kB / 1.118 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002015/1.08, allocations: 399.6 kB / 1.119 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005562/1.08, allocations: 276.3 kB / 1.119 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007007/1.081, allocations: 386.5 kB / 1.119 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/1.082, allocations: 0.6293 MB / 1.12 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.082, allocations: 1.203 kB / 1.12 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002096/1.084, allocations: 0.8868 MB / 1.121 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/1.084, allocations: 4.781 kB / 1.121 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/1.084, allocations: 2.234 kB / 1.121 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005984/1.085, allocations: 91.3 kB / 1.121 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006658/1.086, allocations: 168.2 kB / 1.121 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/1.088, allocations: 1.645 MB / 1.123 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008503/1.089, allocations: 92.78 kB / 1.123 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.659e-05/1.089, allocations: 41.02 kB / 1.123 GB, free: 14.91 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.0005343/1.089, allocations: 282.4 kB / 1.123 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/1.089, allocations: 91.33 kB / 1.123 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002552/1.092, allocations: 1.106 MB / 1.124 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/1.092, allocations: 12.91 kB / 1.124 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/1.092, allocations: 1.094 kB / 1.124 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/1.092, allocations: 4.172 kB / 1.124 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/1.093, allocations: 0.9453 MB / 1.125 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/1.093, allocations: 1.531 kB / 1.125 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006206/1.094, allocations: 151.3 kB / 1.125 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004616/1.095, allocations: 71.3 kB / 1.126 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.991e-05/1.095, allocations: 27.19 kB / 1.126 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001923/1.097, allocations: 1.669 MB / 1.127 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.097, allocations: 0 / 1.127 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00216/1.099, allocations: 0.9711 MB / 1.128 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004487/1.099, allocations: 282.8 kB / 1.128 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/1.099, allocations: 18.22 kB / 1.128 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007134/1.1, allocations: 68.02 kB / 1.128 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/1.1, allocations: 75.7 kB / 1.129 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.237e-05/1.1, allocations: 37.75 kB / 1.129 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007199/1.101, allocations: 490.9 kB / 1.129 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.293e-06/1.101, allocations: 0 / 1.129 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001279/1.102, allocations: 324.1 kB / 1.129 GB, free: 12.49 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.001709/1.104, allocations: 0.615 MB / 1.13 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002692/1.107, allocations: 1.061 MB / 1.131 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/1.107, allocations: 1.562 kB / 1.131 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/1.108, allocations: 0.5343 MB / 1.132 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/1.109, allocations: 312 kB / 1.132 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004949/1.114, allocations: 2.353 MB / 1.134 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009846/1.115, allocations: 1.041 MB / 1.135 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004222/1.116, allocations: 119.1 kB / 1.135 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of SimCode: time 6.91e-07/1.116, allocations: 4 kB / 1.135 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of Templates: time 0.03715/1.153, allocations: 19.42 MB / 1.154 GB, free: 3.836 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 -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