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.001529/0.001529, allocations: 102 kB / 16.4 MB, free: 6.461 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.001522, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.13 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.355/2.355, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 59.89 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8911/0.8923, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.006259/0.8986, allocations: 4.674 MB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1961/1.095, allocations: 151 MB / 1.241 GB, free: 364 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001534/1.096, allocations: 18.88 kB / 1.241 GB, free: 356 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001203/1.098, allocations: 227.1 kB / 1.241 GB, free: 160 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003006/1.101, allocations: 0.5775 MB / 1.241 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003012/1.104, allocations: 0.8458 MB / 1.242 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002323/1.106, allocations: 1.36 MB / 1.244 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/1.107, allocations: 0.6409 MB / 1.244 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009203/1.108, allocations: 0.4915 MB / 1.245 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006937/1.109, allocations: 0.5155 MB / 1.245 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001911/1.109, allocations: 121.2 kB / 1.245 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/1.11, allocations: 0.4976 MB / 1.246 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002787/1.11, allocations: 303 kB / 1.246 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005334/1.111, allocations: 0.5789 MB / 1.247 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00198/1.113, allocations: 1.694 MB / 1.248 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.113, allocations: 7.938 kB / 1.248 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.864e-06/1.113, allocations: 4 kB / 1.248 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.013e-05/1.113, allocations: 0 / 1.248 GB, free: 10.15 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.002563/1.116, allocations: 1.488 MB / 1.25 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/1.116, allocations: 8.031 kB / 1.25 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009079/1.117, allocations: 195.3 kB / 1.25 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/1.118, allocations: 0.7935 MB / 1.251 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.359e-05/1.118, allocations: 66 kB / 1.251 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/1.118, allocations: 83.98 kB / 1.251 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/1.12, allocations: 0.9456 MB / 1.252 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/1.12, allocations: 0 / 1.252 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.261e-05/1.12, allocations: 36 kB / 1.252 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/1.12, allocations: 23.94 kB / 1.252 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/1.122, allocations: 1.136 MB / 1.253 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003787/1.125, allocations: 2.561 MB / 1.255 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/1.127, allocations: 0.8286 MB / 1.256 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005401/1.127, allocations: 314.7 kB / 1.257 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002018/1.128, allocations: 117.7 kB / 1.257 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008745/1.128, allocations: 0.4991 MB / 1.257 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.394e-06/1.128, allocations: 0 / 1.257 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003175/1.132, allocations: 1.256 MB / 1.258 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/1.132, allocations: 188.6 kB / 1.259 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008727/1.133, allocations: 0.6919 MB / 1.259 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.859e-05/1.133, allocations: 45.7 kB / 1.259 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00034/1.133, allocations: 416.4 kB / 1.26 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/1.133, allocations: 268.2 kB / 1.26 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000257/1.134, allocations: 166.5 kB / 1.26 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001866/1.134, allocations: 394.7 kB / 1.26 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000537/1.134, allocations: 277.8 kB / 1.261 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006602/1.135, allocations: 379.1 kB / 1.261 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/1.136, allocations: 0.6346 MB / 1.262 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.136, allocations: 0 / 1.262 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001944/1.138, allocations: 0.8878 MB / 1.263 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/1.138, allocations: 11.94 kB / 1.263 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/1.138, allocations: 0 / 1.263 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005603/1.139, allocations: 88.7 kB / 1.263 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006636/1.139, allocations: 167.8 kB / 1.263 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/1.142, allocations: 1.649 MB / 1.264 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006909/1.142, allocations: 91.31 kB / 1.265 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.738e-05/1.142, allocations: 39.97 kB / 1.265 GB, free: 8.934 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.0004528/1.143, allocations: 271.4 kB / 1.265 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/1.143, allocations: 94.94 kB / 1.265 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002368/1.145, allocations: 1.105 MB / 1.266 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/1.145, allocations: 8 kB / 1.266 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/1.145, allocations: 0 / 1.266 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/1.145, allocations: 3.984 kB / 1.266 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/1.146, allocations: 0.9425 MB / 1.267 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/1.147, allocations: 4.047 kB / 1.267 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005898/1.147, allocations: 151.8 kB / 1.267 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004094/1.148, allocations: 72.73 kB / 1.267 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.003e-05/1.148, allocations: 35.91 kB / 1.267 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/1.149, allocations: 1.67 MB / 1.269 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.15, allocations: 4.031 kB / 1.269 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/1.151, allocations: 0.9629 MB / 1.27 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003763/1.152, allocations: 283.6 kB / 1.27 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/1.152, allocations: 19.98 kB / 1.27 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000587/1.153, allocations: 74.31 kB / 1.27 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/1.153, allocations: 76.89 kB / 1.27 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.774e-05/1.153, allocations: 27.98 kB / 1.27 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006266/1.153, allocations: 495 kB / 1.271 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.153, allocations: 0 / 1.271 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008575/1.154, allocations: 331.1 kB / 1.271 GB, free: 2.074 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.00146/1.156, allocations: 0.5999 MB / 1.272 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001752/1.158, allocations: 0.8626 MB / 1.272 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.158, allocations: 0 / 1.272 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009258/1.159, allocations: 0.5431 MB / 1.273 GB, free: 224 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/1.16, allocations: 305.2 kB / 1.273 GB, free: 15.94 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003938/1.164, allocations: 1.905 MB / 1.275 GB, free: 14 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006123/1.164, allocations: 1.039 MB / 1.276 GB, free: 12.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003308/1.165, allocations: 119.4 kB / 1.276 GB, free: 12.82 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/1.165, allocations: 0 / 1.276 GB, free: 12.82 MB / 1.014 GB Notification: Performance of Templates: time 0.02512/1.19, allocations: 19.52 MB / 1.295 GB, free: 9.336 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