Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 104.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.6/2.6, allocations: 476.7 MB / 0.7611 GB, free: 15.75 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 67.91 kB / 1.104 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9694/0.9713, allocations: 168.7 MB / 1.269 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.088/4.059, allocations: 1.38 GB / 2.648 GB, free: 107.4 MB / 1.779 GB Notification: Performance of NFInst.instExpressions: time 0.3363/4.395, allocations: 335.5 MB / 2.976 GB, free: 42.73 MB / 1.779 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0525/4.448, allocations: 1.219 MB / 2.977 GB, free: 41.97 MB / 1.779 GB Notification: Performance of NFTyping.typeComponents: time 0.03699/4.485, allocations: 13.67 MB / 2.991 GB, free: 29.33 MB / 1.779 GB Notification: Performance of NFTyping.typeBindings: time 0.09067/4.576, allocations: 33.92 MB / 3.024 GB, free: 15.93 MB / 1.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.05415/4.63, allocations: 19.87 MB / 3.043 GB, free: 13.14 MB / 1.811 GB Notification: Performance of NFFlatten.flatten: time 0.08763/4.717, allocations: 57.85 MB / 3.1 GB, free: 3.145 MB / 1.857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04896/4.766, allocations: 18.05 MB / 3.117 GB, free: 0.9297 MB / 1.873 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06279/4.829, allocations: 25.67 MB / 3.142 GB, free: 7.207 MB / 1.904 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03696/4.866, allocations: 18.55 MB / 3.16 GB, free: 4.559 MB / 1.92 GB Notification: Performance of NFPackage.collectConstants: time 0.009518/4.876, allocations: 2.129 MB / 3.163 GB, free: 2.43 MB / 1.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04951/4.925, allocations: 18.3 MB / 3.18 GB, free: 104 kB / 1.936 GB Notification: Performance of NFScalarize.scalarize: time 0.01016/4.935, allocations: 5.102 MB / 3.185 GB, free: 10.98 MB / 1.951 GB Notification: Performance of NFVerifyModel.verify: time 0.02575/4.961, allocations: 11.17 MB / 3.196 GB, free: 15.75 MB / 1.967 GB Notification: Performance of NFConvertDAE.convert: time 0.08215/5.043, allocations: 41.08 MB / 3.236 GB, free: 6.539 MB / 1.998 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/5.043, allocations: 0 / 3.236 GB, free: 6.539 MB / 1.998 GB Notification: Performance of FrontEnd: time 1.923e-06/5.043, allocations: 0 / 3.236 GB, free: 6.539 MB / 1.998 GB Notification: Performance of Transformations before backend: time 0.001138/5.044, allocations: 7.969 kB / 3.236 GB, free: 6.535 MB / 1.998 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.05395/5.098, allocations: 21.57 MB / 3.257 GB, free: 0.6914 MB / 2.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/5.098, allocations: 8.031 kB / 3.257 GB, free: 0.6836 MB / 2.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005564/5.104, allocations: 1.642 MB / 3.259 GB, free: 15.03 MB / 2.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009751/5.114, allocations: 2.354 MB / 3.261 GB, free: 12.66 MB / 2.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04326/5.157, allocations: 19.03 MB / 3.28 GB, free: 9.527 MB / 2.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001162/5.158, allocations: 0.9778 MB / 3.281 GB, free: 8.547 MB / 2.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00405/5.162, allocations: 1.285 MB / 3.282 GB, free: 7.262 MB / 2.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04427/5.206, allocations: 14.61 MB / 3.296 GB, free: 7.867 MB / 2.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006349/5.207, allocations: 43.62 kB / 3.296 GB, free: 7.824 MB / 2.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00371/5.211, allocations: 0.539 MB / 3.297 GB, free: 7.285 MB / 2.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004231/5.211, allocations: 343.9 kB / 3.297 GB, free: 6.949 MB / 2.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02413/5.235, allocations: 10.1 MB / 3.307 GB, free: 12.85 MB / 2.076 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.7255/5.961, allocations: 76.66 MB / 3.382 GB, free: 0.9523 GB / 2.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007421/5.968, allocations: 4.356 MB / 3.386 GB, free: 0.9503 GB / 2.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003502/5.972, allocations: 2.303 MB / 3.389 GB, free: 0.9493 GB / 2.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0795/6.051, allocations: 51.68 MB / 3.439 GB, free: 0.9119 GB / 2.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/6.051, allocations: 114.3 kB / 3.439 GB, free: 0.9118 GB / 2.076 GB Notification: Performance of pre-optimization done (n=412): time 6.943e-06/6.051, allocations: 0 / 3.439 GB, free: 0.9118 GB / 2.076 GB Notification: Performance of matching and sorting (n=412): time 0.01714/6.068, allocations: 7.083 MB / 3.446 GB, free: 0.9089 GB / 2.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000201/6.069, allocations: 0.7881 MB / 3.447 GB, free: 0.9081 GB / 2.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03219/6.101, allocations: 16.68 MB / 3.463 GB, free: 0.9003 GB / 2.076 GB Notification: Performance of collectPreVariables (initialization): time 0.00127/6.102, allocations: 146.9 kB / 3.463 GB, free: 0.9002 GB / 2.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.007289/6.109, allocations: 8.69 MB / 3.472 GB, free: 0.8932 GB / 2.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.001969/6.111, allocations: 1.522 MB / 3.473 GB, free: 0.892 GB / 2.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002343/6.114, allocations: 1.495 MB / 3.475 GB, free: 0.8912 GB / 2.076 GB Notification: Performance of setup shared object (initialization): time 4.98e-05/6.114, allocations: 313 kB / 3.475 GB, free: 0.8909 GB / 2.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002769/6.117, allocations: 2.078 MB / 3.477 GB, free: 0.8899 GB / 2.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004611/6.121, allocations: 5.29 MB / 3.482 GB, free: 0.8849 GB / 2.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006905/6.128, allocations: 7.137 MB / 3.489 GB, free: 0.8794 GB / 2.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.244e-05/6.128, allocations: 23.81 kB / 3.489 GB, free: 0.8794 GB / 2.076 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01521/6.143, allocations: 8.438 MB / 3.497 GB, free: 0.8753 GB / 2.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.497e-05/6.143, allocations: 39.44 kB / 3.497 GB, free: 0.8753 GB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.66e-05/6.143, allocations: 83 kB / 3.498 GB, free: 0.8753 GB / 2.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001079/6.144, allocations: 126.1 kB / 3.498 GB, free: 0.8753 GB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004064/6.148, allocations: 1.452 MB / 3.499 GB, free: 0.875 GB / 2.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001085/6.148, allocations: 174 kB / 3.499 GB, free: 0.8749 GB / 2.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01074/6.158, allocations: 1.352 MB / 3.501 GB, free: 0.874 GB / 2.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001042/6.159, allocations: 400.4 kB / 3.501 GB, free: 0.8739 GB / 2.076 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.007343/6.167, allocations: 3.573 MB / 3.504 GB, free: 0.8717 GB / 2.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005057/6.172, allocations: 1.74 MB / 3.506 GB, free: 0.8707 GB / 2.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01418/6.186, allocations: 7.562 MB / 3.513 GB, free: 0.8668 GB / 2.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001461/6.186, allocations: 87.12 kB / 3.514 GB, free: 0.8667 GB / 2.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.162e-05/6.186, allocations: 7.906 kB / 3.514 GB, free: 0.8667 GB / 2.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003555/6.19, allocations: 3.847 MB / 3.517 GB, free: 0.8638 GB / 2.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04679/6.237, allocations: 28.8 MB / 3.545 GB, free: 0.8448 GB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.992e-05/6.237, allocations: 33.09 kB / 3.545 GB, free: 0.8448 GB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002449/6.239, allocations: 0.7703 MB / 3.546 GB, free: 0.8447 GB / 2.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.864e-05/6.239, allocations: 49.69 kB / 3.546 GB, free: 0.8447 GB / 2.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002665/6.239, allocations: 159.1 kB / 3.546 GB, free: 0.8446 GB / 2.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-05/6.239, allocations: 64.23 kB / 3.547 GB, free: 0.8446 GB / 2.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.622e-05/6.239, allocations: 50.59 kB / 3.547 GB, free: 0.8446 GB / 2.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/6.253, allocations: 12.05 MB / 3.558 GB, free: 0.8344 GB / 2.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007111/6.26, allocations: 2.932 MB / 3.561 GB, free: 0.8315 GB / 2.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004185/6.264, allocations: 155.7 kB / 3.561 GB, free: 0.8313 GB / 2.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008934/6.273, allocations: 270.8 kB / 3.562 GB, free: 0.8311 GB / 2.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007548/6.273, allocations: 402.7 kB / 3.562 GB, free: 0.8307 GB / 2.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005919/6.274, allocations: 259.8 kB / 3.562 GB, free: 0.8304 GB / 2.076 GB Notification: Performance of sorting global known variables: time 0.02122/6.295, allocations: 11.85 MB / 3.574 GB, free: 0.819 GB / 2.076 GB Notification: Performance of sort global known variables: time 2.8e-07/6.295, allocations: 0 / 3.574 GB, free: 0.819 GB / 2.076 GB Notification: Performance of remove unused functions: time 0.01886/6.314, allocations: 5.403 MB / 3.579 GB, free: 0.8137 GB / 2.076 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.0233/6.337, allocations: 16.9 MB / 3.596 GB, free: 0.797 GB / 2.076 GB Notification: Performance of simCode: created initialization part: time 0.008489/6.346, allocations: 5.472 MB / 3.601 GB, free: 0.7917 GB / 2.076 GB Notification: Performance of simCode: created event and clocks part: time 3.899e-05/6.346, allocations: 11.38 kB / 3.601 GB, free: 0.7916 GB / 2.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003482/6.349, allocations: 2.42 MB / 3.603 GB, free: 0.7893 GB / 2.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04711/6.397, allocations: 10.01 MB / 3.613 GB, free: 0.78 GB / 2.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1762/6.573, allocations: 118.7 MB / 3.729 GB, free: 0.6596 GB / 2.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007117/6.58, allocations: 7.783 MB / 3.737 GB, free: 0.652 GB / 2.076 GB Notification: Performance of simCode: alias equations: time 0.01123/6.591, allocations: 3.247 MB / 3.74 GB, free: 0.649 GB / 2.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008657/6.6, allocations: 8.06 MB / 3.748 GB, free: 0.6411 GB / 2.076 GB Notification: Performance of SimCode: time 1.303e-06/6.6, allocations: 0 / 3.748 GB, free: 0.6411 GB / 2.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5819/7.182, allocations: 0.4964 GB / 4.244 GB, free: 150.2 MB / 2.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 66.67/73.85, allocations: 23.3 kB / 4.244 GB, free: 150.2 MB / 2.076 GB " [Timeout remaining time 226] (rm -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 83.46546441037208]