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.001214/0.001214, allocations: 107.4 kB / 16.36 MB, free: 5.824 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.001111/0.001111, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.469/1.469, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.685/2.685, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 74.16 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.397, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 4.017/4.414, allocations: 1.37 GB / 2.396 GB, free: 68.78 MB / 1.436 GB Notification: Performance of NFInst.instExpressions: time 1.803/6.218, allocations: 334 MB / 2.723 GB, free: 5.379 MB / 1.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05105/6.269, allocations: 1.223 MB / 2.724 GB, free: 5.379 MB / 1.67 GB Notification: Performance of NFTyping.typeComponents: time 0.04842/6.317, allocations: 13.25 MB / 2.737 GB, free: 5.379 MB / 1.67 GB Notification: Performance of NFTyping.typeBindings: time 0.1186/6.436, allocations: 32.23 MB / 2.768 GB, free: 5.148 MB / 1.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.05578/6.492, allocations: 19.82 MB / 2.787 GB, free: 4.984 MB / 1.67 GB Notification: Performance of NFFlatten.flatten: time 0.1028/6.594, allocations: 58.21 MB / 2.844 GB, free: 4.699 MB / 1.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06146/6.656, allocations: 23.37 MB / 2.867 GB, free: 17.43 MB / 1.686 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07301/6.729, allocations: 25 MB / 2.892 GB, free: 16.05 MB / 1.686 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04498/6.774, allocations: 17.76 MB / 2.909 GB, free: 12.39 MB / 1.686 GB Notification: Performance of NFPackage.collectConstants: time 0.01143/6.785, allocations: 2.13 MB / 2.911 GB, free: 12.39 MB / 1.686 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05674/6.842, allocations: 17.97 MB / 2.929 GB, free: 12.17 MB / 1.686 GB Notification: Performance of NFScalarize.scalarize: time 0.01318/6.855, allocations: 4.886 MB / 2.933 GB, free: 11.43 MB / 1.686 GB Notification: Performance of NFVerifyModel.verify: time 0.03729/6.893, allocations: 11.17 MB / 2.944 GB, free: 8.309 MB / 1.686 GB Notification: Performance of NFConvertDAE.convert: time 0.09386/6.987, allocations: 42.14 MB / 2.985 GB, free: 296 kB / 1.701 GB Notification: Performance of FrontEnd - DAE generated: time 1.631e-05/6.987, allocations: 3.984 kB / 2.985 GB, free: 292 kB / 1.701 GB Notification: Performance of FrontEnd: time 4.749e-06/6.987, allocations: 0 / 2.985 GB, free: 292 kB / 1.701 GB Notification: Performance of Transformations before backend: time 0.002142/6.989, allocations: 0 / 2.985 GB, free: 292 kB / 1.701 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.07025/7.059, allocations: 20.94 MB / 3.006 GB, free: 15.15 MB / 1.732 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/7.059, allocations: 12.03 kB / 3.006 GB, free: 15.14 MB / 1.732 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01031/7.07, allocations: 2.247 MB / 3.008 GB, free: 12.87 MB / 1.732 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04107/7.111, allocations: 18.93 MB / 3.027 GB, free: 84 kB / 1.732 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001184/7.112, allocations: 0.9765 MB / 3.027 GB, free: 15.1 MB / 1.748 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005102/7.117, allocations: 1.294 MB / 3.029 GB, free: 13.81 MB / 1.748 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04397/7.161, allocations: 14.61 MB / 3.043 GB, free: 14.56 MB / 1.764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004657/7.161, allocations: 47.62 kB / 3.043 GB, free: 14.54 MB / 1.764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0033/7.165, allocations: 0.5318 MB / 3.044 GB, free: 14.01 MB / 1.764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003277/7.165, allocations: 348 kB / 3.044 GB, free: 13.67 MB / 1.764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02366/7.189, allocations: 10.1 MB / 3.054 GB, free: 3.801 MB / 1.764 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.1158/7.305, allocations: 76.55 MB / 3.129 GB, free: 4.535 MB / 1.842 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00814/7.313, allocations: 4.55 MB / 3.133 GB, free: 15.81 MB / 1.857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004295/7.317, allocations: 2.446 MB / 3.135 GB, free: 13.3 MB / 1.857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08819/7.405, allocations: 51.67 MB / 3.186 GB, free: 2.32 MB / 1.904 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/7.406, allocations: 127.3 kB / 3.186 GB, free: 2.199 MB / 1.904 GB Notification: Performance of pre-optimization done (n=412): time 6.843e-06/7.406, allocations: 0 / 3.186 GB, free: 2.199 MB / 1.904 GB Notification: Performance of matching and sorting (n=412): time 0.02023/7.426, allocations: 6.987 MB / 3.193 GB, free: 11.28 MB / 1.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004128/7.426, allocations: 0.7943 MB / 3.194 GB, free: 10.32 MB / 1.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04694/7.473, allocations: 16.67 MB / 3.21 GB, free: 9.742 MB / 1.936 GB Notification: Performance of collectPreVariables (initialization): time 0.001641/7.475, allocations: 141.7 kB / 3.21 GB, free: 9.598 MB / 1.936 GB Notification: Performance of collectInitialEqns (initialization): time 0.01305/7.488, allocations: 8.573 MB / 3.218 GB, free: 1.012 MB / 1.936 GB Notification: Performance of collectInitialBindings (initialization): time 0.002832/7.491, allocations: 1.457 MB / 3.22 GB, free: 15.57 MB / 1.951 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003435/7.494, allocations: 1.491 MB / 3.221 GB, free: 14.07 MB / 1.951 GB Notification: Performance of setup shared object (initialization): time 0.000104/7.495, allocations: 305.1 kB / 3.221 GB, free: 13.77 MB / 1.951 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003655/7.498, allocations: 2.082 MB / 3.224 GB, free: 11.68 MB / 1.951 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007202/7.505, allocations: 5.282 MB / 3.229 GB, free: 5.105 MB / 1.951 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01088/7.516, allocations: 7.135 MB / 3.236 GB, free: 13.23 MB / 1.967 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.994e-05/7.516, allocations: 20 kB / 3.236 GB, free: 13.21 MB / 1.967 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02359/7.54, allocations: 8.364 MB / 3.244 GB, free: 5.359 MB / 1.967 GB Notification: Performance of prepare postOptimizeDAE: time 7.839e-05/7.54, allocations: 42.19 kB / 3.244 GB, free: 5.32 MB / 1.967 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001031/7.54, allocations: 80.09 kB / 3.244 GB, free: 5.242 MB / 1.967 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001485/7.54, allocations: 124 kB / 3.244 GB, free: 5.121 MB / 1.967 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005594/7.546, allocations: 1.459 MB / 3.245 GB, free: 3.66 MB / 1.967 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001699/7.546, allocations: 171.4 kB / 3.246 GB, free: 3.492 MB / 1.967 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01307/7.559, allocations: 1.328 MB / 3.247 GB, free: 2.156 MB / 1.967 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001975/7.561, allocations: 391.9 kB / 3.247 GB, free: 1.773 MB / 1.967 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.01294/7.574, allocations: 3.573 MB / 3.251 GB, free: 14.19 MB / 1.982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007363/7.582, allocations: 1.663 MB / 3.252 GB, free: 12.5 MB / 1.982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01959/7.601, allocations: 7.566 MB / 3.26 GB, free: 5.141 MB / 1.982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002432/7.602, allocations: 83.94 kB / 3.26 GB, free: 5.059 MB / 1.982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-05/7.602, allocations: 8 kB / 3.26 GB, free: 5.051 MB / 1.982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006051/7.608, allocations: 3.849 MB / 3.264 GB, free: 0.8906 MB / 1.982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05697/7.665, allocations: 28.81 MB / 3.292 GB, free: 3.719 MB / 2.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.826e-05/7.665, allocations: 32 kB / 3.292 GB, free: 3.688 MB / 2.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002972/7.668, allocations: 0.7723 MB / 3.293 GB, free: 2.914 MB / 2.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.079e-05/7.668, allocations: 48 kB / 3.293 GB, free: 2.867 MB / 2.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004407/7.668, allocations: 159.9 kB / 3.293 GB, free: 2.711 MB / 2.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.367e-05/7.668, allocations: 67.8 kB / 3.293 GB, free: 2.645 MB / 2.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.86e-05/7.668, allocations: 47.81 kB / 3.293 GB, free: 2.598 MB / 2.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01829/7.687, allocations: 11.97 MB / 3.305 GB, free: 6.051 MB / 2.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009357/7.696, allocations: 2.86 MB / 3.307 GB, free: 3.148 MB / 2.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00511/7.701, allocations: 155.6 kB / 3.308 GB, free: 2.996 MB / 2.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01095/7.712, allocations: 255.2 kB / 3.308 GB, free: 2.75 MB / 2.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001325/7.714, allocations: 402.7 kB / 3.308 GB, free: 2.355 MB / 2.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007939/7.714, allocations: 255.9 kB / 3.308 GB, free: 2.105 MB / 2.029 GB Notification: Performance of sorting global known variables: time 0.03201/7.746, allocations: 11.86 MB / 3.32 GB, free: 6.348 MB / 2.045 GB Notification: Performance of sort global known variables: time 6.21e-07/7.746, allocations: 0 / 3.32 GB, free: 6.348 MB / 2.045 GB Notification: Performance of remove unused functions: time 0.02481/7.771, allocations: 5.359 MB / 3.325 GB, free: 0.9805 MB / 2.045 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.01258/7.784, allocations: 4.53 MB / 3.33 GB, free: 12.88 MB / 2.061 GB Notification: Performance of simCode: created initialization part: time 0.01144/7.795, allocations: 5.677 MB / 3.335 GB, free: 7.23 MB / 2.061 GB Notification: Performance of simCode: created event and clocks part: time 3.659e-05/7.795, allocations: 9.438 kB / 3.335 GB, free: 7.223 MB / 2.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00472/7.8, allocations: 2.586 MB / 3.338 GB, free: 4.648 MB / 2.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05473/7.855, allocations: 10.03 MB / 3.348 GB, free: 11.04 MB / 2.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05733/7.912, allocations: 28.27 MB / 3.375 GB, free: 14.34 MB / 2.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01471/7.927, allocations: 7.779 MB / 3.383 GB, free: 6.516 MB / 2.107 GB Notification: Performance of simCode: alias equations: time 0.01726/7.944, allocations: 3.259 MB / 3.386 GB, free: 3.344 MB / 2.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003913/7.948, allocations: 1.073 MB / 3.387 GB, free: 2.273 MB / 2.107 GB Notification: Performance of SimCode: time 9.72e-07/7.948, allocations: 0 / 3.387 GB, free: 2.273 MB / 2.107 GB Notification: Performance of Templates: time 1.593/9.542, allocations: 354.3 MB / 3.733 GB, free: 1.13 GB / 2.201 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 -s cvode -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