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.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.001569/0.001569, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001879/0.001879, allocations: 215.1 kB / 22.26 MB, free: 5.082 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.38/1.38, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.059/3.059, allocations: 0.505 GB / 0.8101 GB, free: 22.19 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_latest_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.00195/0.00195, allocations: 64.16 kB / 1.177 GB, free: 16.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3489, allocations: 180.2 MB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3/3.349, allocations: 1.4 GB / 2.753 GB, free: 7.801 MB / 1.748 GB Notification: Performance of NFInst.instExpressions: time 1.666/5.015, allocations: 338.6 MB / 3.084 GB, free: 48.31 MB / 2.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05314/5.068, allocations: 1.692 MB / 3.085 GB, free: 48.31 MB / 2.029 GB Notification: Performance of NFTyping.typeComponents: time 0.03992/5.108, allocations: 13.71 MB / 3.099 GB, free: 48.3 MB / 2.029 GB Notification: Performance of NFTyping.typeBindings: time 0.08836/5.196, allocations: 34.29 MB / 3.132 GB, free: 48.01 MB / 2.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.04904/5.245, allocations: 20.97 MB / 3.153 GB, free: 47.26 MB / 2.029 GB Notification: Performance of NFFlatten.flatten: time 0.08634/5.332, allocations: 58.7 MB / 3.21 GB, free: 47.12 MB / 2.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0401/5.372, allocations: 16.94 MB / 3.226 GB, free: 45.8 MB / 2.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06967/5.441, allocations: 28.85 MB / 3.255 GB, free: 44.27 MB / 2.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03883/5.48, allocations: 18.25 MB / 3.272 GB, free: 40.61 MB / 2.029 GB Notification: Performance of NFPackage.collectConstants: time 0.01014/5.49, allocations: 2.139 MB / 3.274 GB, free: 40.6 MB / 2.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05045/5.541, allocations: 18.68 MB / 3.293 GB, free: 40.38 MB / 2.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0114/5.552, allocations: 5.104 MB / 3.298 GB, free: 39.44 MB / 2.029 GB Notification: Performance of NFVerifyModel.verify: time 0.02788/5.58, allocations: 11.21 MB / 3.309 GB, free: 36.47 MB / 2.029 GB Notification: Performance of NFConvertDAE.convert: time 0.07637/5.657, allocations: 41.57 MB / 3.349 GB, free: 17.18 MB / 2.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/5.657, allocations: 3.984 kB / 3.349 GB, free: 17.17 MB / 2.029 GB Notification: Performance of FrontEnd: time 1.853e-06/5.657, allocations: 6.5 kB / 3.349 GB, free: 17.17 MB / 2.029 GB Notification: Performance of Transformations before backend: time 0.001213/5.658, allocations: 0 / 3.349 GB, free: 17.17 MB / 2.029 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.05387/5.712, allocations: 21.52 MB / 3.37 GB, free: 5.953 MB / 2.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/5.712, allocations: 12.69 kB / 3.37 GB, free: 5.949 MB / 2.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006222/5.718, allocations: 1.641 MB / 3.372 GB, free: 5.531 MB / 2.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/5.728, allocations: 2.361 MB / 3.374 GB, free: 3.613 MB / 2.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04176/5.77, allocations: 18.89 MB / 3.393 GB, free: 3.762 MB / 2.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001184/5.771, allocations: 0.9826 MB / 3.394 GB, free: 2.785 MB / 2.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00494/5.776, allocations: 1.285 MB / 3.395 GB, free: 1.5 MB / 2.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04212/5.818, allocations: 14.61 MB / 3.409 GB, free: 2.246 MB / 2.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004345/5.819, allocations: 47.11 kB / 3.409 GB, free: 2.223 MB / 2.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003394/5.822, allocations: 0.5326 MB / 3.41 GB, free: 1.691 MB / 2.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003726/5.823, allocations: 347 kB / 3.41 GB, free: 1.355 MB / 2.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02333/5.846, allocations: 10.1 MB / 3.42 GB, free: 7.492 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.1188/5.965, allocations: 76.25 MB / 3.494 GB, free: 8.465 MB / 2.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008174/5.973, allocations: 4.366 MB / 3.499 GB, free: 3.926 MB / 2.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003862/5.977, allocations: 2.287 MB / 3.501 GB, free: 1.57 MB / 2.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07853/6.055, allocations: 22.82 MB / 3.523 GB, free: 10.81 MB / 2.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002232/6.056, allocations: 122.9 kB / 3.523 GB, free: 10.7 MB / 2.186 GB Notification: Performance of pre-optimization done (n=412): time 1.898e-05/6.056, allocations: 0 / 3.523 GB, free: 10.7 MB / 2.186 GB Notification: Performance of matching and sorting (n=412): time 0.01969/6.075, allocations: 7.08 MB / 3.53 GB, free: 3.668 MB / 2.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004602/6.076, allocations: 0.7966 MB / 3.531 GB, free: 2.703 MB / 2.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04566/6.121, allocations: 16.75 MB / 3.547 GB, free: 2.055 MB / 2.201 GB Notification: Performance of collectPreVariables (initialization): time 0.002204/6.124, allocations: 141.7 kB / 3.547 GB, free: 1.91 MB / 2.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.01588/6.139, allocations: 8.71 MB / 3.556 GB, free: 9.277 MB / 2.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.00297/6.142, allocations: 1.529 MB / 3.557 GB, free: 7.77 MB / 2.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005751/6.148, allocations: 1.5 MB / 3.559 GB, free: 6.262 MB / 2.217 GB Notification: Performance of setup shared object (initialization): time 0.0001423/6.148, allocations: 305.1 kB / 3.559 GB, free: 5.961 MB / 2.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004323/6.153, allocations: 2.086 MB / 3.561 GB, free: 3.871 MB / 2.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008367/6.161, allocations: 5.284 MB / 3.566 GB, free: 13.29 MB / 2.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01131/6.172, allocations: 7.148 MB / 3.573 GB, free: 5.387 MB / 2.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001144/6.172, allocations: 27.94 kB / 3.573 GB, free: 5.359 MB / 2.232 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02353/6.196, allocations: 8.451 MB / 3.582 GB, free: 13.39 MB / 2.248 GB Notification: Performance of prepare postOptimizeDAE: time 0.000152/6.196, allocations: 40 kB / 3.582 GB, free: 13.35 MB / 2.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001838/6.196, allocations: 80.09 kB / 3.582 GB, free: 13.27 MB / 2.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001991/6.197, allocations: 124 kB / 3.582 GB, free: 13.15 MB / 2.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005758/6.202, allocations: 1.46 MB / 3.583 GB, free: 11.8 MB / 2.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002564/6.203, allocations: 169.2 kB / 3.583 GB, free: 11.67 MB / 2.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01288/6.215, allocations: 1.36 MB / 3.585 GB, free: 10.3 MB / 2.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001766/6.217, allocations: 391.9 kB / 3.585 GB, free: 9.922 MB / 2.248 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.01089/6.228, allocations: 3.589 MB / 3.589 GB, free: 6.434 MB / 2.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006761/6.235, allocations: 1.743 MB / 3.59 GB, free: 4.68 MB / 2.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0187/6.254, allocations: 7.706 MB / 3.598 GB, free: 13.15 MB / 2.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002392/6.254, allocations: 91.88 kB / 3.598 GB, free: 13.06 MB / 2.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.606e-05/6.254, allocations: 10.62 kB / 3.598 GB, free: 13.05 MB / 2.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005679/6.26, allocations: 3.887 MB / 3.602 GB, free: 8.867 MB / 2.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06635/6.326, allocations: 28.94 MB / 3.63 GB, free: 11.82 MB / 2.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001531/6.326, allocations: 28 kB / 3.63 GB, free: 11.79 MB / 2.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00338/6.329, allocations: 0.7748 MB / 3.631 GB, free: 11.07 MB / 2.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001063/6.33, allocations: 52 kB / 3.631 GB, free: 11.02 MB / 2.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008848/6.33, allocations: 155.9 kB / 3.631 GB, free: 10.87 MB / 2.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.022e-05/6.33, allocations: 67.41 kB / 3.631 GB, free: 10.81 MB / 2.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.278e-05/6.331, allocations: 50.16 kB / 3.631 GB, free: 10.78 MB / 2.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02421/6.355, allocations: 12.23 MB / 3.643 GB, free: 14 MB / 2.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0108/6.366, allocations: 2.861 MB / 3.646 GB, free: 11.13 MB / 2.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005843/6.371, allocations: 151.8 kB / 3.646 GB, free: 10.98 MB / 2.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01062/6.382, allocations: 267.4 kB / 3.646 GB, free: 10.72 MB / 2.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001239/6.383, allocations: 414.9 kB / 3.647 GB, free: 10.34 MB / 2.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001329/6.385, allocations: 263.8 kB / 3.647 GB, free: 10.08 MB / 2.311 GB Notification: Performance of sorting global known variables: time 0.03217/6.417, allocations: 11.9 MB / 3.659 GB, free: 14.29 MB / 2.326 GB Notification: Performance of sort global known variables: time 4.31e-07/6.417, allocations: 0 / 3.659 GB, free: 14.29 MB / 2.326 GB Notification: Performance of remove unused functions: time 0.02409/6.441, allocations: 5.43 MB / 3.664 GB, free: 8.844 MB / 2.326 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.03816/6.479, allocations: 17.03 MB / 3.68 GB, free: 7.73 MB / 2.342 GB Notification: Performance of simCode: created initialization part: time 0.0125/6.491, allocations: 5.517 MB / 3.686 GB, free: 2.531 MB / 2.342 GB Notification: Performance of simCode: created event and clocks part: time 4.515e-05/6.492, allocations: 11.75 kB / 3.686 GB, free: 2.52 MB / 2.342 GB Notification: Performance of simCode: created simulation system equations: time 0.005066/6.497, allocations: 2.468 MB / 3.688 GB, free: 220 kB / 2.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05656/6.553, allocations: 10.02 MB / 3.698 GB, free: 6.578 MB / 2.357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2643/6.817, allocations: 119 MB / 3.814 GB, free: 11.43 MB / 2.482 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01393/6.831, allocations: 7.792 MB / 3.822 GB, free: 3.594 MB / 2.482 GB Notification: Performance of simCode: alias equations: time 0.0148/6.846, allocations: 3.253 MB / 3.825 GB, free: 432 kB / 2.482 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01465/6.861, allocations: 8.072 MB / 3.833 GB, free: 8.348 MB / 2.498 GB Notification: Performance of SimCode: time 1.904e-06/6.861, allocations: 3.938 kB / 3.833 GB, free: 8.344 MB / 2.498 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.978/8.839, allocations: 0.502 GB / 4.335 GB, free: 1.188 GB / 2.623 GB Notification: Performance of buildModelFMU: Generate platform static: time 65.49/74.32, allocations: 12.06 kB / 4.335 GB, free: 1.188 GB / 2.623 GB " [Timeout remaining time 225] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 84.40196590404958]