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: "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005739/0.005739, allocations: 102 kB / 15.73 MB, free: 6.035 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.00117/0.00117, allocations: 196.2 kB / 16.68 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.26/1.26, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.375/2.375, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 71.89 kB / 1.054 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7552/0.7566, allocations: 157.4 MB / 1.207 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.7/3.456, allocations: 1.369 GB / 2.577 GB, free: 72.28 MB / 1.639 GB Notification: Performance of NFInst.instExpressions: time 0.3741/3.83, allocations: 333.9 MB / 2.903 GB, free: 11.76 MB / 1.904 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04586/3.876, allocations: 1.227 MB / 2.904 GB, free: 10.53 MB / 1.904 GB Notification: Performance of NFTyping.typeComponents: time 1.209/5.086, allocations: 13.5 MB / 2.917 GB, free: 14.68 MB / 1.904 GB Notification: Performance of NFTyping.typeBindings: time 0.09285/5.179, allocations: 33.9 MB / 2.95 GB, free: 14.52 MB / 1.904 GB Notification: Performance of NFTyping.typeClassSections: time 0.04846/5.227, allocations: 19.84 MB / 2.97 GB, free: 14.36 MB / 1.904 GB Notification: Performance of NFFlatten.flatten: time 0.08829/5.315, allocations: 58.31 MB / 3.027 GB, free: 14.09 MB / 1.904 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04977/5.365, allocations: 23.36 MB / 3.049 GB, free: 26.82 MB / 1.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06433/5.43, allocations: 25.67 MB / 3.074 GB, free: 26.12 MB / 1.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0397/5.469, allocations: 17.76 MB / 3.092 GB, free: 22.47 MB / 1.92 GB Notification: Performance of NFPackage.collectConstants: time 0.01074/5.48, allocations: 2.131 MB / 3.094 GB, free: 22.47 MB / 1.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05129/5.532, allocations: 17.98 MB / 3.111 GB, free: 22.45 MB / 1.92 GB Notification: Performance of NFScalarize.scalarize: time 0.01146/5.543, allocations: 4.885 MB / 3.116 GB, free: 21.71 MB / 1.92 GB Notification: Performance of NFVerifyModel.verify: time 0.03035/5.573, allocations: 11.17 MB / 3.127 GB, free: 18.75 MB / 1.92 GB Notification: Performance of NFConvertDAE.convert: time 0.08014/5.654, allocations: 40.96 MB / 3.167 GB, free: 9.004 MB / 1.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/5.654, allocations: 0 / 3.167 GB, free: 9.004 MB / 1.92 GB Notification: Performance of FrontEnd: time 2.345e-06/5.654, allocations: 0 / 3.167 GB, free: 9.004 MB / 1.92 GB Notification: Performance of Transformations before backend: time 0.001317/5.655, allocations: 0 / 3.167 GB, free: 9.004 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.06646/5.721, allocations: 20.91 MB / 3.188 GB, free: 14.25 MB / 1.936 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/5.722, allocations: 11.69 kB / 3.188 GB, free: 14.25 MB / 1.936 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007313/5.729, allocations: 1.635 MB / 3.189 GB, free: 13.84 MB / 1.936 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/5.741, allocations: 2.25 MB / 3.191 GB, free: 12.74 MB / 1.936 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04116/5.782, allocations: 18.88 MB / 3.21 GB, free: 4.477 MB / 1.936 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001157/5.783, allocations: 0.983 MB / 3.211 GB, free: 3.906 MB / 1.936 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005326/5.788, allocations: 1.297 MB / 3.212 GB, free: 3.027 MB / 1.936 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04191/5.83, allocations: 14.61 MB / 3.226 GB, free: 8.633 MB / 1.951 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006428/5.831, allocations: 46.06 kB / 3.226 GB, free: 8.613 MB / 1.951 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003909/5.835, allocations: 0.5316 MB / 3.227 GB, free: 8.48 MB / 1.951 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000403/5.835, allocations: 345.7 kB / 3.227 GB, free: 8.152 MB / 1.951 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02176/5.857, allocations: 10.11 MB / 3.237 GB, free: 1.988 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.09568/5.953, allocations: 76.48 MB / 3.312 GB, free: 7.98 MB / 2.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007241/5.96, allocations: 4.554 MB / 3.316 GB, free: 3.25 MB / 2.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003552/5.964, allocations: 2.445 MB / 3.319 GB, free: 0.7422 MB / 2.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07639/6.04, allocations: 51.67 MB / 3.369 GB, free: 5.766 MB / 2.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/6.04, allocations: 118.5 kB / 3.369 GB, free: 5.652 MB / 2.092 GB Notification: Performance of pre-optimization done (n=412): time 6.352e-06/6.04, allocations: 0 / 3.369 GB, free: 5.652 MB / 2.092 GB Notification: Performance of matching and sorting (n=412): time 0.01721/6.058, allocations: 6.99 MB / 3.376 GB, free: 14.74 MB / 2.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003099/6.058, allocations: 0.797 MB / 3.377 GB, free: 13.77 MB / 2.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03431/6.092, allocations: 16.68 MB / 3.393 GB, free: 13.18 MB / 2.123 GB Notification: Performance of collectPreVariables (initialization): time 0.001414/6.094, allocations: 137.7 kB / 3.393 GB, free: 13.04 MB / 2.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.01115/6.105, allocations: 8.571 MB / 3.402 GB, free: 4.457 MB / 2.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.002958/6.108, allocations: 1.463 MB / 3.403 GB, free: 3.008 MB / 2.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003358/6.111, allocations: 1.481 MB / 3.404 GB, free: 1.52 MB / 2.123 GB Notification: Performance of setup shared object (initialization): time 0.0001008/6.111, allocations: 305.1 kB / 3.405 GB, free: 1.219 MB / 2.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003689/6.115, allocations: 2.081 MB / 3.407 GB, free: 15.14 MB / 2.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007487/6.123, allocations: 5.296 MB / 3.412 GB, free: 8.539 MB / 2.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009907/6.133, allocations: 7.128 MB / 3.419 GB, free: 0.6719 MB / 2.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.994e-05/6.133, allocations: 24 kB / 3.419 GB, free: 0.6484 MB / 2.139 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01965/6.152, allocations: 8.365 MB / 3.427 GB, free: 8.805 MB / 2.154 GB Notification: Performance of prepare postOptimizeDAE: time 7.09e-05/6.152, allocations: 43.98 kB / 3.427 GB, free: 8.762 MB / 2.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.846e-05/6.153, allocations: 80 kB / 3.427 GB, free: 8.684 MB / 2.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001256/6.153, allocations: 121 kB / 3.427 GB, free: 8.566 MB / 2.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004806/6.157, allocations: 1.458 MB / 3.429 GB, free: 7.219 MB / 2.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001438/6.158, allocations: 170 kB / 3.429 GB, free: 7.086 MB / 2.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01125/6.169, allocations: 1.318 MB / 3.43 GB, free: 5.762 MB / 2.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001596/6.171, allocations: 395.9 kB / 3.431 GB, free: 5.375 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.008211/6.179, allocations: 3.565 MB / 3.434 GB, free: 1.91 MB / 2.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005522/6.184, allocations: 1.671 MB / 3.436 GB, free: 224 kB / 2.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01668/6.201, allocations: 7.542 MB / 3.443 GB, free: 8.855 MB / 2.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002067/6.201, allocations: 82.94 kB / 3.443 GB, free: 8.777 MB / 2.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.484e-05/6.201, allocations: 8 kB / 3.443 GB, free: 8.77 MB / 2.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004526/6.206, allocations: 3.852 MB / 3.447 GB, free: 4.617 MB / 2.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05115/6.257, allocations: 28.76 MB / 3.475 GB, free: 7.73 MB / 2.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.136e-05/6.257, allocations: 32 kB / 3.475 GB, free: 7.699 MB / 2.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002658/6.26, allocations: 0.771 MB / 3.476 GB, free: 6.977 MB / 2.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-05/6.26, allocations: 48.5 kB / 3.476 GB, free: 6.93 MB / 2.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003409/6.26, allocations: 163.9 kB / 3.476 GB, free: 6.77 MB / 2.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.011e-05/6.26, allocations: 78.59 kB / 3.476 GB, free: 6.707 MB / 2.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.503e-05/6.26, allocations: 49.12 kB / 3.476 GB, free: 6.672 MB / 2.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0177/6.278, allocations: 11.96 MB / 3.488 GB, free: 10.16 MB / 2.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00773/6.286, allocations: 2.84 MB / 3.491 GB, free: 7.281 MB / 2.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004435/6.29, allocations: 155.7 kB / 3.491 GB, free: 7.129 MB / 2.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008696/6.299, allocations: 275 kB / 3.491 GB, free: 6.863 MB / 2.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006931/6.3, allocations: 395.3 kB / 3.491 GB, free: 6.504 MB / 2.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005958/6.3, allocations: 259.8 kB / 3.492 GB, free: 6.25 MB / 2.217 GB Notification: Performance of sorting global known variables: time 0.02564/6.326, allocations: 11.85 MB / 3.503 GB, free: 10.5 MB / 2.232 GB Notification: Performance of sort global known variables: time 6.01e-07/6.326, allocations: 0 / 3.503 GB, free: 10.5 MB / 2.232 GB Notification: Performance of remove unused functions: time 0.0202/6.346, allocations: 5.363 MB / 3.508 GB, free: 5.129 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.029/6.375, allocations: 16.78 MB / 3.525 GB, free: 4.227 MB / 2.248 GB Notification: Performance of simCode: created initialization part: time 0.0105/6.386, allocations: 5.677 MB / 3.53 GB, free: 14.88 MB / 2.264 GB Notification: Performance of simCode: created event and clocks part: time 3.405e-05/6.386, allocations: 8 kB / 3.53 GB, free: 14.87 MB / 2.264 GB Notification: Performance of simCode: created simulation system equations: time 0.004068/6.39, allocations: 2.579 MB / 3.533 GB, free: 12.45 MB / 2.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04763/6.437, allocations: 10.01 MB / 3.543 GB, free: 2.738 MB / 2.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2183/6.656, allocations: 118 MB / 3.658 GB, free: 9.098 MB / 2.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01052/6.666, allocations: 7.783 MB / 3.665 GB, free: 1.27 MB / 2.389 GB Notification: Performance of simCode: alias equations: time 0.01349/6.68, allocations: 3.243 MB / 3.669 GB, free: 14.05 MB / 2.404 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01281/6.693, allocations: 8.063 MB / 3.676 GB, free: 5.988 MB / 2.404 GB Notification: Performance of SimCode: time 1.112e-06/6.693, allocations: 0 / 3.676 GB, free: 5.988 MB / 2.404 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.755/8.447, allocations: 0.4945 GB / 4.171 GB, free: 1.128 GB / 2.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 69.37/77.82, allocations: 3.781 kB / 4.171 GB, free: 1.128 GB / 2.498 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > 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