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.001175/0.001175, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001095/0.001095, allocations: 189.7 kB / 17.35 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.366/1.366, allocations: 222.9 MB / 241 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.26/2.26, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 63.89 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9525/0.954, allocations: 140.4 MB / 1.089 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.31/4.264, allocations: 1.349 GB / 2.437 GB, free: 83.49 MB / 1.529 GB Notification: Performance of NFInst.instExpressions: time 0.4327/4.697, allocations: 330.5 MB / 2.76 GB, free: 2.566 MB / 1.701 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05364/4.75, allocations: 1.165 MB / 2.761 GB, free: 1.395 MB / 1.701 GB Notification: Performance of NFTyping.typeComponents: time 0.04456/4.795, allocations: 12.96 MB / 2.774 GB, free: 4.359 MB / 1.717 GB Notification: Performance of NFTyping.typeBindings: time 0.1038/4.899, allocations: 32.16 MB / 2.805 GB, free: 4.074 MB / 1.748 GB Notification: Performance of NFTyping.typeClassSections: time 0.05231/4.951, allocations: 18.87 MB / 2.824 GB, free: 1.348 MB / 1.764 GB Notification: Performance of NFFlatten.flatten: time 1.308/6.26, allocations: 56.59 MB / 2.879 GB, free: 27.77 MB / 1.779 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0575/6.317, allocations: 22.24 MB / 2.901 GB, free: 41.03 MB / 1.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07076/6.388, allocations: 25.3 MB / 2.925 GB, free: 40.93 MB / 1.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03976/6.428, allocations: 17.58 MB / 2.943 GB, free: 37.59 MB / 1.795 GB Notification: Performance of NFPackage.collectConstants: time 0.01099/6.439, allocations: 2.055 MB / 2.945 GB, free: 37.59 MB / 1.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0506/6.489, allocations: 17.9 MB / 2.962 GB, free: 37.57 MB / 1.795 GB Notification: Performance of NFScalarize.scalarize: time 0.01199/6.502, allocations: 4.725 MB / 2.967 GB, free: 36.85 MB / 1.795 GB Notification: Performance of NFVerifyModel.verify: time 0.03135/6.533, allocations: 10.87 MB / 2.977 GB, free: 33.98 MB / 1.795 GB Notification: Performance of NFConvertDAE.convert: time 0.08235/6.615, allocations: 41.11 MB / 3.017 GB, free: 30.91 MB / 1.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.339e-05/6.615, allocations: 1.078 kB / 3.017 GB, free: 30.91 MB / 1.795 GB Notification: Performance of FrontEnd: time 2.304e-06/6.615, allocations: 3.281 kB / 3.017 GB, free: 30.91 MB / 1.795 GB Notification: Performance of Transformations before backend: time 0.00135/6.617, allocations: 4 kB / 3.017 GB, free: 30.9 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.06465/6.681, allocations: 20.35 MB / 3.037 GB, free: 22.77 MB / 1.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/6.681, allocations: 11.03 kB / 3.037 GB, free: 22.77 MB / 1.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01057/6.692, allocations: 2.18 MB / 3.039 GB, free: 21.74 MB / 1.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04151/6.734, allocations: 18.28 MB / 3.057 GB, free: 18.93 MB / 1.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001309/6.735, allocations: 0.9426 MB / 3.058 GB, free: 18.91 MB / 1.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005315/6.74, allocations: 1.254 MB / 3.059 GB, free: 18.9 MB / 1.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04994/6.79, allocations: 14.08 MB / 3.073 GB, free: 16.5 MB / 1.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008711/6.791, allocations: 46.16 kB / 3.073 GB, free: 16.49 MB / 1.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004951/6.796, allocations: 0.5054 MB / 3.074 GB, free: 16.49 MB / 1.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005145/6.797, allocations: 338.2 kB / 3.074 GB, free: 16.49 MB / 1.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02389/6.821, allocations: 9.696 MB / 3.084 GB, free: 16.42 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.1035/6.924, allocations: 72.18 MB / 3.154 GB, free: 1.07 MB / 1.826 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007808/6.932, allocations: 4.566 MB / 3.158 GB, free: 13.78 MB / 1.842 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004185/6.936, allocations: 2.432 MB / 3.161 GB, free: 12.14 MB / 1.842 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09406/7.03, allocations: 51.67 MB / 3.211 GB, free: 2.078 MB / 1.889 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/7.031, allocations: 116.4 kB / 3.211 GB, free: 2.004 MB / 1.889 GB Notification: Performance of pre-optimization done (n=412): time 1.415e-05/7.031, allocations: 4 kB / 3.211 GB, free: 2 MB / 1.889 GB Notification: Performance of matching and sorting (n=412): time 0.01929/7.05, allocations: 6.954 MB / 3.218 GB, free: 12.95 MB / 1.904 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004208/7.05, allocations: 0.7902 MB / 3.219 GB, free: 11.99 MB / 1.904 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04461/7.095, allocations: 16.2 MB / 3.235 GB, free: 0.8594 MB / 1.904 GB Notification: Performance of collectPreVariables (initialization): time 0.001594/7.097, allocations: 144.6 kB / 3.235 GB, free: 0.7812 MB / 1.904 GB Notification: Performance of collectInitialEqns (initialization): time 0.01286/7.109, allocations: 8.211 MB / 3.243 GB, free: 13.33 MB / 1.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.003086/7.113, allocations: 1.459 MB / 3.244 GB, free: 11.89 MB / 1.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006141/7.119, allocations: 1.416 MB / 3.246 GB, free: 10.46 MB / 1.92 GB Notification: Performance of setup shared object (initialization): time 0.0001053/7.119, allocations: 305.1 kB / 3.246 GB, free: 10.16 MB / 1.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004437/7.123, allocations: 2.011 MB / 3.248 GB, free: 8.145 MB / 1.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007876/7.131, allocations: 4.938 MB / 3.253 GB, free: 2.043 MB / 1.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/7.141, allocations: 6.672 MB / 3.259 GB, free: 10.72 MB / 1.936 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001074/7.142, allocations: 20 kB / 3.259 GB, free: 10.7 MB / 1.936 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.02325/7.165, allocations: 7.967 MB / 3.267 GB, free: 3.199 MB / 1.936 GB Notification: Performance of prepare postOptimizeDAE: time 0.000122/7.165, allocations: 32 kB / 3.267 GB, free: 3.168 MB / 1.936 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001581/7.165, allocations: 72 kB / 3.267 GB, free: 3.098 MB / 1.936 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001596/7.165, allocations: 104 kB / 3.267 GB, free: 2.996 MB / 1.936 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005589/7.171, allocations: 1.373 MB / 3.269 GB, free: 1.727 MB / 1.936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002264/7.171, allocations: 149 kB / 3.269 GB, free: 1.609 MB / 1.936 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01376/7.185, allocations: 1.227 MB / 3.27 GB, free: 384 kB / 1.936 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002239/7.187, allocations: 375.9 kB / 3.27 GB, free: 8 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.01275/7.2, allocations: 3.405 MB / 3.274 GB, free: 12.7 MB / 1.951 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007268/7.207, allocations: 1.617 MB / 3.275 GB, free: 11.06 MB / 1.951 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01877/7.226, allocations: 7.523 MB / 3.283 GB, free: 3.766 MB / 1.951 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002361/7.226, allocations: 79.94 kB / 3.283 GB, free: 3.688 MB / 1.951 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.685e-05/7.226, allocations: 8 kB / 3.283 GB, free: 3.68 MB / 1.951 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005469/7.232, allocations: 3.853 MB / 3.287 GB, free: 15.53 MB / 1.967 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06121/7.293, allocations: 28.47 MB / 3.314 GB, free: 2.938 MB / 1.982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001279/7.293, allocations: 32 kB / 3.314 GB, free: 2.906 MB / 1.982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003271/7.297, allocations: 0.7796 MB / 3.315 GB, free: 2.176 MB / 1.982 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.972e-05/7.297, allocations: 48 kB / 3.315 GB, free: 2.129 MB / 1.982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009534/7.298, allocations: 152 kB / 3.315 GB, free: 1.98 MB / 1.982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.137e-05/7.298, allocations: 73.19 kB / 3.315 GB, free: 1.922 MB / 1.982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.415e-05/7.298, allocations: 54.47 kB / 3.315 GB, free: 1.883 MB / 1.982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02333/7.321, allocations: 11.91 MB / 3.327 GB, free: 5.414 MB / 1.998 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01357/7.335, allocations: 2.817 MB / 3.33 GB, free: 2.555 MB / 1.998 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006577/7.341, allocations: 159.6 kB / 3.33 GB, free: 2.398 MB / 1.998 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01128/7.353, allocations: 218.8 kB / 3.33 GB, free: 2.188 MB / 1.998 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001454/7.354, allocations: 410.8 kB / 3.331 GB, free: 1.812 MB / 1.998 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001503/7.356, allocations: 259.9 kB / 3.331 GB, free: 1.559 MB / 1.998 GB Notification: Performance of sorting global known variables: time 0.031/7.387, allocations: 11.55 MB / 3.342 GB, free: 6.102 MB / 2.014 GB Notification: Performance of sort global known variables: time 4.31e-07/7.387, allocations: 0 / 3.342 GB, free: 6.102 MB / 2.014 GB Notification: Performance of remove unused functions: time 0.02494/7.412, allocations: 5.277 MB / 3.347 GB, free: 0.8164 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.0151/7.427, allocations: 4.533 MB / 3.352 GB, free: 12.77 MB / 2.029 GB Notification: Performance of simCode: created initialization part: time 0.01243/7.439, allocations: 5.512 MB / 3.357 GB, free: 7.559 MB / 2.029 GB Notification: Performance of simCode: created event and clocks part: time 4.292e-05/7.439, allocations: 8 kB / 3.357 GB, free: 7.551 MB / 2.029 GB Notification: Performance of simCode: created simulation system equations: time 0.005243/7.445, allocations: 2.579 MB / 3.36 GB, free: 5.129 MB / 2.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0612/7.506, allocations: 9.951 MB / 3.369 GB, free: 11.67 MB / 2.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0663/7.572, allocations: 27.32 MB / 3.396 GB, free: 0 / 2.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01782/7.59, allocations: 7.281 MB / 3.403 GB, free: 8.688 MB / 2.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004257/7.595, allocations: 1.1 MB / 3.404 GB, free: 7.594 MB / 2.076 GB Notification: Performance of SimCode: time 1.774e-06/7.595, allocations: 0 / 3.404 GB, free: 7.594 MB / 2.076 GB Notification: Performance of Templates: time 1.729/9.323, allocations: 317.4 MB / 3.714 GB, free: 1.278 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