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.001345/0.001345, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.464/1.464, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.718/2.718, allocations: 437 MB / 0.7104 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 63.89 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6145/0.6164, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.439/4.055, allocations: 1.37 GB / 2.387 GB, free: 99.03 MB / 1.529 GB Notification: Performance of NFInst.instExpressions: time 0.4067/4.462, allocations: 334.1 MB / 2.713 GB, free: 41.22 MB / 1.529 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05945/4.522, allocations: 1.221 MB / 2.715 GB, free: 40.46 MB / 1.529 GB Notification: Performance of NFTyping.typeComponents: time 0.04143/4.563, allocations: 13.25 MB / 2.727 GB, free: 28.93 MB / 1.529 GB Notification: Performance of NFTyping.typeBindings: time 0.09588/4.659, allocations: 32.23 MB / 2.759 GB, free: 1.227 MB / 1.529 GB Notification: Performance of NFTyping.typeClassSections: time 0.05355/4.713, allocations: 19.63 MB / 2.778 GB, free: 15.57 MB / 1.561 GB Notification: Performance of NFFlatten.flatten: time 0.08825/4.801, allocations: 58.14 MB / 2.835 GB, free: 6.969 MB / 1.607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05054/4.852, allocations: 23.37 MB / 2.858 GB, free: 15.71 MB / 1.639 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06367/4.915, allocations: 24.89 MB / 2.882 GB, free: 8.258 MB / 1.654 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03877/4.954, allocations: 17.74 MB / 2.899 GB, free: 7.672 MB / 1.67 GB Notification: Performance of NFPackage.collectConstants: time 0.009396/4.963, allocations: 2.133 MB / 2.901 GB, free: 5.539 MB / 1.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05593/5.019, allocations: 17.81 MB / 2.919 GB, free: 4.434 MB / 1.686 GB Notification: Performance of NFScalarize.scalarize: time 0.01037/5.03, allocations: 4.884 MB / 2.924 GB, free: 15.62 MB / 1.701 GB Notification: Performance of NFVerifyModel.verify: time 0.02672/5.057, allocations: 11.17 MB / 2.935 GB, free: 4.473 MB / 1.701 GB Notification: Performance of NFConvertDAE.convert: time 0.08381/5.14, allocations: 41.74 MB / 2.975 GB, free: 12.03 MB / 1.748 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/5.14, allocations: 0 / 2.975 GB, free: 12.03 MB / 1.748 GB Notification: Performance of FrontEnd: time 1.744e-06/5.141, allocations: 0 / 2.975 GB, free: 12.03 MB / 1.748 GB Notification: Performance of Transformations before backend: time 0.001159/5.142, allocations: 0 / 2.975 GB, free: 12.03 MB / 1.748 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.05539/5.197, allocations: 20.94 MB / 2.996 GB, free: 7.164 MB / 1.764 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/5.197, allocations: 8.031 kB / 2.996 GB, free: 7.156 MB / 1.764 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01017/5.207, allocations: 2.255 MB / 2.998 GB, free: 4.879 MB / 1.764 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03976/5.247, allocations: 17.7 MB / 3.015 GB, free: 3.469 MB / 1.779 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001037/5.248, allocations: 0.9767 MB / 3.016 GB, free: 2.492 MB / 1.779 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003787/5.252, allocations: 1.285 MB / 3.017 GB, free: 1.207 MB / 1.779 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5629/5.815, allocations: 14.61 MB / 3.032 GB, free: 0.9287 GB / 1.779 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006181/5.816, allocations: 44.98 kB / 3.032 GB, free: 0.9287 GB / 1.779 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00276/5.818, allocations: 0.5353 MB / 3.032 GB, free: 0.9283 GB / 1.779 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005032/5.819, allocations: 346.7 kB / 3.033 GB, free: 0.9283 GB / 1.779 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0224/5.841, allocations: 10.09 MB / 3.042 GB, free: 0.9244 GB / 1.779 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.08035/5.922, allocations: 77.16 MB / 3.118 GB, free: 0.8638 GB / 1.779 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006197/5.928, allocations: 4.57 MB / 3.122 GB, free: 0.8612 GB / 1.779 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002937/5.931, allocations: 2.436 MB / 3.125 GB, free: 0.8598 GB / 1.779 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0779/6.009, allocations: 51.51 MB / 3.175 GB, free: 0.8167 GB / 1.779 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/6.009, allocations: 123 kB / 3.175 GB, free: 0.8166 GB / 1.779 GB Notification: Performance of pre-optimization done (n=412): time 7.764e-06/6.009, allocations: 0 / 3.175 GB, free: 0.8166 GB / 1.779 GB Notification: Performance of matching and sorting (n=412): time 0.02434/6.033, allocations: 6.996 MB / 3.182 GB, free: 0.8132 GB / 1.779 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003027/6.034, allocations: 0.7911 MB / 3.183 GB, free: 0.8123 GB / 1.779 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03248/6.066, allocations: 16.67 MB / 3.199 GB, free: 0.7977 GB / 1.779 GB Notification: Performance of collectPreVariables (initialization): time 0.001262/6.068, allocations: 141.6 kB / 3.199 GB, free: 0.7975 GB / 1.779 GB Notification: Performance of collectInitialEqns (initialization): time 0.007457/6.075, allocations: 8.694 MB / 3.208 GB, free: 0.789 GB / 1.779 GB Notification: Performance of collectInitialBindings (initialization): time 0.001892/6.077, allocations: 1.468 MB / 3.209 GB, free: 0.7876 GB / 1.779 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002317/6.079, allocations: 1.487 MB / 3.21 GB, free: 0.7861 GB / 1.779 GB Notification: Performance of setup shared object (initialization): time 4.944e-05/6.079, allocations: 305.1 kB / 3.211 GB, free: 0.7858 GB / 1.779 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002807/6.082, allocations: 2.082 MB / 3.213 GB, free: 0.7838 GB / 1.779 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00481/6.087, allocations: 5.281 MB / 3.218 GB, free: 0.7774 GB / 1.779 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007527/6.094, allocations: 7.135 MB / 3.225 GB, free: 0.7694 GB / 1.779 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.125e-05/6.095, allocations: 31.94 kB / 3.225 GB, free: 0.7694 GB / 1.779 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01677/6.111, allocations: 8.356 MB / 3.233 GB, free: 0.7613 GB / 1.779 GB Notification: Performance of prepare postOptimizeDAE: time 8.527e-05/6.111, allocations: 40.94 kB / 3.233 GB, free: 0.7612 GB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001157/6.112, allocations: 83.94 kB / 3.233 GB, free: 0.7611 GB / 1.779 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001179/6.112, allocations: 120 kB / 3.233 GB, free: 0.761 GB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004595/6.116, allocations: 1.462 MB / 3.235 GB, free: 0.7596 GB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001498/6.117, allocations: 171.4 kB / 3.235 GB, free: 0.7594 GB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01146/6.128, allocations: 1.33 MB / 3.236 GB, free: 0.7581 GB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001666/6.13, allocations: 395.9 kB / 3.237 GB, free: 0.7577 GB / 1.779 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 367 * 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 (847): * Single equations (assignments): 847 * 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.01347/6.143, allocations: 3.575 MB / 3.24 GB, free: 0.7542 GB / 1.779 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007/6.15, allocations: 1.659 MB / 3.242 GB, free: 0.7526 GB / 1.779 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01446/6.165, allocations: 7.586 MB / 3.249 GB, free: 0.7454 GB / 1.779 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001718/6.165, allocations: 83.94 kB / 3.249 GB, free: 0.7453 GB / 1.779 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.995e-05/6.165, allocations: 11.94 kB / 3.249 GB, free: 0.7453 GB / 1.779 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004007/6.169, allocations: 3.834 MB / 3.253 GB, free: 0.7412 GB / 1.779 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04555/6.215, allocations: 28.83 MB / 3.281 GB, free: 0.7127 GB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001127/6.215, allocations: 32 kB / 3.281 GB, free: 0.7127 GB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002905/6.218, allocations: 0.7723 MB / 3.282 GB, free: 0.7119 GB / 1.779 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.932e-05/6.218, allocations: 52 kB / 3.282 GB, free: 0.7119 GB / 1.779 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005532/6.218, allocations: 152 kB / 3.282 GB, free: 0.7117 GB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.868e-05/6.218, allocations: 67.78 kB / 3.282 GB, free: 0.7117 GB / 1.779 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.965e-05/6.218, allocations: 59.69 kB / 3.282 GB, free: 0.7116 GB / 1.779 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01587/6.234, allocations: 11.95 MB / 3.294 GB, free: 0.6994 GB / 1.779 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007298/6.242, allocations: 2.864 MB / 3.297 GB, free: 0.6965 GB / 1.779 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003746/6.245, allocations: 147.7 kB / 3.297 GB, free: 0.6964 GB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008357/6.254, allocations: 255.1 kB / 3.297 GB, free: 0.6961 GB / 1.779 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006105/6.254, allocations: 406.6 kB / 3.297 GB, free: 0.6957 GB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000712/6.255, allocations: 263.8 kB / 3.298 GB, free: 0.6955 GB / 1.779 GB Notification: Performance of sorting global known variables: time 0.02138/6.276, allocations: 11.85 MB / 3.309 GB, free: 0.684 GB / 1.779 GB Notification: Performance of sort global known variables: time 5.71e-07/6.276, allocations: 0 / 3.309 GB, free: 0.684 GB / 1.779 GB Notification: Performance of remove unused functions: time 0.01905/6.295, allocations: 5.361 MB / 3.315 GB, free: 0.679 GB / 1.779 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.01293/6.308, allocations: 4.54 MB / 3.319 GB, free: 0.6751 GB / 1.779 GB Notification: Performance of simCode: created initialization part: time 0.01296/6.321, allocations: 5.94 MB / 3.325 GB, free: 0.6693 GB / 1.779 GB Notification: Performance of simCode: created event and clocks part: time 7.576e-05/6.322, allocations: 10.25 kB / 3.325 GB, free: 0.6693 GB / 1.779 GB Notification: Performance of simCode: created simulation system equations: time 0.004659/6.326, allocations: 2.594 MB / 3.327 GB, free: 0.6668 GB / 1.779 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05729/6.384, allocations: 10.08 MB / 3.337 GB, free: 0.6577 GB / 1.779 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04961/6.433, allocations: 28.72 MB / 3.365 GB, free: 0.6293 GB / 1.779 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01354/6.447, allocations: 7.775 MB / 3.373 GB, free: 0.6216 GB / 1.779 GB Notification: Performance of simCode: alias equations: time 0.01845/6.465, allocations: 3.257 MB / 3.376 GB, free: 0.6186 GB / 1.779 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004256/6.47, allocations: 1.074 MB / 3.377 GB, free: 0.6175 GB / 1.779 GB Notification: Performance of SimCode: time 9.11e-07/6.47, allocations: 0 / 3.377 GB, free: 0.6175 GB / 1.779 GB Notification: Performance of Templates: time 0.48/6.95, allocations: 358.5 MB / 3.727 GB, free: 276.5 MB / 1.779 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=400 -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