Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001256/0.001256, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001409/0.00141, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.407/1.407, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.697/2.697, allocations: 437 MB / 0.71 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.89 kB / 0.8687 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6407/0.642, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.204/3.846, allocations: 1.357 GB / 2.373 GB, free: 92.02 MB / 1.529 GB Notification: Performance of NFInst.instExpressions: time 0.3261/4.172, allocations: 331.3 MB / 2.697 GB, free: 44.74 MB / 1.529 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0423/4.215, allocations: 1.118 MB / 2.698 GB, free: 44.08 MB / 1.529 GB Notification: Performance of NFTyping.typeComponents: time 0.03337/4.248, allocations: 11.55 MB / 2.709 GB, free: 33.16 MB / 1.529 GB Notification: Performance of NFTyping.typeBindings: time 0.07887/4.327, allocations: 29.96 MB / 2.739 GB, free: 7.754 MB / 1.529 GB Notification: Performance of NFTyping.typeClassSections: time 0.04272/4.37, allocations: 18.25 MB / 2.756 GB, free: 7.492 MB / 1.545 GB Notification: Performance of NFFlatten.flatten: time 0.07152/4.441, allocations: 58.44 MB / 2.813 GB, free: 14.59 MB / 1.607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03821/4.479, allocations: 23 MB / 2.836 GB, free: 7.699 MB / 1.623 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05662/4.536, allocations: 24.99 MB / 2.86 GB, free: 148 kB / 1.639 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0308/4.567, allocations: 18.28 MB / 2.878 GB, free: 15.02 MB / 1.67 GB Notification: Performance of NFPackage.collectConstants: time 0.008326/4.575, allocations: 2.129 MB / 2.88 GB, free: 12.89 MB / 1.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04297/4.618, allocations: 18.03 MB / 2.898 GB, free: 11.56 MB / 1.686 GB Notification: Performance of NFScalarize.scalarize: time 0.01064/4.629, allocations: 4.908 MB / 2.903 GB, free: 6.707 MB / 1.686 GB Notification: Performance of NFVerifyModel.verify: time 0.02532/4.654, allocations: 11.2 MB / 2.914 GB, free: 11.54 MB / 1.701 GB Notification: Performance of NFConvertDAE.convert: time 0.0685/4.723, allocations: 41.89 MB / 2.954 GB, free: 2.945 MB / 1.732 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/4.723, allocations: 0 / 2.954 GB, free: 2.945 MB / 1.732 GB Notification: Performance of FrontEnd: time 1.723e-06/4.723, allocations: 0 / 2.954 GB, free: 2.945 MB / 1.732 GB Notification: Performance of Transformations before backend: time 0.0008863/4.724, allocations: 0 / 2.954 GB, free: 2.945 MB / 1.732 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.04374/4.768, allocations: 20.93 MB / 2.975 GB, free: 14.09 MB / 1.764 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/4.768, allocations: 16.03 kB / 2.975 GB, free: 14.08 MB / 1.764 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008144/4.776, allocations: 2.255 MB / 2.977 GB, free: 11.8 MB / 1.764 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0327/4.808, allocations: 18.06 MB / 2.995 GB, free: 10.05 MB / 1.779 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009028/4.809, allocations: 0.9797 MB / 2.996 GB, free: 9.07 MB / 1.779 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003191/4.813, allocations: 1.289 MB / 2.997 GB, free: 7.781 MB / 1.779 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03286/4.846, allocations: 14.49 MB / 3.011 GB, free: 8.625 MB / 1.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003995/4.846, allocations: 43.53 kB / 3.011 GB, free: 8.582 MB / 1.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00227/4.848, allocations: 0.5299 MB / 3.012 GB, free: 8.055 MB / 1.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003279/4.849, allocations: 343.9 kB / 3.012 GB, free: 7.719 MB / 1.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5003/5.349, allocations: 10.09 MB / 3.022 GB, free: 0.9452 GB / 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.07964/5.429, allocations: 74.78 MB / 3.095 GB, free: 0.8903 GB / 1.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00604/5.435, allocations: 4.563 MB / 3.099 GB, free: 0.8876 GB / 1.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002635/5.437, allocations: 2.424 MB / 3.102 GB, free: 0.8863 GB / 1.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06889/5.506, allocations: 51.51 MB / 3.152 GB, free: 0.8432 GB / 1.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/5.506, allocations: 112.7 kB / 3.152 GB, free: 0.8431 GB / 1.795 GB Notification: Performance of pre-optimization done (n=412): time 1.03e-05/5.506, allocations: 0 / 3.152 GB, free: 0.8431 GB / 1.795 GB Notification: Performance of matching and sorting (n=412): time 0.01448/5.521, allocations: 6.991 MB / 3.159 GB, free: 0.8397 GB / 1.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/5.521, allocations: 0.7895 MB / 3.16 GB, free: 0.8388 GB / 1.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02735/5.548, allocations: 16.44 MB / 3.176 GB, free: 0.8306 GB / 1.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001013/5.549, allocations: 140.7 kB / 3.176 GB, free: 0.8305 GB / 1.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.007014/5.557, allocations: 8.65 MB / 3.184 GB, free: 0.823 GB / 1.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001757/5.558, allocations: 1.454 MB / 3.186 GB, free: 0.8218 GB / 1.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003372/5.562, allocations: 1.458 MB / 3.187 GB, free: 0.821 GB / 1.795 GB Notification: Performance of setup shared object (initialization): time 3.526e-05/5.562, allocations: 301.1 kB / 3.188 GB, free: 0.8207 GB / 1.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003127/5.565, allocations: 2.044 MB / 3.19 GB, free: 0.8197 GB / 1.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004865/5.57, allocations: 5.088 MB / 3.194 GB, free: 0.815 GB / 1.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006733/5.576, allocations: 6.89 MB / 3.201 GB, free: 0.8088 GB / 1.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.344e-05/5.577, allocations: 20 kB / 3.201 GB, free: 0.8088 GB / 1.795 GB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01381/5.59, allocations: 8.162 MB / 3.209 GB, free: 0.8008 GB / 1.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.703e-05/5.59, allocations: 36 kB / 3.209 GB, free: 0.8008 GB / 1.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.653e-05/5.591, allocations: 76 kB / 3.209 GB, free: 0.8007 GB / 1.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.6e-05/5.591, allocations: 115.9 kB / 3.209 GB, free: 0.8006 GB / 1.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004058/5.595, allocations: 1.404 MB / 3.211 GB, free: 0.7992 GB / 1.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001304/5.595, allocations: 163.4 kB / 3.211 GB, free: 0.7991 GB / 1.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01212/5.607, allocations: 1.845 MB / 3.213 GB, free: 0.7973 GB / 1.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001175/5.608, allocations: 379.9 kB / 3.213 GB, free: 0.7969 GB / 1.795 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.007328/5.616, allocations: 3.55 MB / 3.217 GB, free: 0.7934 GB / 1.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004625/5.62, allocations: 1.659 MB / 3.218 GB, free: 0.7918 GB / 1.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01368/5.634, allocations: 7.572 MB / 3.226 GB, free: 0.7846 GB / 1.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001691/5.634, allocations: 83.94 kB / 3.226 GB, free: 0.7845 GB / 1.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.021e-05/5.634, allocations: 8 kB / 3.226 GB, free: 0.7845 GB / 1.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003828/5.638, allocations: 3.839 MB / 3.229 GB, free: 0.7804 GB / 1.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04615/5.684, allocations: 28.71 MB / 3.257 GB, free: 0.752 GB / 1.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.351e-05/5.684, allocations: 39.78 kB / 3.257 GB, free: 0.752 GB / 1.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002692/5.687, allocations: 0.7722 MB / 3.258 GB, free: 0.7512 GB / 1.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.338e-05/5.687, allocations: 52.53 kB / 3.258 GB, free: 0.7512 GB / 1.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004381/5.687, allocations: 163.9 kB / 3.258 GB, free: 0.751 GB / 1.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.099e-05/5.687, allocations: 63.8 kB / 3.259 GB, free: 0.751 GB / 1.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.747e-05/5.687, allocations: 51.75 kB / 3.259 GB, free: 0.7509 GB / 1.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01423/5.702, allocations: 11.95 MB / 3.27 GB, free: 0.7387 GB / 1.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00644/5.708, allocations: 2.844 MB / 3.273 GB, free: 0.7358 GB / 1.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003708/5.712, allocations: 155.6 kB / 3.273 GB, free: 0.7357 GB / 1.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00958/5.722, allocations: 0.6072 MB / 3.274 GB, free: 0.7351 GB / 1.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005917/5.722, allocations: 409.5 kB / 3.274 GB, free: 0.7347 GB / 1.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006264/5.723, allocations: 259.8 kB / 3.274 GB, free: 0.7345 GB / 1.795 GB Notification: Performance of sorting global known variables: time 0.02284/5.746, allocations: 11.7 MB / 3.286 GB, free: 0.7231 GB / 1.795 GB Notification: Performance of sort global known variables: time 4.11e-07/5.746, allocations: 0 / 3.286 GB, free: 0.7231 GB / 1.795 GB Notification: Performance of remove unused functions: time 0.01676/5.762, allocations: 5.292 MB / 3.291 GB, free: 0.7182 GB / 1.795 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.009943/5.772, allocations: 4.44 MB / 3.295 GB, free: 0.7143 GB / 1.795 GB Notification: Performance of simCode: created initialization part: time 0.009275/5.782, allocations: 5.851 MB / 3.301 GB, free: 0.7086 GB / 1.795 GB Notification: Performance of simCode: created event and clocks part: time 2.642e-05/5.782, allocations: 10.25 kB / 3.301 GB, free: 0.7086 GB / 1.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00353/5.785, allocations: 2.585 MB / 3.304 GB, free: 0.7061 GB / 1.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04677/5.832, allocations: 10.08 MB / 3.313 GB, free: 0.6971 GB / 1.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04408/5.876, allocations: 34.05 MB / 3.347 GB, free: 0.6634 GB / 1.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01018/5.886, allocations: 7.779 MB / 3.354 GB, free: 0.6558 GB / 1.795 GB Notification: Performance of simCode: alias equations: time 0.01411/5.9, allocations: 3.231 MB / 3.357 GB, free: 0.6528 GB / 1.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003282/5.904, allocations: 1.062 MB / 3.358 GB, free: 0.6517 GB / 1.795 GB Notification: Performance of SimCode: time 8.41e-07/5.904, allocations: 0 / 3.358 GB, free: 0.6517 GB / 1.795 GB Notification: Performance of Templates: time 0.4362/6.34, allocations: 354 MB / 3.704 GB, free: 316 MB / 1.795 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches