Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.008846/0.008846, allocations: 98.67 kB / 15.73 MB, free: 5.988 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.001965/0.001965, allocations: 196.7 kB / 16.68 MB, free: 5.918 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.775/2.775, allocations: 461.9 MB / 0.7348 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 60.12 kB / 1.054 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3387, allocations: 157.4 MB / 1.208 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.0092/0.348, allocations: 7.375 MB / 1.215 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8946/1.243, allocations: 151.7 MB / 1.363 GB, free: 6.734 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002359/1.245, allocations: 23.25 kB / 1.363 GB, free: 6.727 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001865/1.247, allocations: 301.2 kB / 1.363 GB, free: 6.535 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003951/1.251, allocations: 0.8127 MB / 1.364 GB, free: 6.051 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003759/1.255, allocations: 1.133 MB / 1.365 GB, free: 5.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004234/1.259, allocations: 2.359 MB / 1.368 GB, free: 4.188 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002406/1.261, allocations: 1.154 MB / 1.369 GB, free: 3.59 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/1.263, allocations: 0.9116 MB / 1.37 GB, free: 3.109 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/1.265, allocations: 0.9851 MB / 1.371 GB, free: 2.578 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.00068/1.266, allocations: 263.8 kB / 1.371 GB, free: 2.578 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001791/1.268, allocations: 0.6356 MB / 1.371 GB, free: 2.461 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006687/1.268, allocations: 0.5484 MB / 1.372 GB, free: 2.078 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001927/1.27, allocations: 1.062 MB / 1.373 GB, free: 1.355 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004592/1.275, allocations: 3.108 MB / 1.376 GB, free: 15.5 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/1.275, allocations: 1.469 kB / 1.376 GB, free: 15.5 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.166e-06/1.275, allocations: 0 / 1.376 GB, free: 15.5 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001095/1.275, allocations: 3.938 kB / 1.376 GB, free: 15.49 MB / 1.076 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.006506/1.281, allocations: 2.235 MB / 1.378 GB, free: 13.83 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/1.281, allocations: 10.91 kB / 1.378 GB, free: 13.83 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006264/1.288, allocations: 0.8583 MB / 1.379 GB, free: 13.44 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002217/1.29, allocations: 1.118 MB / 1.38 GB, free: 12.52 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/1.29, allocations: 122.6 kB / 1.38 GB, free: 12.47 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002502/1.29, allocations: 157.5 kB / 1.38 GB, free: 12.42 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00487/1.295, allocations: 2.053 MB / 1.382 GB, free: 11.17 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.381e-05/1.295, allocations: 1.031 kB / 1.382 GB, free: 11.17 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001678/1.295, allocations: 67.19 kB / 1.383 GB, free: 11.12 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.755e-05/1.295, allocations: 41.22 kB / 1.383 GB, free: 11.12 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006445/1.302, allocations: 2.447 MB / 1.385 GB, free: 9.926 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.0107/1.313, allocations: 5.635 MB / 1.39 GB, free: 5.5 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005079/1.318, allocations: 1.709 MB / 1.392 GB, free: 4.625 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002225/1.32, allocations: 0.8066 MB / 1.393 GB, free: 4.207 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008908/1.321, allocations: 488.9 kB / 1.393 GB, free: 3.684 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002712/1.324, allocations: 1.076 MB / 1.394 GB, free: 3.023 MB / 1.076 GB Notification: Performance of pre-optimization done (n=139): time 3.597e-06/1.324, allocations: 0 / 1.394 GB, free: 3.023 MB / 1.076 GB Notification: Performance of matching and sorting (n=139): time 0.008201/1.332, allocations: 2.6 MB / 1.397 GB, free: 1.668 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/1.332, allocations: 197.3 kB / 1.397 GB, free: 1.445 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/1.334, allocations: 0.8865 MB / 1.398 GB, free: 0.9297 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001548/1.334, allocations: 53.7 kB / 1.398 GB, free: 0.8789 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007177/1.334, allocations: 0.6226 MB / 1.399 GB, free: 332 kB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005278/1.335, allocations: 456.4 kB / 1.399 GB, free: 15.92 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000517/1.335, allocations: 269.7 kB / 1.399 GB, free: 15.76 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001558/1.336, allocations: 355.8 kB / 1.4 GB, free: 15.42 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00213/1.338, allocations: 0.6911 MB / 1.4 GB, free: 15.06 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002257/1.34, allocations: 0.836 MB / 1.401 GB, free: 14.59 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004153/1.344, allocations: 1.471 MB / 1.403 GB, free: 13.81 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/1.344, allocations: 2.156 kB / 1.403 GB, free: 13.81 MB / 1.092 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005602/1.35, allocations: 1.833 MB / 1.404 GB, free: 12.82 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/1.35, allocations: 4 kB / 1.404 GB, free: 12.82 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.35, allocations: 0 / 1.404 GB, free: 12.82 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006569/1.351, allocations: 88.83 kB / 1.405 GB, free: 12.73 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/1.353, allocations: 343.5 kB / 1.405 GB, free: 12.39 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/1.355, allocations: 1.641 MB / 1.406 GB, free: 10.6 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/1.357, allocations: 202.8 kB / 1.407 GB, free: 10.4 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/1.357, allocations: 67.94 kB / 1.407 GB, free: 10.34 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.0008885/1.358, allocations: 396.3 kB / 1.407 GB, free: 9.941 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004119/1.358, allocations: 130.4 kB / 1.407 GB, free: 9.812 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006392/1.365, allocations: 2.206 MB / 1.409 GB, free: 7.594 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/1.365, allocations: 16 kB / 1.409 GB, free: 7.578 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.365, allocations: 0 / 1.409 GB, free: 7.578 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-05/1.365, allocations: 11.91 kB / 1.409 GB, free: 7.566 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/1.367, allocations: 1.781 MB / 1.411 GB, free: 5.738 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/1.367, allocations: 0 / 1.411 GB, free: 5.738 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001789/1.369, allocations: 319.1 kB / 1.411 GB, free: 5.43 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004773/1.37, allocations: 80.78 kB / 1.412 GB, free: 5.348 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/1.37, allocations: 43.95 kB / 1.412 GB, free: 5.305 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/1.372, allocations: 1.679 MB / 1.413 GB, free: 3.484 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.372, allocations: 0 / 1.413 GB, free: 3.484 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005622/1.377, allocations: 1.921 MB / 1.415 GB, free: 1.535 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008451/1.378, allocations: 430.9 kB / 1.415 GB, free: 1.094 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/1.379, allocations: 43.94 kB / 1.416 GB, free: 1.051 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001628/1.38, allocations: 135.8 kB / 1.416 GB, free: 0.918 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002481/1.38, allocations: 117.1 kB / 1.416 GB, free: 0.8047 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/1.381, allocations: 59.95 kB / 1.416 GB, free: 0.7461 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009904/1.382, allocations: 0.6461 MB / 1.416 GB, free: 92 kB / 1.092 GB Notification: Performance of sort global known variables: time 2.01e-07/1.382, allocations: 4 kB / 1.416 GB, free: 88 kB / 1.092 GB Notification: Performance of remove unused functions: time 0.001518/1.383, allocations: 0.5143 MB / 1.417 GB, free: 15.57 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.001675/1.385, allocations: 0.6471 MB / 1.418 GB, free: 15.1 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.005177/1.39, allocations: 1.821 MB / 1.419 GB, free: 13.27 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/1.39, allocations: 0 / 1.419 GB, free: 13.27 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002619/1.393, allocations: 1.06 MB / 1.42 GB, free: 12.19 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/1.394, allocations: 371.9 kB / 1.421 GB, free: 11.85 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006107/1.401, allocations: 2.946 MB / 1.424 GB, free: 8.871 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009214/1.401, allocations: 1.26 MB / 1.425 GB, free: 7.582 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001576/1.403, allocations: 410.1 kB / 1.425 GB, free: 7.176 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006104/1.404, allocations: 171.3 kB / 1.425 GB, free: 7.008 MB / 1.107 GB Notification: Performance of SimCode: time 4.91e-07/1.404, allocations: 0 / 1.425 GB, free: 7.008 MB / 1.107 GB Notification: Performance of Templates: time 0.04276/1.446, allocations: 25.06 MB / 1.45 GB, free: 14.13 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches