Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.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.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|buiTesOutETS.PHea|buiTesOutETS.PCoo|buiTesOutETS.PFan|buiTesOutETS.PPum|buiTesOutETSBui.QHea_flow|buiTesOutETSBui.QCoo_flow|buiTesOutETSBui.PHea|buiTesOutETSBui.PCoo|buiTesOutETSBui.PFan|buiTesOutETSBui.PPum|buiTesFacMul.PHea|buiTesFacMul.PCoo|buiTesFacMul.PFan|buiTesFacMul.PPum|buiTesFacMul.QHea_flow|buiTesFacMul.QCoo_flow",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|buiTesOutETS.PHea|buiTesOutETS.PCoo|buiTesOutETS.PFan|buiTesOutETS.PPum|buiTesOutETSBui.QHea_flow|buiTesOutETSBui.QCoo_flow|buiTesOutETSBui.PHea|buiTesOutETSBui.PCoo|buiTesOutETSBui.PFan|buiTesOutETSBui.PPum|buiTesFacMul.PHea|buiTesFacMul.PCoo|buiTesFacMul.PFan|buiTesFacMul.PPum|buiTesFacMul.QHea_flow|buiTesFacMul.QCoo_flow",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007318/0.007318, allocations: 100.7 kB / 15.73 MB, free: 5.586 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.001625/0.001625, allocations: 189.1 kB / 16.67 MB, free: 5.523 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.195/2.195, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.91 kB / 0.9509 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7552/0.7564, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.675/3.431, allocations: 1.349 GB / 2.437 GB, free: 83.39 MB / 1.529 GB Notification: Performance of NFInst.instExpressions: time 0.3573/3.789, allocations: 330.5 MB / 2.759 GB, free: 2.219 MB / 1.701 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04542/3.834, allocations: 1.165 MB / 2.761 GB, free: 1.047 MB / 1.701 GB Notification: Performance of NFTyping.typeComponents: time 0.03787/3.872, allocations: 12.95 MB / 2.773 GB, free: 4.012 MB / 1.717 GB Notification: Performance of NFTyping.typeBindings: time 0.09879/3.971, allocations: 32.16 MB / 2.805 GB, free: 3.734 MB / 1.748 GB Notification: Performance of NFTyping.typeClassSections: time 0.05198/4.023, allocations: 18.87 MB / 2.823 GB, free: 1.008 MB / 1.764 GB Notification: Performance of NFFlatten.flatten: time 1.159/5.182, allocations: 56.6 MB / 2.878 GB, free: 28.02 MB / 1.779 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04537/5.228, allocations: 22.24 MB / 2.9 GB, free: 41.29 MB / 1.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05434/5.282, allocations: 24.79 MB / 2.924 GB, free: 41.18 MB / 1.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03601/5.318, allocations: 17.58 MB / 2.941 GB, free: 37.85 MB / 1.795 GB Notification: Performance of NFPackage.collectConstants: time 0.009387/5.328, allocations: 2.054 MB / 2.943 GB, free: 37.85 MB / 1.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04294/5.371, allocations: 17.9 MB / 2.961 GB, free: 37.83 MB / 1.795 GB Notification: Performance of NFScalarize.scalarize: time 0.008832/5.379, allocations: 4.728 MB / 2.965 GB, free: 37.11 MB / 1.795 GB Notification: Performance of NFVerifyModel.verify: time 0.02336/5.403, allocations: 10.86 MB / 2.976 GB, free: 34.23 MB / 1.795 GB Notification: Performance of NFConvertDAE.convert: time 0.06477/5.468, allocations: 41.12 MB / 3.016 GB, free: 31.16 MB / 1.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/5.468, allocations: 0 / 3.016 GB, free: 31.16 MB / 1.795 GB Notification: Performance of FrontEnd: time 1.583e-06/5.468, allocations: 0 / 3.016 GB, free: 31.16 MB / 1.795 GB Notification: Performance of Transformations before backend: time 0.001112/5.469, allocations: 0 / 3.016 GB, free: 31.16 MB / 1.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3135 * Number of variables: 3135 Notification: Performance of Generate backend data structure: time 0.05351/5.522, allocations: 20.35 MB / 3.036 GB, free: 23.04 MB / 1.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/5.522, allocations: 10.56 kB / 3.036 GB, free: 23.04 MB / 1.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009647/5.532, allocations: 2.175 MB / 3.038 GB, free: 22 MB / 1.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03689/5.569, allocations: 18.28 MB / 3.056 GB, free: 19.19 MB / 1.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009136/5.57, allocations: 0.9435 MB / 3.057 GB, free: 19.16 MB / 1.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004452/5.574, allocations: 1.256 MB / 3.058 GB, free: 19.16 MB / 1.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03846/5.613, allocations: 14.08 MB / 3.072 GB, free: 16.76 MB / 1.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004592/5.613, allocations: 43.31 kB / 3.072 GB, free: 16.75 MB / 1.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002573/5.616, allocations: 0.5137 MB / 3.073 GB, free: 16.75 MB / 1.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003093/5.616, allocations: 339.8 kB / 3.073 GB, free: 16.75 MB / 1.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01971/5.636, allocations: 9.691 MB / 3.082 GB, free: 16.68 MB / 1.795 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.0933/5.729, allocations: 72.19 MB / 3.153 GB, free: 1.316 MB / 1.826 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007482/5.737, allocations: 4.581 MB / 3.157 GB, free: 14.02 MB / 1.842 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003763/5.741, allocations: 2.42 MB / 3.16 GB, free: 12.39 MB / 1.842 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0949/5.836, allocations: 51.68 MB / 3.21 GB, free: 2.324 MB / 1.889 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/5.836, allocations: 123.7 kB / 3.21 GB, free: 2.25 MB / 1.889 GB Notification: Performance of pre-optimization done (n=412): time 1.271e-05/5.836, allocations: 0 / 3.21 GB, free: 2.25 MB / 1.889 GB Notification: Performance of matching and sorting (n=412): time 0.01686/5.853, allocations: 6.948 MB / 3.217 GB, free: 13.2 MB / 1.904 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003051/5.853, allocations: 0.7961 MB / 3.218 GB, free: 12.24 MB / 1.904 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03188/5.885, allocations: 16.21 MB / 3.234 GB, free: 1.102 MB / 1.904 GB Notification: Performance of collectPreVariables (initialization): time 0.001315/5.886, allocations: 144.3 kB / 3.234 GB, free: 1.023 MB / 1.904 GB Notification: Performance of collectInitialEqns (initialization): time 0.01044/5.897, allocations: 8.201 MB / 3.242 GB, free: 13.61 MB / 1.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.002388/5.899, allocations: 1.457 MB / 3.243 GB, free: 12.26 MB / 1.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002767/5.902, allocations: 1.412 MB / 3.245 GB, free: 10.84 MB / 1.92 GB Notification: Performance of setup shared object (initialization): time 9.476e-05/5.902, allocations: 305.1 kB / 3.245 GB, free: 10.54 MB / 1.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00334/5.905, allocations: 2.011 MB / 3.247 GB, free: 8.52 MB / 1.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006238/5.912, allocations: 4.936 MB / 3.252 GB, free: 2.414 MB / 1.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009227/5.921, allocations: 6.676 MB / 3.258 GB, free: 11.09 MB / 1.936 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-05/5.921, allocations: 20 kB / 3.258 GB, free: 11.07 MB / 1.936 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.01908/5.94, allocations: 7.955 MB / 3.266 GB, free: 3.586 MB / 1.936 GB Notification: Performance of prepare postOptimizeDAE: time 6.929e-05/5.94, allocations: 32.22 kB / 3.266 GB, free: 3.555 MB / 1.936 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.794e-05/5.94, allocations: 76 kB / 3.266 GB, free: 3.48 MB / 1.936 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001255/5.94, allocations: 107.9 kB / 3.266 GB, free: 3.375 MB / 1.936 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004674/5.945, allocations: 1.376 MB / 3.268 GB, free: 2.102 MB / 1.936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000134/5.945, allocations: 144.9 kB / 3.268 GB, free: 1.988 MB / 1.936 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01132/5.957, allocations: 1.232 MB / 3.269 GB, free: 0.7461 MB / 1.936 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001437/5.958, allocations: 378.8 kB / 3.269 GB, free: 388 kB / 1.936 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 321 * Number of states: 0 () * Number of discrete variables: 4 (senDifEntFlo1.state_b1_inflow.phase,senDifEntFlo1.state_a1_inflow.phase,senDifEntFlo.state_b1_inflow.phase,senDifEntFlo.state_a1_inflow.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (801): * Single equations (assignments): 801 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.008804/5.967, allocations: 3.402 MB / 3.273 GB, free: 13.07 MB / 1.951 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005708/5.973, allocations: 1.624 MB / 3.274 GB, free: 11.43 MB / 1.951 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01565/5.988, allocations: 7.521 MB / 3.281 GB, free: 4.137 MB / 1.951 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001493/5.988, allocations: 83.88 kB / 3.282 GB, free: 4.055 MB / 1.951 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.801e-05/5.988, allocations: 8 kB / 3.282 GB, free: 4.047 MB / 1.951 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004949/5.993, allocations: 3.846 MB / 3.285 GB, free: 15.91 MB / 1.967 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05752/6.051, allocations: 28.48 MB / 3.313 GB, free: 3.312 MB / 1.982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.873e-05/6.051, allocations: 32 kB / 3.313 GB, free: 3.281 MB / 1.982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002878/6.054, allocations: 0.7769 MB / 3.314 GB, free: 2.555 MB / 1.982 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-05/6.054, allocations: 52.55 kB / 3.314 GB, free: 2.508 MB / 1.982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004321/6.054, allocations: 159.9 kB / 3.314 GB, free: 2.352 MB / 1.982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.337e-05/6.054, allocations: 75.16 kB / 3.314 GB, free: 2.293 MB / 1.982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.704e-05/6.055, allocations: 48 kB / 3.314 GB, free: 2.258 MB / 1.982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01786/6.072, allocations: 11.91 MB / 3.326 GB, free: 5.789 MB / 1.998 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009548/6.082, allocations: 2.821 MB / 3.329 GB, free: 2.926 MB / 1.998 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004789/6.087, allocations: 155.6 kB / 3.329 GB, free: 2.773 MB / 1.998 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009212/6.096, allocations: 215.6 kB / 3.329 GB, free: 2.562 MB / 1.998 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008242/6.097, allocations: 401.3 kB / 3.329 GB, free: 2.195 MB / 1.998 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006461/6.098, allocations: 262.4 kB / 3.33 GB, free: 1.941 MB / 1.998 GB Notification: Performance of sorting global known variables: time 0.0232/6.121, allocations: 11.54 MB / 3.341 GB, free: 6.484 MB / 2.014 GB Notification: Performance of sort global known variables: time 3.41e-07/6.121, allocations: 0 / 3.341 GB, free: 6.484 MB / 2.014 GB Notification: Performance of remove unused functions: time 0.02022/6.141, allocations: 5.281 MB / 3.346 GB, free: 1.195 MB / 2.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 141 * Number of states: 15 (buiTesFacMul.bui.loaHea.vol.dynBal.U,buiTesFacMul.bui.loaCoo.vol.dynBal.U,buiTesOutETSBui.bui.loaHea.vol.dynBal.U,buiTesOutETSBui.bui.loaCoo.vol.dynBal.U,buiTesOutETS.bui.loaHea.vol.dynBal.U,buiTesOutETS.bui.loaCoo.vol.dynBal.U,buiComGen5.bui.loaHea.vol.dynBal.U,buiComGen5.bui.loaCoo.vol.dynBal.U,buiHeaGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaCoo.vol.dynBal.U,buiCoo.bui.loaCoo.vol.dynBal.U,buiComGen1.bui.loaHea.vol.dynBal.U,buiComGen1.bui.loaCoo.vol.dynBal.U,buiHeaGen1.bui.loaHea.vol.dynBal.U) * Number of discrete variables: 4 ($cse16.phase,$cse16.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (478): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 66 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01199/6.153, allocations: 4.535 MB / 3.35 GB, free: 13.15 MB / 2.029 GB Notification: Performance of simCode: created initialization part: time 0.01002/6.163, allocations: 5.513 MB / 3.356 GB, free: 7.934 MB / 2.029 GB Notification: Performance of simCode: created event and clocks part: time 2.709e-05/6.163, allocations: 8 kB / 3.356 GB, free: 7.926 MB / 2.029 GB Notification: Performance of simCode: created simulation system equations: time 0.003991/6.167, allocations: 2.582 MB / 3.358 GB, free: 5.504 MB / 2.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05107/6.218, allocations: 9.952 MB / 3.368 GB, free: 12.04 MB / 2.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04783/6.266, allocations: 27.4 MB / 3.395 GB, free: 304 kB / 2.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01248/6.279, allocations: 7.426 MB / 3.402 GB, free: 8.836 MB / 2.076 GB Notification: Performance of simCode: alias equations: time 0.01409/6.293, allocations: 3.15 MB / 3.405 GB, free: 5.77 MB / 2.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003407/6.296, allocations: 1.053 MB / 3.406 GB, free: 4.723 MB / 2.076 GB Notification: Performance of SimCode: time 7.02e-07/6.296, allocations: 0 / 3.406 GB, free: 4.723 MB / 2.076 GB Notification: Performance of Templates: time 1.53/7.826, allocations: 355.1 MB / 3.753 GB, free: 1.268 GB / 2.295 GB make -j1 -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches