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.001466/0.001466, allocations: 113.5 kB / 16.42 MB, free: 6.449 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.001413/0.001413, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.634/2.634, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.00159, allocations: 59.91 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.016, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.025/4.041, allocations: 1.369 GB / 2.578 GB, free: 72.34 MB / 1.639 GB Notification: Performance of NFInst.instExpressions: time 0.4395/4.481, allocations: 333.9 MB / 2.904 GB, free: 11.77 MB / 1.904 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05265/4.534, allocations: 1.223 MB / 2.905 GB, free: 10.54 MB / 1.904 GB Notification: Performance of NFTyping.typeComponents: time 1.24/5.773, allocations: 13.25 MB / 2.918 GB, free: 14.89 MB / 1.904 GB Notification: Performance of NFTyping.typeBindings: time 0.08706/5.86, allocations: 32.23 MB / 2.95 GB, free: 14.74 MB / 1.904 GB Notification: Performance of NFTyping.typeClassSections: time 0.04684/5.907, allocations: 19.81 MB / 2.969 GB, free: 14.58 MB / 1.904 GB Notification: Performance of NFFlatten.flatten: time 0.08643/5.994, allocations: 58.21 MB / 3.026 GB, free: 14.3 MB / 1.904 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05576/6.049, allocations: 23.37 MB / 3.049 GB, free: 27.04 MB / 1.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06952/6.119, allocations: 25.52 MB / 3.073 GB, free: 26.38 MB / 1.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04098/6.16, allocations: 17.76 MB / 3.091 GB, free: 22.72 MB / 1.92 GB Notification: Performance of NFPackage.collectConstants: time 0.01307/6.173, allocations: 2.131 MB / 3.093 GB, free: 22.72 MB / 1.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05177/6.225, allocations: 17.97 MB / 3.11 GB, free: 22.7 MB / 1.92 GB Notification: Performance of NFScalarize.scalarize: time 0.01224/6.237, allocations: 4.885 MB / 3.115 GB, free: 21.96 MB / 1.92 GB Notification: Performance of NFVerifyModel.verify: time 0.03405/6.271, allocations: 11.17 MB / 3.126 GB, free: 19.01 MB / 1.92 GB Notification: Performance of NFConvertDAE.convert: time 0.07624/6.347, allocations: 40.96 MB / 3.166 GB, free: 9.219 MB / 1.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/6.348, allocations: 0 / 3.166 GB, free: 9.219 MB / 1.92 GB Notification: Performance of FrontEnd: time 2.334e-06/6.348, allocations: 4 kB / 3.166 GB, free: 9.215 MB / 1.92 GB Notification: Performance of Transformations before backend: time 0.001229/6.349, allocations: 0 / 3.166 GB, free: 9.215 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.05936/6.408, allocations: 20.92 MB / 3.187 GB, free: 14.46 MB / 1.936 GB Notification: Performance of prepare preOptimizeDAE: time 7.043e-05/6.408, allocations: 8.938 kB / 3.187 GB, free: 14.46 MB / 1.936 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/6.42, allocations: 2.253 MB / 3.189 GB, free: 13.36 MB / 1.936 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.045/6.465, allocations: 18.89 MB / 3.207 GB, free: 6.324 MB / 1.936 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001246/6.466, allocations: 0.9767 MB / 3.208 GB, free: 5.828 MB / 1.936 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004904/6.471, allocations: 1.29 MB / 3.209 GB, free: 4.953 MB / 1.936 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04405/6.515, allocations: 14.61 MB / 3.224 GB, free: 10.55 MB / 1.951 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006611/6.516, allocations: 43.44 kB / 3.224 GB, free: 10.54 MB / 1.951 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004197/6.52, allocations: 0.533 MB / 3.224 GB, free: 10.4 MB / 1.951 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004728/6.521, allocations: 344.5 kB / 3.225 GB, free: 10.07 MB / 1.951 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02564/6.546, allocations: 10.1 MB / 3.234 GB, free: 3.922 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.1202/6.667, allocations: 76.49 MB / 3.309 GB, free: 11.68 MB / 2.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00768/6.674, allocations: 4.568 MB / 3.314 GB, free: 6.941 MB / 2.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004057/6.678, allocations: 2.433 MB / 3.316 GB, free: 4.445 MB / 2.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09705/6.776, allocations: 51.67 MB / 3.366 GB, free: 9.465 MB / 2.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/6.776, allocations: 127.3 kB / 3.367 GB, free: 9.348 MB / 2.092 GB Notification: Performance of pre-optimization done (n=412): time 2.283e-05/6.776, allocations: 0 / 3.367 GB, free: 9.348 MB / 2.092 GB Notification: Performance of matching and sorting (n=412): time 0.0214/6.797, allocations: 6.997 MB / 3.373 GB, free: 2.426 MB / 2.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004647/6.798, allocations: 0.7794 MB / 3.374 GB, free: 1.473 MB / 2.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04974/6.848, allocations: 16.69 MB / 3.39 GB, free: 0.8828 MB / 2.107 GB Notification: Performance of collectPreVariables (initialization): time 0.001595/6.849, allocations: 141.6 kB / 3.391 GB, free: 0.7383 MB / 2.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.01423/6.863, allocations: 8.565 MB / 3.399 GB, free: 8.16 MB / 2.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.003106/6.867, allocations: 1.466 MB / 3.4 GB, free: 6.707 MB / 2.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00707/6.874, allocations: 1.483 MB / 3.402 GB, free: 5.215 MB / 2.123 GB Notification: Performance of setup shared object (initialization): time 0.000121/6.874, allocations: 305.1 kB / 3.402 GB, free: 4.914 MB / 2.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00506/6.879, allocations: 2.081 MB / 3.404 GB, free: 2.832 MB / 2.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00895/6.888, allocations: 5.289 MB / 3.409 GB, free: 12.24 MB / 2.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01082/6.899, allocations: 7.127 MB / 3.416 GB, free: 4.371 MB / 2.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001075/6.899, allocations: 27.19 kB / 3.416 GB, free: 4.348 MB / 2.139 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02235/6.921, allocations: 8.363 MB / 3.424 GB, free: 12.5 MB / 2.154 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001546/6.921, allocations: 43.94 kB / 3.424 GB, free: 12.46 MB / 2.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001723/6.922, allocations: 80 kB / 3.425 GB, free: 12.38 MB / 2.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001819/6.922, allocations: 120 kB / 3.425 GB, free: 12.26 MB / 2.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00604/6.928, allocations: 1.459 MB / 3.426 GB, free: 10.91 MB / 2.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002571/6.928, allocations: 173.5 kB / 3.426 GB, free: 10.78 MB / 2.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01439/6.943, allocations: 1.31 MB / 3.428 GB, free: 9.461 MB / 2.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002008/6.945, allocations: 399.9 kB / 3.428 GB, free: 9.07 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.01234/6.957, allocations: 3.564 MB / 3.431 GB, free: 5.605 MB / 2.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006802/6.964, allocations: 1.667 MB / 3.433 GB, free: 3.918 MB / 2.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01919/6.983, allocations: 7.533 MB / 3.44 GB, free: 12.56 MB / 2.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00618/6.989, allocations: 3.857 MB / 3.444 GB, free: 8.406 MB / 2.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.812e-05/6.989, allocations: 4 kB / 3.444 GB, free: 8.402 MB / 2.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01021/7, allocations: 2.732 MB / 3.447 GB, free: 5.629 MB / 2.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007345/7.007, allocations: 127.5 kB / 3.447 GB, free: 5.504 MB / 2.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01323/7.02, allocations: 219.3 kB / 3.447 GB, free: 5.293 MB / 2.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001377/7.022, allocations: 291.3 kB / 3.447 GB, free: 5.016 MB / 2.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01463/7.036, allocations: 7.636 MB / 3.455 GB, free: 13.52 MB / 2.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02424/7.061, allocations: 11.79 MB / 3.466 GB, free: 1.594 MB / 2.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004372/7.065, allocations: 2.43 MB / 3.469 GB, free: 15.19 MB / 2.201 GB Notification: Performance of sorting global known variables: time 0.03045/7.096, allocations: 11.51 MB / 3.48 GB, free: 3.77 MB / 2.201 GB Notification: Performance of Backend: time 8.51e-07/7.096, allocations: 4 kB / 3.48 GB, free: 3.766 MB / 2.201 GB Notification: Performance of simCode: created initialization part: time 0.03727/7.133, allocations: 8.731 MB / 3.489 GB, free: 11.78 MB / 2.217 GB Notification: Performance of SimCode: time 0.1002/7.233, allocations: 35.05 MB / 3.523 GB, free: 9.02 MB / 2.248 GB Notification: Performance of Templates: time 1.215/8.448, allocations: 353 MB / 3.867 GB, free: 1.408 GB / 2.482 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