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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000794/0.000794, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008539/0.0008539, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8376/0.8376, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.624/1.624, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.475e-06/2.475e-06, allocations: 0 / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.315e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.508/2.508, allocations: 1.247 GB / 2.198 GB, free: 105.1 MB / 1.589 GB Notification: Performance of NFInst.instExpressions: time 0.294/2.802, allocations: 311.1 MB / 2.502 GB, free: 63.35 MB / 1.589 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04696/2.849, allocations: 1.692 MB / 2.503 GB, free: 63.35 MB / 1.589 GB Notification: Performance of NFTyping.typeComponents: time 0.03507/2.884, allocations: 13.6 MB / 2.517 GB, free: 54.89 MB / 1.589 GB Notification: Performance of NFTyping.typeBindings: time 0.08358/2.967, allocations: 34.9 MB / 2.551 GB, free: 29.45 MB / 1.589 GB Notification: Performance of NFTyping.typeClassSections: time 0.04071/3.008, allocations: 21.12 MB / 2.571 GB, free: 10.59 MB / 1.589 GB Notification: Performance of NFFlatten.flatten: time 0.06844/3.076, allocations: 58.81 MB / 2.629 GB, free: 1.535 MB / 1.635 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03405/3.111, allocations: 16.75 MB / 2.645 GB, free: 1.301 MB / 1.651 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07835/3.189, allocations: 34.07 MB / 2.678 GB, free: 15.17 MB / 1.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02797/3.217, allocations: 16.3 MB / 2.694 GB, free: 14.84 MB / 1.714 GB Notification: Performance of NFPackage.collectConstants: time 0.008583/3.225, allocations: 2.137 MB / 2.696 GB, free: 12.71 MB / 1.714 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0381/3.264, allocations: 15.82 MB / 2.712 GB, free: 12.86 MB / 1.729 GB Notification: Performance of NFScalarize.scalarize: time 0.009423/3.273, allocations: 5.23 MB / 2.717 GB, free: 7.605 MB / 1.729 GB Notification: Performance of NFVerifyModel.verify: time 0.0183/3.291, allocations: 7.312 MB / 2.724 GB, free: 284 kB / 1.729 GB Notification: Performance of NFConvertDAE.convert: time 0.07382/3.365, allocations: 42.39 MB / 2.765 GB, free: 5.77 MB / 1.776 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/3.365, allocations: 4 kB / 2.765 GB, free: 5.766 MB / 1.776 GB Notification: Performance of FrontEnd: time 1.873e-06/3.365, allocations: 0 / 2.765 GB, free: 5.766 MB / 1.776 GB Notification: Performance of Transformations before backend: time 0.001208/3.366, allocations: 0 / 2.765 GB, free: 5.766 MB / 1.776 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.04574/3.412, allocations: 21.33 MB / 2.786 GB, free: 200 kB / 1.792 GB Notification: Performance of prepare preOptimizeDAE: time 8.007e-05/3.412, allocations: 8.031 kB / 2.786 GB, free: 192 kB / 1.792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00523/3.417, allocations: 1.642 MB / 2.788 GB, free: 14.54 MB / 1.807 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009172/3.427, allocations: 2.361 MB / 2.79 GB, free: 12.16 MB / 1.807 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03303/3.46, allocations: 18.95 MB / 2.809 GB, free: 9.062 MB / 1.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007598/3.46, allocations: 0.9739 MB / 2.81 GB, free: 8.086 MB / 1.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003421/3.464, allocations: 1.293 MB / 2.811 GB, free: 6.793 MB / 1.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03399/3.498, allocations: 17.05 MB / 2.828 GB, free: 4.387 MB / 1.839 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003206/3.498, allocations: 47.62 kB / 2.828 GB, free: 4.34 MB / 1.839 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001897/3.5, allocations: 0.5351 MB / 2.828 GB, free: 3.805 MB / 1.839 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002346/3.5, allocations: 347.9 kB / 2.828 GB, free: 3.465 MB / 1.839 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01513/3.515, allocations: 10.08 MB / 2.838 GB, free: 9.418 MB / 1.854 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.5378/4.053, allocations: 59.78 MB / 2.897 GB, free: 0.9106 GB / 1.87 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004594/4.058, allocations: 4.34 MB / 2.901 GB, free: 0.9085 GB / 1.87 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002258/4.06, allocations: 2.298 MB / 2.903 GB, free: 0.9075 GB / 1.87 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04198/4.102, allocations: 22.87 MB / 2.925 GB, free: 0.9064 GB / 1.87 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/4.102, allocations: 126.4 kB / 2.926 GB, free: 0.9063 GB / 1.87 GB Notification: Performance of pre-optimization done (n=412): time 6.633e-06/4.102, allocations: 0 / 2.926 GB, free: 0.9063 GB / 1.87 GB Notification: Performance of matching and sorting (n=412): time 0.01356/4.116, allocations: 7.097 MB / 2.933 GB, free: 0.9042 GB / 1.87 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/4.116, allocations: 0.792 MB / 2.933 GB, free: 0.9033 GB / 1.87 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02848/4.144, allocations: 16.92 MB / 2.95 GB, free: 0.8973 GB / 1.87 GB Notification: Performance of collectPreVariables (initialization): time 0.001037/4.145, allocations: 145 kB / 2.95 GB, free: 0.8972 GB / 1.87 GB Notification: Performance of collectInitialEqns (initialization): time 0.006336/4.152, allocations: 8.707 MB / 2.958 GB, free: 0.8909 GB / 1.87 GB Notification: Performance of collectInitialBindings (initialization): time 0.001552/4.153, allocations: 1.516 MB / 2.96 GB, free: 0.8899 GB / 1.87 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001644/4.155, allocations: 1.481 MB / 2.961 GB, free: 0.8892 GB / 1.87 GB Notification: Performance of setup shared object (initialization): time 3.248e-05/4.155, allocations: 305.1 kB / 2.962 GB, free: 0.8889 GB / 1.87 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002024/4.157, allocations: 2.095 MB / 2.964 GB, free: 0.8881 GB / 1.87 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003972/4.161, allocations: 9.596 MB / 2.973 GB, free: 0.8784 GB / 1.87 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005456/4.166, allocations: 7.14 MB / 2.98 GB, free: 0.8733 GB / 1.87 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.915e-05/4.166, allocations: 27.72 kB / 2.98 GB, free: 0.8733 GB / 1.87 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01263/4.179, allocations: 8.458 MB / 2.988 GB, free: 0.8697 GB / 1.87 GB Notification: Performance of prepare postOptimizeDAE: time 5.292e-05/4.179, allocations: 44.84 kB / 2.988 GB, free: 0.8697 GB / 1.87 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.184e-05/4.179, allocations: 78.12 kB / 2.988 GB, free: 0.8697 GB / 1.87 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001002/4.179, allocations: 119.8 kB / 2.989 GB, free: 0.8697 GB / 1.87 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002575/4.182, allocations: 1.457 MB / 2.99 GB, free: 0.8696 GB / 1.87 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001076/4.182, allocations: 172.5 kB / 2.99 GB, free: 0.8695 GB / 1.87 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007054/4.189, allocations: 1.348 MB / 2.991 GB, free: 0.8687 GB / 1.87 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007877/4.19, allocations: 391.5 kB / 2.992 GB, free: 0.8686 GB / 1.87 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.005291/4.195, allocations: 3.589 MB / 2.995 GB, free: 0.8666 GB / 1.87 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003258/4.198, allocations: 1.758 MB / 2.997 GB, free: 0.8657 GB / 1.87 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008546/4.207, allocations: 7.726 MB / 3.005 GB, free: 0.8627 GB / 1.87 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.498e-05/4.207, allocations: 89.88 kB / 3.005 GB, free: 0.8627 GB / 1.87 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-05/4.207, allocations: 7.344 kB / 3.005 GB, free: 0.8627 GB / 1.87 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002167/4.209, allocations: 3.878 MB / 3.009 GB, free: 0.8601 GB / 1.87 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02998/4.239, allocations: 27.05 MB / 3.035 GB, free: 0.838 GB / 1.87 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.823e-05/4.239, allocations: 32 kB / 3.035 GB, free: 0.838 GB / 1.87 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001339/4.24, allocations: 0.7723 MB / 3.036 GB, free: 0.8372 GB / 1.87 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.69e-05/4.24, allocations: 55.41 kB / 3.036 GB, free: 0.8372 GB / 1.87 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001685/4.241, allocations: 152 kB / 3.036 GB, free: 0.837 GB / 1.87 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.72e-05/4.241, allocations: 71.78 kB / 3.036 GB, free: 0.837 GB / 1.87 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.276e-05/4.241, allocations: 47.75 kB / 3.036 GB, free: 0.8369 GB / 1.87 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009885/4.251, allocations: 12.17 MB / 3.048 GB, free: 0.8245 GB / 1.87 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006038/4.257, allocations: 2.864 MB / 3.051 GB, free: 0.8217 GB / 1.87 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00339/4.26, allocations: 159.4 kB / 3.051 GB, free: 0.8215 GB / 1.87 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006304/4.266, allocations: 262.8 kB / 3.051 GB, free: 0.8213 GB / 1.87 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004797/4.267, allocations: 415.8 kB / 3.052 GB, free: 0.8209 GB / 1.87 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005114/4.267, allocations: 267.6 kB / 3.052 GB, free: 0.8206 GB / 1.87 GB Notification: Performance of sorting global known variables: time 0.01682/4.284, allocations: 11.93 MB / 3.063 GB, free: 0.8091 GB / 1.87 GB Notification: Performance of sort global known variables: time 1.8e-07/4.284, allocations: 0 / 3.063 GB, free: 0.8091 GB / 1.87 GB Notification: Performance of remove unused functions: time 0.015/4.299, allocations: 5.43 MB / 3.069 GB, free: 0.8038 GB / 1.87 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.01808/4.317, allocations: 17.21 MB / 3.086 GB, free: 0.7871 GB / 1.87 GB Notification: Performance of simCode: created initialization part: time 0.00735/4.324, allocations: 5.52 MB / 3.091 GB, free: 0.7817 GB / 1.87 GB Notification: Performance of simCode: created event and clocks part: time 4.662e-05/4.325, allocations: 11.88 kB / 3.091 GB, free: 0.7817 GB / 1.87 GB Notification: Performance of simCode: created simulation system equations: time 0.002804/4.327, allocations: 2.478 MB / 3.093 GB, free: 0.7793 GB / 1.87 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03319/4.361, allocations: 10.02 MB / 3.103 GB, free: 0.7701 GB / 1.87 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1962/4.557, allocations: 119.6 MB / 3.22 GB, free: 0.6488 GB / 1.87 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005393/4.562, allocations: 7.551 MB / 3.227 GB, free: 0.6414 GB / 1.87 GB Notification: Performance of simCode: alias equations: time 0.01049/4.573, allocations: 3.258 MB / 3.23 GB, free: 0.6384 GB / 1.87 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008716/4.581, allocations: 8.092 MB / 3.238 GB, free: 0.6305 GB / 1.87 GB Notification: Performance of SimCode: time 2.184e-06/4.581, allocations: 0 / 3.238 GB, free: 0.6305 GB / 1.87 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4515/5.033, allocations: 0.5262 GB / 3.765 GB, free: 109.9 MB / 1.87 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.38/37.41, allocations: 3.938 kB / 3.765 GB, free: 109.9 MB / 1.87 GB " [Timeout remaining time 262] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 43.43918844033033]