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.001345/0.001345, allocations: 108.3 kB / 16.41 MB, free: 6.406 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.001332/0.001332, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.07 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.332/2.332, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 63.91 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7969/0.7984, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.07/3.869, allocations: 1.349 GB / 2.437 GB, free: 83.36 MB / 1.529 GB Notification: Performance of NFInst.instExpressions: time 0.4024/4.271, allocations: 330.5 MB / 2.76 GB, free: 2.23 MB / 1.701 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05262/4.324, allocations: 1.161 MB / 2.761 GB, free: 1.062 MB / 1.701 GB Notification: Performance of NFTyping.typeComponents: time 0.04339/4.367, allocations: 13.21 MB / 2.774 GB, free: 3.773 MB / 1.717 GB Notification: Performance of NFTyping.typeBindings: time 0.112/4.479, allocations: 33.82 MB / 2.807 GB, free: 1.828 MB / 1.748 GB Notification: Performance of NFTyping.typeClassSections: time 0.05334/4.533, allocations: 18.91 MB / 2.826 GB, free: 15.07 MB / 1.779 GB Notification: Performance of NFFlatten.flatten: time 1.417/5.95, allocations: 56.68 MB / 2.881 GB, free: 28.21 MB / 1.779 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06352/6.014, allocations: 22.25 MB / 2.903 GB, free: 41.47 MB / 1.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07363/6.087, allocations: 25.43 MB / 2.928 GB, free: 41.38 MB / 1.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04303/6.13, allocations: 17.58 MB / 2.945 GB, free: 38 MB / 1.795 GB Notification: Performance of NFPackage.collectConstants: time 0.01171/6.142, allocations: 2.055 MB / 2.947 GB, free: 38 MB / 1.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0521/6.194, allocations: 17.9 MB / 2.964 GB, free: 37.98 MB / 1.795 GB Notification: Performance of NFScalarize.scalarize: time 0.01271/6.207, allocations: 4.729 MB / 2.969 GB, free: 37.27 MB / 1.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0346/6.242, allocations: 10.86 MB / 2.979 GB, free: 34.39 MB / 1.795 GB Notification: Performance of NFConvertDAE.convert: time 0.09343/6.335, allocations: 41.11 MB / 3.02 GB, free: 31.32 MB / 1.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/6.335, allocations: 0 / 3.02 GB, free: 31.32 MB / 1.795 GB Notification: Performance of FrontEnd: time 2.485e-06/6.335, allocations: 4 kB / 3.02 GB, free: 31.32 MB / 1.795 GB Notification: Performance of Transformations before backend: time 0.001391/6.337, allocations: 3.219 kB / 3.02 GB, free: 31.32 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.06865/6.405, allocations: 20.34 MB / 3.039 GB, free: 23.2 MB / 1.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/6.405, allocations: 7.969 kB / 3.039 GB, free: 23.2 MB / 1.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0121/6.417, allocations: 2.179 MB / 3.042 GB, free: 22.16 MB / 1.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0398/6.457, allocations: 18.29 MB / 3.059 GB, free: 19.34 MB / 1.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001237/6.458, allocations: 0.9403 MB / 3.06 GB, free: 19.32 MB / 1.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005564/6.464, allocations: 1.261 MB / 3.062 GB, free: 19.31 MB / 1.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05053/6.515, allocations: 14.08 MB / 3.075 GB, free: 16.91 MB / 1.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008947/6.516, allocations: 49.62 kB / 3.075 GB, free: 16.91 MB / 1.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004804/6.52, allocations: 0.5045 MB / 3.076 GB, free: 16.91 MB / 1.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004381/6.521, allocations: 336 kB / 3.076 GB, free: 16.91 MB / 1.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02511/6.546, allocations: 9.688 MB / 3.086 GB, free: 16.83 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.1113/6.657, allocations: 72.19 MB / 3.156 GB, free: 12 kB / 1.826 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00825/6.666, allocations: 4.575 MB / 3.161 GB, free: 12.72 MB / 1.842 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004315/6.67, allocations: 2.436 MB / 3.163 GB, free: 11.07 MB / 1.842 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0888/6.759, allocations: 51.66 MB / 3.213 GB, free: 1.02 MB / 1.889 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002057/6.759, allocations: 125.6 kB / 3.214 GB, free: 0.9414 MB / 1.889 GB Notification: Performance of pre-optimization done (n=412): time 1.662e-05/6.759, allocations: 0 / 3.214 GB, free: 0.9414 MB / 1.889 GB Notification: Performance of matching and sorting (n=412): time 0.02003/6.779, allocations: 6.955 MB / 3.22 GB, free: 11.88 MB / 1.904 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004328/6.78, allocations: 0.7924 MB / 3.221 GB, free: 10.93 MB / 1.904 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04652/6.826, allocations: 16.2 MB / 3.237 GB, free: 15.8 MB / 1.92 GB Notification: Performance of collectPreVariables (initialization): time 0.00179/6.828, allocations: 144.7 kB / 3.237 GB, free: 15.72 MB / 1.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.01339/6.841, allocations: 8.215 MB / 3.245 GB, free: 12.04 MB / 1.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0035/6.845, allocations: 1.449 MB / 3.247 GB, free: 10.6 MB / 1.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006784/6.852, allocations: 1.416 MB / 3.248 GB, free: 9.172 MB / 1.92 GB Notification: Performance of setup shared object (initialization): time 9.932e-05/6.852, allocations: 309.1 kB / 3.248 GB, free: 8.867 MB / 1.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004702/6.857, allocations: 2.011 MB / 3.25 GB, free: 6.852 MB / 1.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008897/6.865, allocations: 4.933 MB / 3.255 GB, free: 0.7539 MB / 1.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01052/6.876, allocations: 6.674 MB / 3.262 GB, free: 9.438 MB / 1.936 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001221/6.876, allocations: 22.16 kB / 3.262 GB, free: 9.418 MB / 1.936 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.02355/6.9, allocations: 7.958 MB / 3.269 GB, free: 1.922 MB / 1.936 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001396/6.9, allocations: 36 kB / 3.269 GB, free: 1.887 MB / 1.936 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001614/6.9, allocations: 72 kB / 3.269 GB, free: 1.816 MB / 1.936 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000154/6.9, allocations: 104 kB / 3.27 GB, free: 1.715 MB / 1.936 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005803/6.906, allocations: 1.37 MB / 3.271 GB, free: 456 kB / 1.936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002412/6.906, allocations: 150.2 kB / 3.271 GB, free: 336 kB / 1.936 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01437/6.921, allocations: 1.242 MB / 3.272 GB, free: 15.08 MB / 1.951 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002261/6.923, allocations: 371.8 kB / 3.273 GB, free: 14.71 MB / 1.951 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.01159/6.935, allocations: 3.407 MB / 3.276 GB, free: 11.4 MB / 1.951 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006849/6.942, allocations: 1.62 MB / 3.277 GB, free: 9.762 MB / 1.951 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01959/6.961, allocations: 7.528 MB / 3.285 GB, free: 2.469 MB / 1.951 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002277/6.961, allocations: 79.94 kB / 3.285 GB, free: 2.391 MB / 1.951 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.204e-05/6.961, allocations: 12 kB / 3.285 GB, free: 2.379 MB / 1.951 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005341/6.967, allocations: 3.843 MB / 3.289 GB, free: 14.23 MB / 1.967 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06336/7.03, allocations: 28.47 MB / 3.316 GB, free: 1.645 MB / 1.982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001491/7.03, allocations: 40.23 kB / 3.317 GB, free: 1.605 MB / 1.982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003193/7.034, allocations: 0.7767 MB / 3.317 GB, free: 0.8828 MB / 1.982 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.905e-05/7.034, allocations: 52 kB / 3.317 GB, free: 0.832 MB / 1.982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008172/7.035, allocations: 155.9 kB / 3.317 GB, free: 0.6797 MB / 1.982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.15e-05/7.035, allocations: 70.14 kB / 3.318 GB, free: 0.625 MB / 1.982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.229e-05/7.035, allocations: 49.81 kB / 3.318 GB, free: 0.5898 MB / 1.982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02331/7.058, allocations: 11.92 MB / 3.329 GB, free: 4.113 MB / 1.998 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01039/7.068, allocations: 2.814 MB / 3.332 GB, free: 1.258 MB / 1.998 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006599/7.075, allocations: 159.6 kB / 3.332 GB, free: 1.102 MB / 1.998 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01109/7.086, allocations: 211.6 kB / 3.332 GB, free: 0.8945 MB / 1.998 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001174/7.087, allocations: 409 kB / 3.333 GB, free: 0.5195 MB / 1.998 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001244/7.089, allocations: 259.8 kB / 3.333 GB, free: 272 kB / 1.998 GB Notification: Performance of sorting global known variables: time 0.03267/7.121, allocations: 11.54 MB / 3.344 GB, free: 4.82 MB / 2.014 GB Notification: Performance of sort global known variables: time 5.61e-07/7.121, allocations: 0 / 3.344 GB, free: 4.82 MB / 2.014 GB Notification: Performance of remove unused functions: time 0.02682/7.148, allocations: 5.283 MB / 3.349 GB, free: 15.53 MB / 2.029 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.01699/7.165, allocations: 4.533 MB / 3.354 GB, free: 11.48 MB / 2.029 GB Notification: Performance of simCode: created initialization part: time 0.01281/7.178, allocations: 5.513 MB / 3.359 GB, free: 6.262 MB / 2.029 GB Notification: Performance of simCode: created event and clocks part: time 3.82e-05/7.178, allocations: 11 kB / 3.359 GB, free: 6.254 MB / 2.029 GB Notification: Performance of simCode: created simulation system equations: time 0.005171/7.183, allocations: 2.574 MB / 3.362 GB, free: 3.84 MB / 2.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06088/7.244, allocations: 9.945 MB / 3.371 GB, free: 10.37 MB / 2.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0747/7.319, allocations: 27.33 MB / 3.398 GB, free: 14.69 MB / 2.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01973/7.339, allocations: 7.274 MB / 3.405 GB, free: 7.383 MB / 2.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005133/7.344, allocations: 1.103 MB / 3.406 GB, free: 6.285 MB / 2.076 GB Notification: Performance of SimCode: time 1.303e-06/7.344, allocations: 0 / 3.406 GB, free: 6.285 MB / 2.076 GB Notification: Performance of Templates: time 1.9/9.244, allocations: 317.5 MB / 3.716 GB, free: 1.28 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/jenkins1/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