Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.9..T|tan.vol.1..T|TIn.T|pumCon.on",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.9..T|tan.vol.1..T|TIn.T|pumCon.on",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001558, allocations: 111.3 kB / 16.38 MB, free: 6.023 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.001699/0.001699, allocations: 192.8 kB / 17.31 MB, free: 5.617 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.604/1.604, allocations: 222.9 MB / 241 MB, free: 4.203 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.713/2.713, allocations: 442.6 MB / 0.7166 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 65.95 kB / 0.8774 GB, free: 42.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3103, allocations: 153 MB / 1.027 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank): time 0.1155/0.4258, allocations: 108.8 MB / 1.133 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.8553/1.281, allocations: 184.8 MB / 1.313 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008901/1.29, allocations: 164.6 kB / 1.314 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01416/1.304, allocations: 3.052 MB / 1.317 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.02185/1.326, allocations: 5.561 MB / 1.322 GB, free: 15.05 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.01533/1.342, allocations: 5.189 MB / 1.327 GB, free: 14.69 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.04811/1.39, allocations: 32.54 MB / 1.359 GB, free: 9.641 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02821/1.418, allocations: 14.86 MB / 1.373 GB, free: 1.73 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0271/1.445, allocations: 10.5 MB / 1.384 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01891/1.464, allocations: 9.128 MB / 1.393 GB, free: 6.023 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.005857/1.47, allocations: 1.59 MB / 1.394 GB, free: 4.434 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01613/1.486, allocations: 4.735 MB / 1.399 GB, free: 15.85 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.007383/1.494, allocations: 3.837 MB / 1.402 GB, free: 12.08 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.01902/1.513, allocations: 7.563 MB / 1.41 GB, free: 4.562 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.03395/1.547, allocations: 22.46 MB / 1.432 GB, free: 14.64 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/1.547, allocations: 4 kB / 1.432 GB, free: 14.64 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.596e-06/1.547, allocations: 4 kB / 1.432 GB, free: 14.63 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0007421/1.547, allocations: 3.938 kB / 1.432 GB, free: 14.63 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: 2332 * Number of variables: 2332 Notification: Performance of Generate backend data structure: time 0.04281/1.59, allocations: 14.14 MB / 1.446 GB, free: 452 kB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.239e-05/1.59, allocations: 11.97 kB / 1.446 GB, free: 440 kB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01984/1.61, allocations: 3.029 MB / 1.449 GB, free: 13.38 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.027/1.637, allocations: 11.58 MB / 1.46 GB, free: 1.945 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007876/1.638, allocations: 0.6803 MB / 1.461 GB, free: 1.266 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003842/1.642, allocations: 0.9098 MB / 1.461 GB, free: 368 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03856/1.681, allocations: 13.27 MB / 1.474 GB, free: 2.762 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004448/1.681, allocations: 23.77 kB / 1.474 GB, free: 2.738 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003265/1.684, allocations: 391.5 kB / 1.475 GB, free: 2.359 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003882/1.685, allocations: 369.2 kB / 1.475 GB, free: 1.996 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03647/1.721, allocations: 12.5 MB / 1.487 GB, free: 5.473 MB / 1.123 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.09906/1.82, allocations: 52.05 MB / 1.538 GB, free: 15.39 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01975/1.84, allocations: 8.729 MB / 1.547 GB, free: 6.734 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01097/1.851, allocations: 4.692 MB / 1.551 GB, free: 2.02 MB / 1.186 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 evalFunc (simulation): time 0.04549/1.897, allocations: 20.33 MB / 1.571 GB, free: 13.14 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01238/1.909, allocations: 4.377 MB / 1.575 GB, free: 8.699 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004634/1.914, allocations: 0.5272 MB / 1.576 GB, free: 8.168 MB / 1.217 GB Notification: Performance of pre-optimization done (n=579): time 1.776e-05/1.914, allocations: 0 / 1.576 GB, free: 8.168 MB / 1.217 GB Notification: Performance of matching and sorting (n=579): time 0.03408/1.948, allocations: 11.1 MB / 1.587 GB, free: 12.97 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/1.948, allocations: 266.2 kB / 1.587 GB, free: 12.66 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0182/1.966, allocations: 8.78 MB / 1.596 GB, free: 3.902 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.001609/1.968, allocations: 149.7 kB / 1.596 GB, free: 3.75 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.00603/1.974, allocations: 4.848 MB / 1.6 GB, free: 14.89 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.003209/1.977, allocations: 1.98 MB / 1.602 GB, free: 12.93 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006539/1.984, allocations: 1.547 MB / 1.604 GB, free: 11.37 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001063/1.984, allocations: 305.1 kB / 1.604 GB, free: 11.07 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0128/1.997, allocations: 4.14 MB / 1.608 GB, free: 6.926 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01282/2.01, allocations: 5.895 MB / 1.614 GB, free: 352 kB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02367/2.033, allocations: 9.949 MB / 1.624 GB, free: 5.68 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.267e-05/2.033, allocations: 16 kB / 1.624 GB, free: 5.664 MB / 1.264 GB Notification: Performance of matching and sorting (n=982) (initialization): time 0.03263/2.066, allocations: 11.23 MB / 1.635 GB, free: 10.37 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 7.11e-05/2.066, allocations: 29.75 kB / 1.635 GB, free: 10.34 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.641e-05/2.066, allocations: 52 kB / 1.635 GB, free: 10.29 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001168/2.066, allocations: 80 kB / 1.635 GB, free: 10.21 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009776/2.076, allocations: 1.903 MB / 1.637 GB, free: 8.305 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000193/2.076, allocations: 119.6 kB / 1.637 GB, free: 8.188 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009912/2.086, allocations: 0.5849 MB / 1.637 GB, free: 7.602 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001934/2.088, allocations: 355.8 kB / 1.638 GB, free: 7.254 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01841/2.107, allocations: 7.205 MB / 1.645 GB, free: 40 kB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01282/2.119, allocations: 5.89 MB / 1.651 GB, free: 9.461 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02302/2.143, allocations: 9.921 MB / 1.66 GB, free: 14.82 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.685e-05/2.143, allocations: 12 kB / 1.66 GB, free: 14.81 MB / 1.311 GB Notification: Performance of matching and sorting (n=982) (initialization_lambda0): time 0.03421/2.177, allocations: 11.21 MB / 1.671 GB, free: 3.527 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 5.61e-05/2.177, allocations: 27.94 kB / 1.671 GB, free: 3.5 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.939e-05/2.177, allocations: 48 kB / 1.671 GB, free: 3.453 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.254e-05/2.177, allocations: 84 kB / 1.671 GB, free: 3.371 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009523/2.187, allocations: 1.884 MB / 1.673 GB, free: 1.484 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001939/2.187, allocations: 119.6 kB / 1.673 GB, free: 1.367 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009499/2.196, allocations: 0.583 MB / 1.674 GB, free: 0.7852 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001566/2.198, allocations: 355.8 kB / 1.674 GB, free: 448 kB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 31 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,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,solCol.HDirTil.incAng.decAng.tNext,$PRE.solCol.HDirTil.incAng.decAng.tNext,solCol.HDifTilIso.incAng.decAng.tNext,$PRE.solCol.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (949): * Single equations (assignments): 947 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00283/2.201, allocations: 0.6349 MB / 1.675 GB, free: 15.79 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003404/2.204, allocations: 0.8642 MB / 1.676 GB, free: 14.91 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.028/2.232, allocations: 9.329 MB / 1.685 GB, free: 5.496 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0195/2.252, allocations: 7.422 MB / 1.692 GB, free: 13.96 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.916e-05/2.252, allocations: 4 kB / 1.692 GB, free: 13.95 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005742/2.258, allocations: 2.02 MB / 1.694 GB, free: 11.9 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002703/2.26, allocations: 131.9 kB / 1.694 GB, free: 11.77 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007928/2.268, allocations: 499.2 kB / 1.695 GB, free: 11.29 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001069/2.269, allocations: 368.3 kB / 1.695 GB, free: 10.92 MB / 1.342 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02654/2.296, allocations: 8.773 MB / 1.704 GB, free: 2.168 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03323/2.329, allocations: 13.91 MB / 1.717 GB, free: 4.125 MB / 1.357 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009355/2.339, allocations: 4.071 MB / 1.721 GB, free: 28 kB / 1.357 GB Notification: Performance of sorting global known variables: time 0.0128/2.351, allocations: 6.084 MB / 1.727 GB, free: 9.984 MB / 1.373 GB Notification: Performance of Backend: time 1.182e-06/2.351, allocations: 0 / 1.727 GB, free: 9.984 MB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.03611/2.388, allocations: 13.17 MB / 1.74 GB, free: 13.16 MB / 1.389 GB Notification: Performance of SimCode: time 0.05101/2.439, allocations: 23.41 MB / 1.763 GB, free: 5.859 MB / 1.404 GB Notification: Performance of Templates: time 1.218/3.656, allocations: 229.6 MB / 1.987 GB, free: 405 MB / 1.404 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches