Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.007349/0.007349, allocations: 99.86 kB / 15.73 MB, free: 6.055 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.001808/0.001808, allocations: 192.7 kB / 16.67 MB, free: 5.969 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.429/2.429, allocations: 437 MB / 0.7105 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001335, allocations: 59.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8268/0.8282, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.942/3.77, allocations: 1.37 GB / 2.536 GB, free: 85.19 MB / 1.607 GB Notification: Performance of NFInst.instExpressions: time 0.3947/4.164, allocations: 334.1 MB / 2.863 GB, free: 15.75 MB / 1.857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04845/4.213, allocations: 1.223 MB / 2.864 GB, free: 14.52 MB / 1.857 GB Notification: Performance of NFTyping.typeComponents: time 0.03896/4.252, allocations: 13.49 MB / 2.877 GB, free: 0.9453 MB / 1.857 GB Notification: Performance of NFTyping.typeBindings: time 1.329/5.581, allocations: 33.89 MB / 2.91 GB, free: 13.45 MB / 1.857 GB Notification: Performance of NFTyping.typeClassSections: time 0.05346/5.635, allocations: 19.84 MB / 2.93 GB, free: 13.11 MB / 1.857 GB Notification: Performance of NFFlatten.flatten: time 0.09569/5.73, allocations: 58.32 MB / 2.986 GB, free: 12.82 MB / 1.857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05371/5.784, allocations: 23.36 MB / 3.009 GB, free: 25.56 MB / 1.873 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06711/5.851, allocations: 25.67 MB / 3.034 GB, free: 24.95 MB / 1.873 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04214/5.893, allocations: 17.75 MB / 3.052 GB, free: 21.3 MB / 1.873 GB Notification: Performance of NFPackage.collectConstants: time 0.01143/5.905, allocations: 2.13 MB / 3.054 GB, free: 21.3 MB / 1.873 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05363/5.959, allocations: 17.98 MB / 3.071 GB, free: 21.28 MB / 1.873 GB Notification: Performance of NFScalarize.scalarize: time 0.01231/5.971, allocations: 4.885 MB / 3.076 GB, free: 20.54 MB / 1.873 GB Notification: Performance of NFVerifyModel.verify: time 0.03001/6.001, allocations: 11.17 MB / 3.087 GB, free: 17.58 MB / 1.873 GB Notification: Performance of NFConvertDAE.convert: time 0.08702/6.088, allocations: 42.28 MB / 3.128 GB, free: 7.73 MB / 1.873 GB Notification: Performance of FrontEnd - DAE generated: time 9.198e-06/6.088, allocations: 0 / 3.128 GB, free: 7.73 MB / 1.873 GB Notification: Performance of FrontEnd: time 2.154e-06/6.088, allocations: 3.938 kB / 3.128 GB, free: 7.727 MB / 1.873 GB Notification: Performance of Transformations before backend: time 0.001212/6.089, allocations: 0 / 3.128 GB, free: 7.727 MB / 1.873 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.06444/6.154, allocations: 21.58 MB / 3.149 GB, free: 12.43 MB / 1.889 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/6.154, allocations: 15.7 kB / 3.149 GB, free: 12.42 MB / 1.889 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01219/6.166, allocations: 2.351 MB / 3.152 GB, free: 11.23 MB / 1.889 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04339/6.209, allocations: 19.07 MB / 3.17 GB, free: 2.184 MB / 1.889 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001009/6.211, allocations: 0.9768 MB / 3.171 GB, free: 1.617 MB / 1.889 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004958/6.215, allocations: 1.288 MB / 3.173 GB, free: 0.7422 MB / 1.889 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.043/6.258, allocations: 14.61 MB / 3.187 GB, free: 6.34 MB / 1.904 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007291/6.259, allocations: 43.95 kB / 3.187 GB, free: 6.32 MB / 1.904 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007368/6.267, allocations: 0.5353 MB / 3.187 GB, free: 6.188 MB / 1.904 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006115/6.267, allocations: 353.3 kB / 3.188 GB, free: 5.852 MB / 1.904 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02532/6.293, allocations: 10.09 MB / 3.198 GB, free: 15.7 MB / 1.92 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.1049/6.398, allocations: 76.73 MB / 3.272 GB, free: 5.711 MB / 1.982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007611/6.405, allocations: 4.568 MB / 3.277 GB, free: 0.9688 MB / 1.982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003458/6.409, allocations: 2.441 MB / 3.279 GB, free: 14.47 MB / 1.998 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09162/6.5, allocations: 51.67 MB / 3.33 GB, free: 3.5 MB / 2.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002569/6.501, allocations: 131.7 kB / 3.33 GB, free: 3.379 MB / 2.045 GB Notification: Performance of pre-optimization done (n=412): time 7.314e-06/6.501, allocations: 8 kB / 3.33 GB, free: 3.371 MB / 2.045 GB Notification: Performance of matching and sorting (n=412): time 0.0203/6.521, allocations: 7.06 MB / 3.337 GB, free: 12.38 MB / 2.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004002/6.521, allocations: 0.795 MB / 3.338 GB, free: 11.41 MB / 2.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04456/6.566, allocations: 16.68 MB / 3.354 GB, free: 10.83 MB / 2.076 GB Notification: Performance of collectPreVariables (initialization): time 0.001626/6.568, allocations: 145.7 kB / 3.354 GB, free: 10.68 MB / 2.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.01487/6.583, allocations: 8.686 MB / 3.363 GB, free: 1.996 MB / 2.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.003236/6.586, allocations: 1.532 MB / 3.364 GB, free: 496 kB / 2.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00694/6.593, allocations: 1.496 MB / 3.365 GB, free: 14.98 MB / 2.092 GB Notification: Performance of setup shared object (initialization): time 0.0001297/6.593, allocations: 305.1 kB / 3.366 GB, free: 14.68 MB / 2.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00501/6.598, allocations: 2.086 MB / 3.368 GB, free: 12.59 MB / 2.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008838/6.607, allocations: 5.28 MB / 3.373 GB, free: 6.012 MB / 2.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01052/6.617, allocations: 7.138 MB / 3.38 GB, free: 14.12 MB / 2.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001099/6.618, allocations: 24 kB / 3.38 GB, free: 14.1 MB / 2.107 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02263/6.64, allocations: 8.449 MB / 3.388 GB, free: 6.141 MB / 2.107 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/6.64, allocations: 42.81 kB / 3.388 GB, free: 6.102 MB / 2.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001729/6.641, allocations: 83.94 kB / 3.388 GB, free: 6.02 MB / 2.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001733/6.641, allocations: 120.1 kB / 3.388 GB, free: 5.902 MB / 2.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005608/6.646, allocations: 1.458 MB / 3.39 GB, free: 4.555 MB / 2.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002216/6.647, allocations: 165.7 kB / 3.39 GB, free: 4.426 MB / 2.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01377/6.66, allocations: 1.356 MB / 3.391 GB, free: 3.066 MB / 2.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002183/6.663, allocations: 391.9 kB / 3.392 GB, free: 2.684 MB / 2.107 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.0114/6.674, allocations: 3.564 MB / 3.395 GB, free: 15.21 MB / 2.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006739/6.681, allocations: 1.75 MB / 3.397 GB, free: 13.45 MB / 2.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01835/6.699, allocations: 7.583 MB / 3.404 GB, free: 6.062 MB / 2.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002288/6.699, allocations: 87.94 kB / 3.404 GB, free: 5.977 MB / 2.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.59e-05/6.699, allocations: 8 kB / 3.404 GB, free: 5.969 MB / 2.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005418/6.705, allocations: 3.851 MB / 3.408 GB, free: 1.82 MB / 2.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06711/6.772, allocations: 28.83 MB / 3.436 GB, free: 4.875 MB / 2.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001602/6.772, allocations: 36.03 kB / 3.436 GB, free: 4.84 MB / 2.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003429/6.776, allocations: 0.7708 MB / 3.437 GB, free: 4.121 MB / 2.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001267/6.776, allocations: 52.56 kB / 3.437 GB, free: 4.07 MB / 2.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008792/6.777, allocations: 155.9 kB / 3.437 GB, free: 3.918 MB / 2.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.794e-05/6.777, allocations: 63.61 kB / 3.437 GB, free: 3.867 MB / 2.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.193e-05/6.777, allocations: 50.81 kB / 3.437 GB, free: 3.832 MB / 2.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02362/6.8, allocations: 12.06 MB / 3.449 GB, free: 7.223 MB / 2.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01119/6.812, allocations: 2.952 MB / 3.452 GB, free: 4.238 MB / 2.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005973/6.818, allocations: 155.7 kB / 3.452 GB, free: 4.086 MB / 2.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0114/6.829, allocations: 258.7 kB / 3.452 GB, free: 3.836 MB / 2.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001451/6.831, allocations: 413.7 kB / 3.453 GB, free: 3.457 MB / 2.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001361/6.832, allocations: 255.9 kB / 3.453 GB, free: 3.207 MB / 2.17 GB Notification: Performance of sorting global known variables: time 0.03349/6.866, allocations: 11.86 MB / 3.465 GB, free: 7.453 MB / 2.186 GB Notification: Performance of sort global known variables: time 7.11e-07/6.866, allocations: 0 / 3.465 GB, free: 7.453 MB / 2.186 GB Notification: Performance of remove unused functions: time 0.02586/6.891, allocations: 5.403 MB / 3.47 GB, free: 2.039 MB / 2.186 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.02201/6.913, allocations: 4.562 MB / 3.474 GB, free: 13.95 MB / 2.201 GB Notification: Performance of simCode: created initialization part: time 0.01465/6.928, allocations: 5.678 MB / 3.48 GB, free: 8.598 MB / 2.201 GB Notification: Performance of simCode: created event and clocks part: time 4.326e-05/6.928, allocations: 11.09 kB / 3.48 GB, free: 8.59 MB / 2.201 GB Notification: Performance of simCode: created simulation system equations: time 0.005552/6.934, allocations: 2.58 MB / 3.482 GB, free: 6.168 MB / 2.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06365/6.998, allocations: 10.01 MB / 3.492 GB, free: 12.45 MB / 2.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07321/7.071, allocations: 28.83 MB / 3.52 GB, free: 15.42 MB / 2.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02146/7.092, allocations: 7.783 MB / 3.528 GB, free: 7.59 MB / 2.248 GB Notification: Performance of simCode: alias equations: time 0.02061/7.113, allocations: 3.259 MB / 3.531 GB, free: 4.422 MB / 2.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005239/7.118, allocations: 1.068 MB / 3.532 GB, free: 3.355 MB / 2.248 GB Notification: Performance of SimCode: time 1.102e-06/7.118, allocations: 0 / 3.532 GB, free: 3.355 MB / 2.248 GB Notification: Performance of Templates: time 1.844/8.962, allocations: 357.6 MB / 3.881 GB, free: 1.294 GB / 2.42 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches