Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001299/0.001299, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001478/0.001478, allocations: 216.3 kB / 22.25 MB, free: 5.258 MB / 14.72 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 1.387/1.387, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.079/3.079, allocations: 0.4892 GB / 0.7943 GB, free: 35.63 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 66.94 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3535, allocations: 176.1 MB / 1.325 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.96/3.314, allocations: 1.261 GB / 2.586 GB, free: 126 MB / 1.732 GB Notification: Performance of NFInst.instExpressions: time 0.3635/3.677, allocations: 312.5 MB / 2.891 GB, free: 14.91 MB / 1.904 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.048/3.725, allocations: 1.692 MB / 2.893 GB, free: 13.21 MB / 1.904 GB Notification: Performance of NFTyping.typeComponents: time 0.0415/3.767, allocations: 13.44 MB / 2.906 GB, free: 15.68 MB / 1.92 GB Notification: Performance of NFTyping.typeBindings: time 0.09965/3.866, allocations: 33.93 MB / 2.939 GB, free: 13.63 MB / 1.951 GB Notification: Performance of NFTyping.typeClassSections: time 0.05283/3.919, allocations: 20.19 MB / 2.959 GB, free: 9.539 MB / 1.967 GB Notification: Performance of NFFlatten.flatten: time 0.08616/4.005, allocations: 58.37 MB / 3.016 GB, free: 15.01 MB / 2.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03645/4.042, allocations: 16.7 MB / 3.032 GB, free: 14.14 MB / 2.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.249/6.291, allocations: 29.03 MB / 3.06 GB, free: 51.95 MB / 2.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04107/6.332, allocations: 17.61 MB / 3.078 GB, free: 51.12 MB / 2.045 GB Notification: Performance of NFPackage.collectConstants: time 0.01109/6.343, allocations: 2.129 MB / 3.08 GB, free: 51.12 MB / 2.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04345/6.387, allocations: 15.58 MB / 3.095 GB, free: 51.11 MB / 2.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0117/6.399, allocations: 5.104 MB / 3.1 GB, free: 51.11 MB / 2.045 GB Notification: Performance of NFVerifyModel.verify: time 0.02513/6.424, allocations: 8.732 MB / 3.108 GB, free: 48.89 MB / 2.045 GB Notification: Performance of NFConvertDAE.convert: time 0.07478/6.499, allocations: 41.27 MB / 3.149 GB, free: 44.58 MB / 2.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/6.499, allocations: 0 / 3.149 GB, free: 44.58 MB / 2.045 GB Notification: Performance of FrontEnd: time 1.924e-06/6.499, allocations: 0 / 3.149 GB, free: 44.58 MB / 2.045 GB Notification: Performance of Transformations before backend: time 0.001292/6.5, allocations: 0 / 3.149 GB, free: 44.58 MB / 2.045 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.06337/6.563, allocations: 21.5 MB / 3.17 GB, free: 35.53 MB / 2.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/6.563, allocations: 11.94 kB / 3.17 GB, free: 35.52 MB / 2.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00791/6.571, allocations: 1.637 MB / 3.171 GB, free: 35.41 MB / 2.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0121/6.583, allocations: 2.359 MB / 3.174 GB, free: 34.25 MB / 2.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04349/6.627, allocations: 18.9 MB / 3.192 GB, free: 31.04 MB / 2.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009821/6.628, allocations: 0.9752 MB / 3.193 GB, free: 31.01 MB / 2.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004997/6.633, allocations: 1.297 MB / 3.194 GB, free: 30.99 MB / 2.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03886/6.672, allocations: 17.06 MB / 3.211 GB, free: 25.68 MB / 2.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004854/6.672, allocations: 44.94 kB / 3.211 GB, free: 25.68 MB / 2.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002945/6.675, allocations: 0.5388 MB / 3.211 GB, free: 25.68 MB / 2.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003377/6.675, allocations: 345.3 kB / 3.212 GB, free: 25.68 MB / 2.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02125/6.697, allocations: 10.08 MB / 3.222 GB, free: 25.61 MB / 2.045 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.0937/6.79, allocations: 59.85 MB / 3.28 GB, free: 15.46 MB / 2.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006644/6.797, allocations: 4.343 MB / 3.284 GB, free: 14.79 MB / 2.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002877/6.8, allocations: 2.297 MB / 3.287 GB, free: 14.56 MB / 2.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07186/6.872, allocations: 22.89 MB / 3.309 GB, free: 13.02 MB / 2.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/6.872, allocations: 121.2 kB / 3.309 GB, free: 12.98 MB / 2.061 GB Notification: Performance of pre-optimization done (n=412): time 7.524e-06/6.872, allocations: 0 / 3.309 GB, free: 12.98 MB / 2.061 GB Notification: Performance of matching and sorting (n=412): time 0.01598/6.888, allocations: 7.082 MB / 3.316 GB, free: 11.93 MB / 2.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006133/6.888, allocations: 0.7909 MB / 3.317 GB, free: 27.02 MB / 2.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03214/6.921, allocations: 16.88 MB / 3.333 GB, free: 25.88 MB / 2.076 GB Notification: Performance of collectPreVariables (initialization): time 0.001432/6.922, allocations: 139.3 kB / 3.333 GB, free: 25.85 MB / 2.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.008927/6.931, allocations: 8.699 MB / 3.342 GB, free: 23.89 MB / 2.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.002153/6.933, allocations: 1.531 MB / 3.343 GB, free: 22.91 MB / 2.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002782/6.936, allocations: 1.496 MB / 3.345 GB, free: 22.78 MB / 2.076 GB Notification: Performance of setup shared object (initialization): time 0.0001305/6.936, allocations: 301.1 kB / 3.345 GB, free: 22.48 MB / 2.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003009/6.939, allocations: 2.088 MB / 3.347 GB, free: 22.47 MB / 2.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006875/6.946, allocations: 9.611 MB / 3.356 GB, free: 13.62 MB / 2.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008137/6.954, allocations: 7.136 MB / 3.363 GB, free: 10.62 MB / 2.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.361e-05/6.954, allocations: 28.41 kB / 3.363 GB, free: 10.62 MB / 2.076 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01774/6.972, allocations: 8.466 MB / 3.372 GB, free: 9.523 MB / 2.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.862e-05/6.972, allocations: 41 kB / 3.372 GB, free: 9.523 MB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.462e-05/6.972, allocations: 79.22 kB / 3.372 GB, free: 9.523 MB / 2.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001293/6.972, allocations: 118.6 kB / 3.372 GB, free: 9.523 MB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004289/6.976, allocations: 1.459 MB / 3.373 GB, free: 9.523 MB / 2.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000165/6.977, allocations: 174.9 kB / 3.374 GB, free: 9.52 MB / 2.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01245/6.989, allocations: 1.349 MB / 3.375 GB, free: 8.758 MB / 2.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001744/6.991, allocations: 398.4 kB / 3.375 GB, free: 8.758 MB / 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.009322/7, allocations: 3.579 MB / 3.379 GB, free: 8.586 MB / 2.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005761/7.006, allocations: 1.755 MB / 3.38 GB, free: 7.621 MB / 2.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01479/7.021, allocations: 7.715 MB / 3.388 GB, free: 7.129 MB / 2.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001366/7.021, allocations: 83.88 kB / 3.388 GB, free: 7.129 MB / 2.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.49e-05/7.021, allocations: 9.844 kB / 3.388 GB, free: 7.129 MB / 2.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004058/7.025, allocations: 3.89 MB / 3.392 GB, free: 5.383 MB / 2.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05159/7.076, allocations: 27.02 MB / 3.418 GB, free: 0.6016 MB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-05/7.077, allocations: 32.12 kB / 3.418 GB, free: 0.6016 MB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002661/7.079, allocations: 0.7784 MB / 3.419 GB, free: 0.5039 MB / 2.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.48e-05/7.079, allocations: 50.12 kB / 3.419 GB, free: 0.5039 MB / 2.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003987/7.08, allocations: 154 kB / 3.419 GB, free: 500 kB / 2.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.283e-05/7.08, allocations: 70.72 kB / 3.419 GB, free: 492 kB / 2.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.138e-05/7.08, allocations: 51.22 kB / 3.419 GB, free: 492 kB / 2.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01696/7.097, allocations: 12.22 MB / 3.431 GB, free: 11.25 MB / 2.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009874/7.107, allocations: 2.867 MB / 3.434 GB, free: 9.82 MB / 2.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005224/7.112, allocations: 154.1 kB / 3.434 GB, free: 9.793 MB / 2.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009941/7.122, allocations: 253.6 kB / 3.435 GB, free: 9.715 MB / 2.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009723/7.123, allocations: 417.3 kB / 3.435 GB, free: 9.535 MB / 2.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007509/7.123, allocations: 261.2 kB / 3.435 GB, free: 9.496 MB / 2.092 GB Notification: Performance of sorting global known variables: time 0.02916/7.153, allocations: 11.9 MB / 3.447 GB, free: 1.621 MB / 2.092 GB Notification: Performance of sort global known variables: time 4.51e-07/7.153, allocations: 0 / 3.447 GB, free: 1.621 MB / 2.092 GB Notification: Performance of remove unused functions: time 0.0235/7.176, allocations: 5.436 MB / 3.452 GB, free: 12.67 MB / 2.108 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.03428/7.21, allocations: 17.03 MB / 3.469 GB, free: 14.61 MB / 2.123 GB Notification: Performance of simCode: created initialization part: time 0.01277/7.223, allocations: 5.521 MB / 3.474 GB, free: 11.02 MB / 2.123 GB Notification: Performance of simCode: created event and clocks part: time 6.907e-05/7.223, allocations: 8 kB / 3.474 GB, free: 11.01 MB / 2.123 GB Notification: Performance of simCode: created simulation system equations: time 0.00518/7.228, allocations: 2.473 MB / 3.477 GB, free: 9.398 MB / 2.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05491/7.283, allocations: 10.01 MB / 3.486 GB, free: 1.004 MB / 2.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2834/7.567, allocations: 118.9 MB / 3.602 GB, free: 7.973 MB / 2.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01419/7.581, allocations: 7.542 MB / 3.61 GB, free: 388 kB / 2.248 GB Notification: Performance of simCode: alias equations: time 0.01582/7.597, allocations: 3.243 MB / 3.613 GB, free: 13.16 MB / 2.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01543/7.612, allocations: 8.072 MB / 3.621 GB, free: 5.086 MB / 2.264 GB Notification: Performance of SimCode: time 1.242e-06/7.612, allocations: 0 / 3.621 GB, free: 5.086 MB / 2.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.508/9.12, allocations: 0.5269 GB / 4.148 GB, free: 1.352 GB / 2.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 56.13/65.25, allocations: 0 / 4.148 GB, free: 1.352 GB / 2.592 GB " [Timeout remaining time 234] (rm -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 75.30836672801524]