Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.005802/0.005802, allocations: 100.7 kB / 15.87 MB, free: 5.867 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.00143/0.00143, allocations: 191.4 kB / 16.79 MB, free: 5.809 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.342/1.342, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.713/2.713, allocations: 461.8 MB / 0.7348 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.001449, allocations: 62.64 kB / 0.899 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2834, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.58/3.864, allocations: 1.36 GB / 2.413 GB, free: 82.29 MB / 1.561 GB Notification: Performance of NFInst.instExpressions: time 0.3767/4.24, allocations: 334.7 MB / 2.74 GB, free: 28.09 MB / 1.561 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05588/4.296, allocations: 1.119 MB / 2.741 GB, free: 27.41 MB / 1.561 GB Notification: Performance of NFTyping.typeComponents: time 0.0371/4.333, allocations: 10.88 MB / 2.751 GB, free: 16.96 MB / 1.561 GB Notification: Performance of NFTyping.typeBindings: time 0.09345/4.427, allocations: 29.44 MB / 2.78 GB, free: 8.082 MB / 1.576 GB Notification: Performance of NFTyping.typeClassSections: time 0.05158/4.479, allocations: 18.05 MB / 2.798 GB, free: 8.012 MB / 1.592 GB Notification: Performance of NFFlatten.flatten: time 0.09284/4.571, allocations: 75.9 MB / 2.872 GB, free: 13.62 MB / 1.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04475/4.616, allocations: 18.98 MB / 2.89 GB, free: 10.75 MB / 1.686 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0561/4.672, allocations: 20.95 MB / 2.911 GB, free: 6.82 MB / 1.701 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03612/4.708, allocations: 17.7 MB / 2.928 GB, free: 6.262 MB / 1.717 GB Notification: Performance of NFPackage.collectConstants: time 0.008918/4.717, allocations: 0.9023 MB / 2.929 GB, free: 5.359 MB / 1.717 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04782/4.765, allocations: 15.85 MB / 2.944 GB, free: 6.227 MB / 1.732 GB Notification: Performance of NFScalarize.scalarize: time 0.009779/4.775, allocations: 3.688 MB / 2.948 GB, free: 2.59 MB / 1.732 GB Notification: Performance of NFVerifyModel.verify: time 0.02829/4.803, allocations: 9.86 MB / 2.958 GB, free: 8.754 MB / 1.748 GB Notification: Performance of NFConvertDAE.convert: time 0.05416/4.858, allocations: 33.84 MB / 2.991 GB, free: 8.055 MB / 1.779 GB Notification: Performance of FrontEnd - DAE generated: time 8.916e-06/4.858, allocations: 0 / 2.991 GB, free: 8.055 MB / 1.779 GB Notification: Performance of FrontEnd: time 4.017e-06/4.858, allocations: 0 / 2.991 GB, free: 8.055 MB / 1.779 GB Notification: Performance of Transformations before backend: time 0.00139/4.859, allocations: 7.875 kB / 2.991 GB, free: 8.047 MB / 1.779 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3233 * Number of variables: 3233 Notification: Performance of Generate backend data structure: time 0.05991/4.919, allocations: 20.92 MB / 3.011 GB, free: 3.188 MB / 1.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/4.919, allocations: 11.97 kB / 3.011 GB, free: 3.176 MB / 1.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/4.93, allocations: 2.258 MB / 3.013 GB, free: 0.8945 MB / 1.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03981/4.97, allocations: 18.07 MB / 3.031 GB, free: 15.13 MB / 1.826 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001219/4.971, allocations: 0.9776 MB / 3.032 GB, free: 14.16 MB / 1.826 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004647/4.976, allocations: 1.29 MB / 3.033 GB, free: 12.87 MB / 1.826 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6885/5.664, allocations: 14.49 MB / 3.047 GB, free: 0.9343 GB / 1.826 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00064/5.665, allocations: 34.88 kB / 3.047 GB, free: 0.9342 GB / 1.826 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003345/5.668, allocations: 0.5298 MB / 3.048 GB, free: 0.9342 GB / 1.826 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007287/5.669, allocations: 350.3 kB / 3.048 GB, free: 0.9342 GB / 1.826 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02296/5.692, allocations: 10.08 MB / 3.058 GB, free: 0.934 GB / 1.826 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.1034/5.796, allocations: 74.8 MB / 3.131 GB, free: 0.8799 GB / 1.826 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00732/5.803, allocations: 4.561 MB / 3.136 GB, free: 0.8773 GB / 1.826 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003863/5.807, allocations: 2.445 MB / 3.138 GB, free: 0.8759 GB / 1.826 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07256/5.879, allocations: 51.49 MB / 3.188 GB, free: 0.8328 GB / 1.826 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002321/5.88, allocations: 124.2 kB / 3.188 GB, free: 0.8327 GB / 1.826 GB Notification: Performance of pre-optimization done (n=412): time 1.869e-05/5.88, allocations: 0 / 3.188 GB, free: 0.8327 GB / 1.826 GB Notification: Performance of matching and sorting (n=412): time 0.01847/5.898, allocations: 6.981 MB / 3.195 GB, free: 0.8293 GB / 1.826 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002422/5.899, allocations: 0.7981 MB / 3.196 GB, free: 0.8284 GB / 1.826 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03806/5.937, allocations: 16.43 MB / 3.212 GB, free: 0.8202 GB / 1.826 GB Notification: Performance of collectPreVariables (initialization): time 0.001341/5.938, allocations: 137.5 kB / 3.212 GB, free: 0.8201 GB / 1.826 GB Notification: Performance of collectInitialEqns (initialization): time 0.009063/5.947, allocations: 8.651 MB / 3.221 GB, free: 0.8126 GB / 1.826 GB Notification: Performance of collectInitialBindings (initialization): time 0.002283/5.949, allocations: 1.455 MB / 3.222 GB, free: 0.8114 GB / 1.826 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00303/5.952, allocations: 1.452 MB / 3.223 GB, free: 0.8106 GB / 1.826 GB Notification: Performance of setup shared object (initialization): time 5.08e-05/5.952, allocations: 307.3 kB / 3.224 GB, free: 0.8103 GB / 1.826 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003159/5.956, allocations: 2.046 MB / 3.226 GB, free: 0.8093 GB / 1.826 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005647/5.961, allocations: 5.085 MB / 3.231 GB, free: 0.8046 GB / 1.826 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007753/5.969, allocations: 6.895 MB / 3.237 GB, free: 0.7994 GB / 1.826 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-05/5.969, allocations: 24.94 kB / 3.237 GB, free: 0.7994 GB / 1.826 GB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01859/5.988, allocations: 8.145 MB / 3.245 GB, free: 0.7926 GB / 1.826 GB Notification: Performance of prepare postOptimizeDAE: time 6.735e-05/5.988, allocations: 36 kB / 3.245 GB, free: 0.7925 GB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.542e-05/5.988, allocations: 76 kB / 3.246 GB, free: 0.7925 GB / 1.826 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001068/5.988, allocations: 112 kB / 3.246 GB, free: 0.7924 GB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004547/5.993, allocations: 1.408 MB / 3.247 GB, free: 0.791 GB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001296/5.993, allocations: 159.4 kB / 3.247 GB, free: 0.7908 GB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01416/6.007, allocations: 1.852 MB / 3.249 GB, free: 0.789 GB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001705/6.009, allocations: 379.9 kB / 3.249 GB, free: 0.7887 GB / 1.826 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * 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 (821): * Single equations (assignments): 821 * 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.008822/6.018, allocations: 3.554 MB / 3.253 GB, free: 0.7852 GB / 1.826 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005521/6.023, allocations: 1.647 MB / 3.254 GB, free: 0.7836 GB / 1.826 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.015/6.038, allocations: 7.583 MB / 3.262 GB, free: 0.7763 GB / 1.826 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000172/6.038, allocations: 83.94 kB / 3.262 GB, free: 0.7763 GB / 1.826 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.829e-05/6.038, allocations: 11.94 kB / 3.262 GB, free: 0.7763 GB / 1.826 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003975/6.042, allocations: 3.835 MB / 3.266 GB, free: 0.7722 GB / 1.826 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04849/6.091, allocations: 28.72 MB / 3.294 GB, free: 0.7438 GB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.729e-05/6.091, allocations: 35.84 kB / 3.294 GB, free: 0.7438 GB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002872/6.094, allocations: 0.7761 MB / 3.295 GB, free: 0.743 GB / 1.826 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.62e-05/6.094, allocations: 52 kB / 3.295 GB, free: 0.7429 GB / 1.826 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005193/6.095, allocations: 156.4 kB / 3.295 GB, free: 0.7428 GB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-05/6.095, allocations: 71.78 kB / 3.295 GB, free: 0.7427 GB / 1.826 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.828e-05/6.095, allocations: 47.81 kB / 3.295 GB, free: 0.7427 GB / 1.826 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01523/6.11, allocations: 11.95 MB / 3.307 GB, free: 0.7304 GB / 1.826 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008462/6.118, allocations: 2.84 MB / 3.309 GB, free: 0.7276 GB / 1.826 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006453/6.125, allocations: 155.6 kB / 3.309 GB, free: 0.7275 GB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01255/6.137, allocations: 0.5998 MB / 3.31 GB, free: 0.7269 GB / 1.826 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001204/6.139, allocations: 402.8 kB / 3.31 GB, free: 0.7265 GB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001196/6.14, allocations: 259.8 kB / 3.311 GB, free: 0.7262 GB / 1.826 GB Notification: Performance of sorting global known variables: time 0.02398/6.164, allocations: 11.7 MB / 3.322 GB, free: 0.7149 GB / 1.826 GB Notification: Performance of sort global known variables: time 1.142e-06/6.164, allocations: 0 / 3.322 GB, free: 0.7149 GB / 1.826 GB Notification: Performance of remove unused functions: time 0.02043/6.184, allocations: 5.298 MB / 3.327 GB, free: 0.71 GB / 1.826 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 ($cse12.phase,$cse12.region,$cse3.phase,$cse3.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.01187/6.196, allocations: 4.442 MB / 3.332 GB, free: 0.7061 GB / 1.826 GB Notification: Performance of simCode: created initialization part: time 0.01015/6.206, allocations: 5.504 MB / 3.337 GB, free: 0.7008 GB / 1.826 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-05/6.207, allocations: 10.25 kB / 3.337 GB, free: 0.7008 GB / 1.826 GB Notification: Performance of simCode: created simulation system equations: time 0.004337/6.211, allocations: 2.596 MB / 3.339 GB, free: 0.6982 GB / 1.826 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05352/6.264, allocations: 9.636 MB / 3.349 GB, free: 0.6894 GB / 1.826 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05226/6.317, allocations: 33.84 MB / 3.382 GB, free: 0.6559 GB / 1.826 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01199/6.329, allocations: 7.521 MB / 3.389 GB, free: 0.6485 GB / 1.826 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003711/6.333, allocations: 1.116 MB / 3.39 GB, free: 0.6474 GB / 1.826 GB Notification: Performance of SimCode: time 1.072e-06/6.333, allocations: 0 / 3.39 GB, free: 0.6474 GB / 1.826 GB Notification: Performance of Templates: time 0.3865/6.719, allocations: 319.2 MB / 3.702 GB, free: 345.1 MB / 1.826 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches