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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001892/0.001892, allocations: 105 kB / 16.41 MB, free: 5.977 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.001679/0.001679, allocations: 188.8 kB / 17.34 MB, free: 5.586 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.631/2.631, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 59.91 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7818/0.7832, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.184/3.967, allocations: 1.369 GB / 2.578 GB, free: 72.34 MB / 1.639 GB Notification: Performance of NFInst.instExpressions: time 0.4253/4.392, allocations: 333.9 MB / 2.904 GB, free: 11.8 MB / 1.904 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05697/4.449, allocations: 1.219 MB / 2.905 GB, free: 10.57 MB / 1.904 GB Notification: Performance of NFTyping.typeComponents: time 1.309/5.758, allocations: 13.49 MB / 2.918 GB, free: 14.6 MB / 1.904 GB Notification: Performance of NFTyping.typeBindings: time 0.09779/5.856, allocations: 33.89 MB / 2.951 GB, free: 14.45 MB / 1.904 GB Notification: Performance of NFTyping.typeClassSections: time 0.05366/5.91, allocations: 19.84 MB / 2.971 GB, free: 14.29 MB / 1.904 GB Notification: Performance of NFFlatten.flatten: time 0.09836/6.008, allocations: 58.3 MB / 3.028 GB, free: 14.02 MB / 1.904 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06034/6.068, allocations: 23.37 MB / 3.051 GB, free: 26.75 MB / 1.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07132/6.14, allocations: 25.67 MB / 3.076 GB, free: 26.04 MB / 1.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04341/6.183, allocations: 17.76 MB / 3.093 GB, free: 22.39 MB / 1.92 GB Notification: Performance of NFPackage.collectConstants: time 0.01188/6.195, allocations: 2.131 MB / 3.095 GB, free: 22.39 MB / 1.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05598/6.251, allocations: 17.97 MB / 3.113 GB, free: 22.38 MB / 1.92 GB Notification: Performance of NFScalarize.scalarize: time 0.01269/6.264, allocations: 4.886 MB / 3.117 GB, free: 21.63 MB / 1.92 GB Notification: Performance of NFVerifyModel.verify: time 0.02976/6.294, allocations: 11.17 MB / 3.128 GB, free: 18.67 MB / 1.92 GB Notification: Performance of NFConvertDAE.convert: time 0.08338/6.377, allocations: 40.96 MB / 3.168 GB, free: 8.953 MB / 1.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/6.377, allocations: 0 / 3.168 GB, free: 8.953 MB / 1.92 GB Notification: Performance of FrontEnd: time 1.903e-06/6.377, allocations: 2.719 kB / 3.168 GB, free: 8.953 MB / 1.92 GB Notification: Performance of Transformations before backend: time 0.001384/6.378, allocations: 0 / 3.168 GB, free: 8.953 MB / 1.92 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.06962/6.448, allocations: 20.92 MB / 3.189 GB, free: 14.21 MB / 1.936 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/6.448, allocations: 15.31 kB / 3.189 GB, free: 14.21 MB / 1.936 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01254/6.461, allocations: 2.251 MB / 3.191 GB, free: 13.11 MB / 1.936 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0487/6.509, allocations: 18.89 MB / 3.209 GB, free: 5.266 MB / 1.936 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001249/6.511, allocations: 0.9689 MB / 3.21 GB, free: 4.703 MB / 1.936 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006293/6.517, allocations: 1.294 MB / 3.212 GB, free: 3.824 MB / 1.936 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04949/6.567, allocations: 14.61 MB / 3.226 GB, free: 9.43 MB / 1.951 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008079/6.567, allocations: 48.09 kB / 3.226 GB, free: 9.406 MB / 1.951 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005073/6.573, allocations: 0.5374 MB / 3.226 GB, free: 9.273 MB / 1.951 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004943/6.573, allocations: 345.9 kB / 3.227 GB, free: 8.945 MB / 1.951 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02619/6.599, allocations: 10.1 MB / 3.237 GB, free: 2.785 MB / 1.951 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.1274/6.727, allocations: 76.47 MB / 3.311 GB, free: 9.605 MB / 2.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008348/6.735, allocations: 4.571 MB / 3.316 GB, free: 4.863 MB / 2.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004192/6.739, allocations: 2.431 MB / 3.318 GB, free: 2.367 MB / 2.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09202/6.831, allocations: 51.67 MB / 3.369 GB, free: 7.387 MB / 2.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/6.832, allocations: 114.6 kB / 3.369 GB, free: 7.277 MB / 2.092 GB Notification: Performance of pre-optimization done (n=412): time 1.899e-05/6.832, allocations: 6.812 kB / 3.369 GB, free: 7.273 MB / 2.092 GB Notification: Performance of matching and sorting (n=412): time 0.02059/6.852, allocations: 6.993 MB / 3.375 GB, free: 360 kB / 2.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004355/6.853, allocations: 0.7993 MB / 3.376 GB, free: 15.39 MB / 2.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0478/6.901, allocations: 16.68 MB / 3.393 GB, free: 14.81 MB / 2.123 GB Notification: Performance of collectPreVariables (initialization): time 0.00174/6.902, allocations: 141.7 kB / 3.393 GB, free: 14.66 MB / 2.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.01283/6.915, allocations: 8.573 MB / 3.401 GB, free: 6.078 MB / 2.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.002934/6.918, allocations: 1.452 MB / 3.402 GB, free: 4.641 MB / 2.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003367/6.922, allocations: 1.491 MB / 3.404 GB, free: 3.141 MB / 2.123 GB Notification: Performance of setup shared object (initialization): time 9.963e-05/6.922, allocations: 305.1 kB / 3.404 GB, free: 2.84 MB / 2.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003699/6.925, allocations: 2.086 MB / 3.406 GB, free: 0.75 MB / 2.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007231/6.933, allocations: 5.288 MB / 3.411 GB, free: 10.16 MB / 2.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00972/6.942, allocations: 7.139 MB / 3.418 GB, free: 2.285 MB / 2.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-05/6.943, allocations: 20 kB / 3.418 GB, free: 2.266 MB / 2.139 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02198/6.965, allocations: 8.357 MB / 3.427 GB, free: 10.43 MB / 2.154 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/6.965, allocations: 43.94 kB / 3.427 GB, free: 10.39 MB / 2.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001707/6.965, allocations: 80 kB / 3.427 GB, free: 10.31 MB / 2.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001772/6.965, allocations: 124.1 kB / 3.427 GB, free: 10.19 MB / 2.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005812/6.971, allocations: 1.458 MB / 3.428 GB, free: 8.84 MB / 2.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002289/6.971, allocations: 169.4 kB / 3.428 GB, free: 8.707 MB / 2.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01534/6.987, allocations: 1.318 MB / 3.43 GB, free: 7.379 MB / 2.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002449/6.989, allocations: 395.9 kB / 3.43 GB, free: 6.992 MB / 2.154 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.01378/7.003, allocations: 3.574 MB / 3.434 GB, free: 3.523 MB / 2.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009419/7.012, allocations: 1.659 MB / 3.435 GB, free: 1.844 MB / 2.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02481/7.037, allocations: 7.545 MB / 3.443 GB, free: 10.46 MB / 2.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002657/7.038, allocations: 83.94 kB / 3.443 GB, free: 10.38 MB / 2.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.383e-05/7.038, allocations: 8 kB / 3.443 GB, free: 10.38 MB / 2.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007111/7.045, allocations: 3.847 MB / 3.446 GB, free: 6.23 MB / 2.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0636/7.108, allocations: 28.77 MB / 3.474 GB, free: 9.336 MB / 2.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.092e-05/7.108, allocations: 35.41 kB / 3.475 GB, free: 9.305 MB / 2.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003141/7.112, allocations: 0.776 MB / 3.475 GB, free: 8.578 MB / 2.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.911e-05/7.112, allocations: 48 kB / 3.475 GB, free: 8.531 MB / 2.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004627/7.112, allocations: 155.9 kB / 3.475 GB, free: 8.379 MB / 2.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.237e-05/7.112, allocations: 67.52 kB / 3.476 GB, free: 8.324 MB / 2.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.043e-05/7.112, allocations: 49.12 kB / 3.476 GB, free: 8.289 MB / 2.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02042/7.133, allocations: 11.97 MB / 3.487 GB, free: 11.77 MB / 2.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01092/7.144, allocations: 2.837 MB / 3.49 GB, free: 8.891 MB / 2.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006901/7.151, allocations: 155.7 kB / 3.49 GB, free: 8.738 MB / 2.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01201/7.163, allocations: 262.8 kB / 3.49 GB, free: 8.484 MB / 2.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001466/7.164, allocations: 399.2 kB / 3.491 GB, free: 8.117 MB / 2.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001667/7.166, allocations: 259.8 kB / 3.491 GB, free: 7.863 MB / 2.217 GB Notification: Performance of sorting global known variables: time 0.03287/7.199, allocations: 11.85 MB / 3.503 GB, free: 12.11 MB / 2.232 GB Notification: Performance of sort global known variables: time 4.91e-07/7.199, allocations: 0 / 3.503 GB, free: 12.11 MB / 2.232 GB Notification: Performance of remove unused functions: time 0.02489/7.224, allocations: 5.359 MB / 3.508 GB, free: 6.746 MB / 2.232 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.01445/7.238, allocations: 4.419 MB / 3.512 GB, free: 2.758 MB / 2.232 GB Notification: Performance of simCode: created initialization part: time 0.0118/7.25, allocations: 5.676 MB / 3.518 GB, free: 13.41 MB / 2.248 GB Notification: Performance of simCode: created event and clocks part: time 4.326e-05/7.25, allocations: 11.91 kB / 3.518 GB, free: 13.39 MB / 2.248 GB Notification: Performance of simCode: created simulation system equations: time 0.004846/7.255, allocations: 2.576 MB / 3.52 GB, free: 10.98 MB / 2.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05914/7.314, allocations: 10.01 MB / 3.53 GB, free: 1.266 MB / 2.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06108/7.375, allocations: 28.08 MB / 3.557 GB, free: 4.828 MB / 2.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01851/7.394, allocations: 7.509 MB / 3.565 GB, free: 13.27 MB / 2.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00427/7.398, allocations: 1.119 MB / 3.566 GB, free: 12.16 MB / 2.295 GB Notification: Performance of SimCode: time 1.483e-06/7.398, allocations: 4 kB / 3.566 GB, free: 12.15 MB / 2.295 GB Notification: Performance of Templates: time 1.971/9.369, allocations: 319.8 MB / 3.878 GB, free: 1.308 GB / 2.498 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=480 -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