Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.on|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.on|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_10_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.001133/0.001133, allocations: 107.7 kB / 16.41 MB, free: 6.473 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.001264/0.001264, allocations: 185.6 kB / 17.34 MB, free: 5.75 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.256/1.256, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.478/2.478, allocations: 437 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 63.91 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8543/0.8558, allocations: 151.6 MB / 1.167 GB, free: 4.051 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009398/0.8652, allocations: 7.401 MB / 1.175 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1563/1.022, allocations: 151.8 MB / 1.323 GB, free: 4.262 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/1.023, allocations: 23.88 kB / 1.323 GB, free: 4.238 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001285/1.025, allocations: 301.1 kB / 1.323 GB, free: 3.941 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003227/1.028, allocations: 0.8125 MB / 1.324 GB, free: 3.129 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002882/1.031, allocations: 1.142 MB / 1.325 GB, free: 1.992 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003314/1.034, allocations: 2.341 MB / 1.327 GB, free: 15.64 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002062/1.036, allocations: 1.164 MB / 1.328 GB, free: 14.43 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/1.038, allocations: 0.9112 MB / 1.329 GB, free: 13.51 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001486/1.039, allocations: 0.9765 MB / 1.33 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0006021/1.04, allocations: 264 kB / 1.33 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/1.041, allocations: 0.648 MB / 1.331 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006507/1.042, allocations: 0.5453 MB / 1.332 GB, free: 11.08 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001423/1.043, allocations: 1.065 MB / 1.333 GB, free: 10.01 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003897/1.047, allocations: 3.129 MB / 1.336 GB, free: 6.867 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/1.047, allocations: 4 kB / 1.336 GB, free: 6.863 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.363e-06/1.047, allocations: 0 / 1.336 GB, free: 6.863 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.791e-05/1.047, allocations: 0 / 1.336 GB, free: 6.863 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.005586/1.053, allocations: 2.283 MB / 1.338 GB, free: 4.523 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/1.053, allocations: 12.92 kB / 1.338 GB, free: 4.512 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006192/1.059, allocations: 0.8736 MB / 1.339 GB, free: 3.637 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002336/1.061, allocations: 1.107 MB / 1.34 GB, free: 2.484 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/1.062, allocations: 123.3 kB / 1.34 GB, free: 2.363 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003898/1.062, allocations: 160 kB / 1.34 GB, free: 2.207 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00549/1.068, allocations: 2.055 MB / 1.342 GB, free: 104 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.066e-05/1.068, allocations: 0 / 1.342 GB, free: 104 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002542/1.068, allocations: 71.98 kB / 1.342 GB, free: 32 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.291e-05/1.068, allocations: 40.05 kB / 1.342 GB, free: 15.99 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006362/1.074, allocations: 2.444 MB / 1.345 GB, free: 13.54 MB / 1.076 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01086/1.085, allocations: 5.65 MB / 1.35 GB, free: 7.711 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004579/1.09, allocations: 1.728 MB / 1.352 GB, free: 5.98 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002044/1.092, allocations: 0.8026 MB / 1.353 GB, free: 5.176 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007113/1.093, allocations: 495.1 kB / 1.353 GB, free: 4.598 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002566/1.095, allocations: 1.071 MB / 1.354 GB, free: 3.508 MB / 1.076 GB Notification: Performance of pre-optimization done (n=139): time 4.378e-06/1.095, allocations: 0 / 1.354 GB, free: 3.508 MB / 1.076 GB Notification: Performance of matching and sorting (n=139): time 0.007947/1.103, allocations: 2.604 MB / 1.357 GB, free: 0.8789 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/1.103, allocations: 197.2 kB / 1.357 GB, free: 0.6406 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/1.105, allocations: 0.8899 MB / 1.358 GB, free: 15.73 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001761/1.105, allocations: 53.7 kB / 1.358 GB, free: 15.67 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006008/1.106, allocations: 0.6343 MB / 1.358 GB, free: 15.02 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000453/1.106, allocations: 472 kB / 1.359 GB, free: 14.56 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005238/1.107, allocations: 270.8 kB / 1.359 GB, free: 14.29 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.107, allocations: 361.8 kB / 1.36 GB, free: 13.93 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002007/1.109, allocations: 0.6858 MB / 1.36 GB, free: 13.24 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/1.111, allocations: 0.8281 MB / 1.361 GB, free: 12.4 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004012/1.115, allocations: 1.467 MB / 1.362 GB, free: 10.91 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/1.115, allocations: 0 / 1.362 GB, free: 10.91 MB / 1.092 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005374/1.12, allocations: 1.84 MB / 1.364 GB, free: 9.062 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/1.12, allocations: 7.984 kB / 1.364 GB, free: 9.055 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/1.12, allocations: 0 / 1.364 GB, free: 9.055 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006198/1.121, allocations: 88.78 kB / 1.364 GB, free: 8.965 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001926/1.123, allocations: 343.5 kB / 1.365 GB, free: 8.629 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/1.125, allocations: 1.66 MB / 1.366 GB, free: 6.824 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001956/1.127, allocations: 207.1 kB / 1.366 GB, free: 6.621 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002468/1.127, allocations: 67.94 kB / 1.367 GB, free: 6.555 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 25 (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,pumCon.hys.y,$PRE.pumCon.hys.y,pumCon.HDirTil.incAng.decAng.tNext,$PRE.pumCon.HDirTil.incAng.decAng.tNext,pumCon.HDifTilIso.incAng.decAng.tNext,$PRE.pumCon.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 160 * 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.0009812/1.128, allocations: 392.2 kB / 1.367 GB, free: 6.164 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004354/1.129, allocations: 135.1 kB / 1.367 GB, free: 6.031 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006346/1.135, allocations: 2.202 MB / 1.369 GB, free: 3.812 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/1.135, allocations: 12 kB / 1.369 GB, free: 3.801 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/1.135, allocations: 11.88 kB / 1.369 GB, free: 3.789 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/1.135, allocations: 11.97 kB / 1.369 GB, free: 3.777 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002639/1.138, allocations: 1.78 MB / 1.371 GB, free: 1.945 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/1.138, allocations: 0 / 1.371 GB, free: 1.945 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001771/1.14, allocations: 315.6 kB / 1.371 GB, free: 1.637 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004864/1.14, allocations: 76.8 kB / 1.371 GB, free: 1.559 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001462/1.14, allocations: 43.95 kB / 1.371 GB, free: 1.516 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002071/1.142, allocations: 1.678 MB / 1.373 GB, free: 15.7 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/1.142, allocations: 8.062 kB / 1.373 GB, free: 15.69 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005431/1.148, allocations: 1.922 MB / 1.375 GB, free: 13.74 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007943/1.149, allocations: 439.6 kB / 1.375 GB, free: 13.29 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003209/1.149, allocations: 43.94 kB / 1.375 GB, free: 13.25 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/1.151, allocations: 135.8 kB / 1.375 GB, free: 13.12 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002642/1.151, allocations: 125.1 kB / 1.376 GB, free: 13 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001656/1.151, allocations: 59.95 kB / 1.376 GB, free: 12.94 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.00112/1.152, allocations: 0.6384 MB / 1.376 GB, free: 12.29 MB / 1.107 GB Notification: Performance of sort global known variables: time 4.41e-07/1.152, allocations: 0 / 1.376 GB, free: 12.29 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001662/1.154, allocations: 0.5221 MB / 1.377 GB, free: 11.77 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,pumCon.hys.y,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 8 (pumCon.hys.y,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,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 (155): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.001723/1.156, allocations: 0.648 MB / 1.377 GB, free: 11.28 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.005128/1.161, allocations: 1.821 MB / 1.379 GB, free: 9.445 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/1.161, allocations: 3.938 kB / 1.379 GB, free: 9.441 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002627/1.164, allocations: 1.056 MB / 1.38 GB, free: 8.375 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/1.166, allocations: 375.8 kB / 1.381 GB, free: 8.031 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006331/1.172, allocations: 3.064 MB / 1.384 GB, free: 4.93 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009508/1.173, allocations: 1.257 MB / 1.385 GB, free: 3.641 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008071/1.174, allocations: 199.2 kB / 1.385 GB, free: 3.445 MB / 1.107 GB Notification: Performance of SimCode: time 1.042e-06/1.174, allocations: 0 / 1.385 GB, free: 3.445 MB / 1.107 GB Notification: Performance of Templates: time 0.04774/1.222, allocations: 32.58 MB / 1.417 GB, free: 2.914 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches