Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.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.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.00163/0.00163, allocations: 105.4 kB / 16.27 MB, free: 6.414 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.001566/0.001566, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.656/2.656, allocations: 482.4 MB / 0.7553 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 64.19 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7289/0.7307, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.545/3.276, allocations: 1.371 GB / 2.454 GB, free: 52.86 MB / 1.482 GB Notification: Performance of NFInst.instExpressions: time 1.417/4.693, allocations: 334 MB / 2.78 GB, free: 11.81 MB / 1.732 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04821/4.741, allocations: 1.223 MB / 2.782 GB, free: 11.81 MB / 1.732 GB Notification: Performance of NFTyping.typeComponents: time 0.03866/4.78, allocations: 13.25 MB / 2.794 GB, free: 11.8 MB / 1.732 GB Notification: Performance of NFTyping.typeBindings: time 0.0855/4.866, allocations: 32.04 MB / 2.826 GB, free: 11.56 MB / 1.732 GB Notification: Performance of NFTyping.typeClassSections: time 0.04793/4.914, allocations: 19.64 MB / 2.845 GB, free: 11.35 MB / 1.732 GB Notification: Performance of NFFlatten.flatten: time 0.08262/4.996, allocations: 58 MB / 2.902 GB, free: 11.07 MB / 1.732 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04538/5.042, allocations: 23.36 MB / 2.924 GB, free: 23.76 MB / 1.748 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0626/5.104, allocations: 27.32 MB / 2.951 GB, free: 22.13 MB / 1.748 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03535/5.14, allocations: 17.46 MB / 2.968 GB, free: 18.48 MB / 1.748 GB Notification: Performance of NFPackage.collectConstants: time 0.01058/5.15, allocations: 2.131 MB / 2.97 GB, free: 18.48 MB / 1.748 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04864/5.199, allocations: 17.71 MB / 2.987 GB, free: 18.27 MB / 1.748 GB Notification: Performance of NFScalarize.scalarize: time 0.01017/5.209, allocations: 4.886 MB / 2.992 GB, free: 17.52 MB / 1.748 GB Notification: Performance of NFVerifyModel.verify: time 0.02704/5.236, allocations: 11.2 MB / 3.003 GB, free: 14.28 MB / 1.748 GB Notification: Performance of NFConvertDAE.convert: time 0.07685/5.313, allocations: 40.62 MB / 3.043 GB, free: 7.824 MB / 1.764 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/5.313, allocations: 0 / 3.043 GB, free: 7.824 MB / 1.764 GB Notification: Performance of FrontEnd: time 1.854e-06/5.313, allocations: 0 / 3.043 GB, free: 7.824 MB / 1.764 GB Notification: Performance of Transformations before backend: time 0.001106/5.314, allocations: 0 / 3.043 GB, free: 7.824 MB / 1.764 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.06106/5.375, allocations: 20.91 MB / 3.063 GB, free: 6.688 MB / 1.779 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/5.375, allocations: 12.03 kB / 3.063 GB, free: 6.676 MB / 1.779 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/5.387, allocations: 2.254 MB / 3.066 GB, free: 4.402 MB / 1.779 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04074/5.428, allocations: 17.68 MB / 3.083 GB, free: 5.34 MB / 1.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001348/5.429, allocations: 0.9711 MB / 3.084 GB, free: 4.367 MB / 1.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005789/5.435, allocations: 1.297 MB / 3.085 GB, free: 3.074 MB / 1.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04039/5.475, allocations: 14.61 MB / 3.099 GB, free: 3.82 MB / 1.811 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003156/5.476, allocations: 44.09 kB / 3.099 GB, free: 3.801 MB / 1.811 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002441/5.478, allocations: 0.5332 MB / 3.1 GB, free: 3.27 MB / 1.811 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003362/5.478, allocations: 351.3 kB / 3.1 GB, free: 2.93 MB / 1.811 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0223/5.501, allocations: 10.1 MB / 3.11 GB, free: 9.066 MB / 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.1062/5.607, allocations: 77.09 MB / 3.185 GB, free: 9.262 MB / 1.904 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007864/5.615, allocations: 4.571 MB / 3.19 GB, free: 4.52 MB / 1.904 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003865/5.619, allocations: 2.431 MB / 3.192 GB, free: 2.027 MB / 1.904 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09182/5.711, allocations: 51.5 MB / 3.242 GB, free: 7.219 MB / 1.967 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/5.711, allocations: 126.4 kB / 3.243 GB, free: 7.102 MB / 1.967 GB Notification: Performance of pre-optimization done (n=412): time 6.772e-06/5.711, allocations: 0 / 3.243 GB, free: 7.102 MB / 1.967 GB Notification: Performance of matching and sorting (n=412): time 0.0176/5.728, allocations: 6.987 MB / 3.249 GB, free: 184 kB / 1.967 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004437/5.729, allocations: 0.7957 MB / 3.25 GB, free: 15.21 MB / 1.982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03378/5.763, allocations: 16.68 MB / 3.266 GB, free: 14.64 MB / 1.998 GB Notification: Performance of collectPreVariables (initialization): time 0.001361/5.764, allocations: 141.7 kB / 3.267 GB, free: 14.48 MB / 1.998 GB Notification: Performance of collectInitialEqns (initialization): time 0.01075/5.775, allocations: 8.697 MB / 3.275 GB, free: 5.855 MB / 1.998 GB Notification: Performance of collectInitialBindings (initialization): time 0.002478/5.777, allocations: 1.468 MB / 3.276 GB, free: 4.402 MB / 1.998 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00262/5.78, allocations: 1.491 MB / 3.278 GB, free: 2.898 MB / 1.998 GB Notification: Performance of setup shared object (initialization): time 0.0001227/5.78, allocations: 301.1 kB / 3.278 GB, free: 2.602 MB / 1.998 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003487/5.784, allocations: 2.078 MB / 3.28 GB, free: 0.5195 MB / 1.998 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006663/5.79, allocations: 5.281 MB / 3.285 GB, free: 9.949 MB / 2.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00964/5.8, allocations: 7.136 MB / 3.292 GB, free: 2.074 MB / 2.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.645e-05/5.8, allocations: 27.94 kB / 3.292 GB, free: 2.047 MB / 2.014 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01908/5.819, allocations: 8.368 MB / 3.301 GB, free: 10.2 MB / 2.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/5.819, allocations: 47.03 kB / 3.301 GB, free: 10.16 MB / 2.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001632/5.819, allocations: 80 kB / 3.301 GB, free: 10.08 MB / 2.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001732/5.82, allocations: 116 kB / 3.301 GB, free: 9.965 MB / 2.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005104/5.825, allocations: 1.453 MB / 3.302 GB, free: 8.621 MB / 2.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002183/5.825, allocations: 176.6 kB / 3.302 GB, free: 8.484 MB / 2.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0123/5.837, allocations: 1.336 MB / 3.304 GB, free: 7.141 MB / 2.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001669/5.839, allocations: 391.9 kB / 3.304 GB, free: 6.758 MB / 2.029 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.01023/5.849, allocations: 3.572 MB / 3.308 GB, free: 3.18 MB / 2.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006279/5.856, allocations: 1.667 MB / 3.309 GB, free: 1.492 MB / 2.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01746/5.873, allocations: 7.554 MB / 3.317 GB, free: 10.07 MB / 2.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002/5.873, allocations: 83.94 kB / 3.317 GB, free: 9.992 MB / 2.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.255e-05/5.873, allocations: 11.94 kB / 3.317 GB, free: 9.98 MB / 2.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005242/5.879, allocations: 3.845 MB / 3.32 GB, free: 5.824 MB / 2.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05927/5.938, allocations: 28.77 MB / 3.349 GB, free: 8.703 MB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001379/5.938, allocations: 35.98 kB / 3.349 GB, free: 8.668 MB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003208/5.941, allocations: 0.7767 MB / 3.349 GB, free: 7.891 MB / 2.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.173e-05/5.941, allocations: 52 kB / 3.349 GB, free: 7.84 MB / 2.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007481/5.942, allocations: 156 kB / 3.35 GB, free: 7.688 MB / 2.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-05/5.942, allocations: 75.72 kB / 3.35 GB, free: 7.613 MB / 2.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-05/5.942, allocations: 47.47 kB / 3.35 GB, free: 7.57 MB / 2.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0208/5.963, allocations: 11.97 MB / 3.361 GB, free: 11.01 MB / 2.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008484/5.972, allocations: 2.84 MB / 3.364 GB, free: 8.125 MB / 2.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005299/5.977, allocations: 155.6 kB / 3.364 GB, free: 7.973 MB / 2.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009146/5.986, allocations: 259.3 kB / 3.364 GB, free: 7.719 MB / 2.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00083/5.987, allocations: 398.7 kB / 3.365 GB, free: 7.328 MB / 2.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008321/5.988, allocations: 259.9 kB / 3.365 GB, free: 7.074 MB / 2.092 GB Notification: Performance of sorting global known variables: time 0.02898/6.017, allocations: 11.85 MB / 3.377 GB, free: 11.32 MB / 2.107 GB Notification: Performance of sort global known variables: time 8.51e-07/6.017, allocations: 0 / 3.377 GB, free: 11.32 MB / 2.107 GB Notification: Performance of remove unused functions: time 0.02114/6.038, allocations: 5.367 MB / 3.382 GB, free: 5.945 MB / 2.107 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.01288/6.051, allocations: 4.421 MB / 3.386 GB, free: 1.93 MB / 2.107 GB Notification: Performance of simCode: created initialization part: time 0.01261/6.063, allocations: 5.939 MB / 3.392 GB, free: 12.02 MB / 2.123 GB Notification: Performance of simCode: created event and clocks part: time 3.852e-05/6.064, allocations: 11.75 kB / 3.392 GB, free: 12 MB / 2.123 GB Notification: Performance of simCode: created simulation system equations: time 0.004835/6.068, allocations: 2.59 MB / 3.395 GB, free: 9.43 MB / 2.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05819/6.127, allocations: 10.08 MB / 3.404 GB, free: 15.87 MB / 2.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06141/6.188, allocations: 28.51 MB / 3.432 GB, free: 2.938 MB / 2.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01523/6.203, allocations: 7.517 MB / 3.44 GB, free: 11.38 MB / 2.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003861/6.207, allocations: 1.128 MB / 3.441 GB, free: 10.25 MB / 2.17 GB Notification: Performance of SimCode: time 1.062e-06/6.207, allocations: 0 / 3.441 GB, free: 10.25 MB / 2.17 GB Notification: Performance of Templates: time 1.48/7.687, allocations: 317.8 MB / 3.751 GB, free: 1.18 GB / 2.264 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches