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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001229/0.001229, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001499/0.001499, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.433/2.433, allocations: 390.9 MB / 0.666 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004084/0.0004086, allocations: 12 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8787/0.8791, allocations: 142.4 MB / 0.9545 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.702/3.581, allocations: 1.248 GB / 2.202 GB, free: 9.738 MB / 1.357 GB Notification: Performance of NFInst.instExpressions: time 1.324/4.904, allocations: 309.6 MB / 2.505 GB, free: 72.7 MB / 1.404 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03995/4.944, allocations: 0.9956 MB / 2.506 GB, free: 72.7 MB / 1.404 GB Notification: Performance of NFTyping.typeComponents: time 0.03219/4.976, allocations: 8.621 MB / 2.514 GB, free: 72.63 MB / 1.404 GB Notification: Performance of NFTyping.typeBindings: time 0.07658/5.053, allocations: 24.82 MB / 2.538 GB, free: 62.88 MB / 1.404 GB Notification: Performance of NFTyping.typeClassSections: time 0.0388/5.092, allocations: 12.38 MB / 2.551 GB, free: 59.32 MB / 1.404 GB Notification: Performance of NFFlatten.flatten: time 0.07684/5.169, allocations: 63.28 MB / 2.612 GB, free: 23.66 MB / 1.404 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03727/5.206, allocations: 13.94 MB / 2.626 GB, free: 9.871 MB / 1.404 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04935/5.255, allocations: 18.82 MB / 2.644 GB, free: 7.875 MB / 1.42 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04926/5.305, allocations: 18.27 MB / 2.662 GB, free: 6.742 MB / 1.436 GB Notification: Performance of NFPackage.collectConstants: time 0.007621/5.312, allocations: 0.6211 MB / 2.663 GB, free: 6.121 MB / 1.436 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05567/5.368, allocations: 12.13 MB / 2.675 GB, free: 10.23 MB / 1.451 GB Notification: Performance of NFScalarize.scalarize: time 0.01102/5.379, allocations: 2.971 MB / 2.678 GB, free: 7.309 MB / 1.451 GB Notification: Performance of NFVerifyModel.verify: time 0.01242/5.392, allocations: 4.07 MB / 2.681 GB, free: 3.223 MB / 1.451 GB Notification: Performance of NFConvertDAE.convert: time 0.04808/5.44, allocations: 31.4 MB / 2.712 GB, free: 4.965 MB / 1.482 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/5.44, allocations: 0 / 2.712 GB, free: 4.965 MB / 1.482 GB Notification: Performance of FrontEnd: time 2.285e-06/5.44, allocations: 0 / 2.712 GB, free: 4.965 MB / 1.482 GB Notification: Performance of Transformations before backend: time 0.001407/5.441, allocations: 4 kB / 2.712 GB, free: 4.961 MB / 1.482 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.04/5.481, allocations: 16.55 MB / 2.728 GB, free: 4.613 MB / 1.498 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/5.481, allocations: 8.031 kB / 2.728 GB, free: 4.605 MB / 1.498 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008861/5.49, allocations: 2.187 MB / 2.73 GB, free: 2.398 MB / 1.498 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03749/5.528, allocations: 16.94 MB / 2.747 GB, free: 1.84 MB / 1.514 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001167/5.529, allocations: 0.9406 MB / 2.748 GB, free: 0.8984 MB / 1.514 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003458/5.532, allocations: 1.256 MB / 2.749 GB, free: 15.64 MB / 1.529 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0438/5.576, allocations: 13.86 MB / 2.763 GB, free: 1.086 MB / 1.529 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009896/5.577, allocations: 47.53 kB / 2.763 GB, free: 1.039 MB / 1.529 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004821/5.582, allocations: 0.507 MB / 2.763 GB, free: 0.5352 MB / 1.529 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005502/5.583, allocations: 332 kB / 2.764 GB, free: 216 kB / 1.529 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02418/5.607, allocations: 9.597 MB / 2.773 GB, free: 6.656 MB / 1.545 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.1079/5.715, allocations: 70.47 MB / 2.842 GB, free: 13.14 MB / 1.623 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008044/5.723, allocations: 4.551 MB / 2.846 GB, free: 8.348 MB / 1.623 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004174/5.727, allocations: 2.417 MB / 2.849 GB, free: 5.855 MB / 1.623 GB Notification: Performance of preOpt evalFunc (simulation): time 0.699/6.426, allocations: 51.88 MB / 2.899 GB, free: 0.8124 GB / 1.639 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002239/6.427, allocations: 117.1 kB / 2.899 GB, free: 0.8124 GB / 1.639 GB Notification: Performance of pre-optimization done (n=412): time 8.015e-06/6.427, allocations: 0 / 2.899 GB, free: 0.8124 GB / 1.639 GB Notification: Performance of matching and sorting (n=412): time 0.01812/6.445, allocations: 6.909 MB / 2.906 GB, free: 0.8115 GB / 1.639 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002572/6.445, allocations: 0.7911 MB / 2.907 GB, free: 0.8106 GB / 1.639 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04131/6.486, allocations: 15.82 MB / 2.922 GB, free: 0.805 GB / 1.639 GB Notification: Performance of collectPreVariables (initialization): time 0.001621/6.488, allocations: 137.1 kB / 2.922 GB, free: 0.805 GB / 1.639 GB Notification: Performance of collectInitialEqns (initialization): time 0.01039/6.498, allocations: 8.296 MB / 2.93 GB, free: 0.7993 GB / 1.639 GB Notification: Performance of collectInitialBindings (initialization): time 0.002475/6.501, allocations: 1.45 MB / 2.932 GB, free: 0.7982 GB / 1.639 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006322/6.502, allocations: 119.6 kB / 2.932 GB, free: 0.7982 GB / 1.639 GB Notification: Performance of setup shared object (initialization): time 0.0003391/6.502, allocations: 0.5275 MB / 2.933 GB, free: 0.7978 GB / 1.639 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003275/6.505, allocations: 1.949 MB / 2.934 GB, free: 0.797 GB / 1.639 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005302/6.51, allocations: 4.714 MB / 2.939 GB, free: 0.7931 GB / 1.639 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004684/6.515, allocations: 2.778 MB / 2.942 GB, free: 0.7919 GB / 1.639 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-05/6.515, allocations: 19.69 kB / 2.942 GB, free: 0.7919 GB / 1.639 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01747/6.533, allocations: 7.705 MB / 2.949 GB, free: 0.7887 GB / 1.639 GB Notification: Performance of prepare postOptimizeDAE: time 6.495e-05/6.533, allocations: 35.34 kB / 2.949 GB, free: 0.7887 GB / 1.639 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.968e-05/6.533, allocations: 62.47 kB / 2.949 GB, free: 0.7887 GB / 1.639 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001304/6.533, allocations: 108.3 kB / 2.949 GB, free: 0.7887 GB / 1.639 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004563/6.538, allocations: 1.324 MB / 2.951 GB, free: 0.7885 GB / 1.639 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001475/6.538, allocations: 140.1 kB / 2.951 GB, free: 0.7885 GB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01372/6.552, allocations: 1.686 MB / 2.953 GB, free: 0.7876 GB / 1.639 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001758/6.553, allocations: 360 kB / 2.953 GB, free: 0.7875 GB / 1.639 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 295 * 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 (775): * Single equations (assignments): 775 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01287/6.566, allocations: 3.391 MB / 2.956 GB, free: 0.7854 GB / 1.639 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006331/6.573, allocations: 1.603 MB / 2.958 GB, free: 0.7845 GB / 1.639 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01601/6.589, allocations: 7.534 MB / 2.965 GB, free: 0.7806 GB / 1.639 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002078/6.589, allocations: 83.12 kB / 2.965 GB, free: 0.7806 GB / 1.639 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.281e-05/6.589, allocations: 11.83 kB / 2.965 GB, free: 0.7806 GB / 1.639 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004214/6.593, allocations: 3.83 MB / 2.969 GB, free: 0.7777 GB / 1.639 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05794/6.651, allocations: 28.33 MB / 2.997 GB, free: 0.759 GB / 1.639 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001569/6.651, allocations: 33.64 kB / 2.997 GB, free: 0.759 GB / 1.639 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003062/6.654, allocations: 0.774 MB / 2.997 GB, free: 0.7589 GB / 1.639 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.19e-05/6.654, allocations: 52.97 kB / 2.997 GB, free: 0.7589 GB / 1.639 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007884/6.655, allocations: 159.5 kB / 2.998 GB, free: 0.7588 GB / 1.639 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.885e-05/6.655, allocations: 70.77 kB / 2.998 GB, free: 0.7588 GB / 1.639 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.899e-05/6.655, allocations: 51.44 kB / 2.998 GB, free: 0.7588 GB / 1.639 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01877/6.674, allocations: 11.86 MB / 3.009 GB, free: 0.7485 GB / 1.639 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009098/6.683, allocations: 3.09 MB / 3.012 GB, free: 0.7455 GB / 1.639 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005337/6.689, allocations: 128 kB / 3.012 GB, free: 0.7453 GB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01085/6.7, allocations: 0.5505 MB / 3.013 GB, free: 0.7448 GB / 1.639 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0011/6.701, allocations: 401 kB / 3.013 GB, free: 0.7445 GB / 1.639 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001253/6.702, allocations: 259.8 kB / 3.014 GB, free: 0.7442 GB / 1.639 GB Notification: Performance of sorting global known variables: time 0.02587/6.728, allocations: 11.23 MB / 3.025 GB, free: 0.7333 GB / 1.639 GB Notification: Performance of sort global known variables: time 6.71e-07/6.728, allocations: 0 / 3.025 GB, free: 0.7333 GB / 1.639 GB Notification: Performance of remove unused functions: time 0.02298/6.751, allocations: 5.186 MB / 3.03 GB, free: 0.7285 GB / 1.639 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 (linear and non-linear blocks): 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.763, allocations: 4.56 MB / 3.034 GB, free: 0.725 GB / 1.639 GB Notification: Performance of simCode: created initialization part: time 0.009822/6.773, allocations: 5.289 MB / 3.039 GB, free: 0.7198 GB / 1.639 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-05/6.773, allocations: 11.91 kB / 3.039 GB, free: 0.7198 GB / 1.639 GB Notification: Performance of simCode: created simulation system equations: time 0.004181/6.777, allocations: 2.567 MB / 3.042 GB, free: 0.7174 GB / 1.639 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04944/6.827, allocations: 9.399 MB / 3.051 GB, free: 0.7091 GB / 1.639 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05277/6.879, allocations: 31.53 MB / 3.082 GB, free: 0.678 GB / 1.639 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01331/6.893, allocations: 7.425 MB / 3.089 GB, free: 0.6707 GB / 1.639 GB Notification: Performance of simCode: alias equations: time 0.01859/6.911, allocations: 3.127 MB / 3.092 GB, free: 0.6678 GB / 1.639 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00418/6.916, allocations: 1.042 MB / 3.093 GB, free: 0.6668 GB / 1.639 GB Notification: Performance of SimCode: time 2.675e-06/6.916, allocations: 0 / 3.093 GB, free: 0.6668 GB / 1.639 GB Notification: Performance of Templates: time 0.4473/7.363, allocations: 331.6 MB / 3.417 GB, free: 353.5 MB / 1.639 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