Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.001193/0.001193, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.001098/0.001098, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.287/1.287, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] 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.475/2.475, allocations: 476.7 MB / 0.7628 GB, free: 15.14 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.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 71.89 kB / 1.107 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7712/0.773, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04127/0.8142, allocations: 42.28 MB / 1.313 GB, free: 9.652 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01553/0.8298, allocations: 10.46 MB / 1.323 GB, free: 2.176 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001887/0.8317, allocations: 59.31 kB / 1.323 GB, free: 2.152 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00188/0.8335, allocations: 0.6689 MB / 1.324 GB, free: 1.754 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005398/0.8389, allocations: 1.975 MB / 1.326 GB, free: 0.5859 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003225/0.8422, allocations: 1.198 MB / 1.327 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004802/0.847, allocations: 3.409 MB / 1.33 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001485/0.8485, allocations: 0.8124 MB / 1.331 GB, free: 13.85 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003056/0.8515, allocations: 1.267 MB / 1.332 GB, free: 13.26 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/0.8531, allocations: 0.9434 MB / 1.333 GB, free: 12.84 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001691/0.8533, allocations: 100.1 kB / 1.333 GB, free: 12.84 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002177/0.8555, allocations: 0.8844 MB / 1.334 GB, free: 12.49 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003158/0.8558, allocations: 292.4 kB / 1.334 GB, free: 12.31 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007708/0.8566, allocations: 0.6278 MB / 1.335 GB, free: 11.93 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002926/0.8595, allocations: 1.934 MB / 1.337 GB, free: 11.19 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.8595, allocations: 1.688 kB / 1.337 GB, free: 11.19 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8595, allocations: 0 / 1.337 GB, free: 11.19 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.015e-05/0.8595, allocations: 0 / 1.337 GB, free: 11.19 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002665/0.8622, allocations: 1.554 MB / 1.338 GB, free: 10.12 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.8622, allocations: 9.062 kB / 1.338 GB, free: 10.12 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001486/0.8624, allocations: 116.1 kB / 1.338 GB, free: 10.04 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003557/0.8627, allocations: 143.3 kB / 1.338 GB, free: 9.965 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001856/0.8646, allocations: 1.117 MB / 1.34 GB, free: 9.297 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.015e-05/0.8646, allocations: 51.5 kB / 1.34 GB, free: 9.273 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.8647, allocations: 72.59 kB / 1.34 GB, free: 9.25 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.8662, allocations: 0.793 MB / 1.34 GB, free: 8.871 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.8663, allocations: 1.156 kB / 1.34 GB, free: 8.871 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.022e-05/0.8663, allocations: 39.66 kB / 1.341 GB, free: 8.84 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-05/0.8664, allocations: 22.59 kB / 1.341 GB, free: 8.836 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.8676, allocations: 0.5673 MB / 1.341 GB, free: 8.641 MB / 1.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.004448/0.872, allocations: 3.562 MB / 1.345 GB, free: 6.039 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005861/0.8726, allocations: 255.5 kB / 1.345 GB, free: 5.934 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003295/0.873, allocations: 163.9 kB / 1.345 GB, free: 5.879 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000558/0.8735, allocations: 0.6544 MB / 1.346 GB, free: 5.121 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.8736, allocations: 41.84 kB / 1.346 GB, free: 5.074 MB / 1.045 GB Notification: Performance of pre-optimization done (n=31): time 1.653e-06/0.8736, allocations: 0 / 1.346 GB, free: 5.074 MB / 1.045 GB Notification: Performance of matching and sorting (n=31): time 0.001182/0.8747, allocations: 0.5153 MB / 1.346 GB, free: 4.875 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.8748, allocations: 58.12 kB / 1.346 GB, free: 4.809 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.876, allocations: 0.9489 MB / 1.347 GB, free: 4.406 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.876, allocations: 32.89 kB / 1.347 GB, free: 4.371 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004525/0.8764, allocations: 0.4968 MB / 1.348 GB, free: 3.969 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.8766, allocations: 120.6 kB / 1.348 GB, free: 3.875 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.8767, allocations: 114.3 kB / 1.348 GB, free: 3.812 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.8769, allocations: 330.6 kB / 1.348 GB, free: 3.496 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/0.8773, allocations: 168.9 kB / 1.348 GB, free: 3.438 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005224/0.8778, allocations: 348.8 kB / 1.349 GB, free: 3.172 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008349/0.8786, allocations: 0.5074 MB / 1.349 GB, free: 2.824 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.8786, allocations: 1.344 kB / 1.349 GB, free: 2.824 MB / 1.045 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001127/0.8797, allocations: 0.621 MB / 1.35 GB, free: 2.562 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.8798, allocations: 7.594 kB / 1.35 GB, free: 2.562 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.8798, allocations: 5.219 kB / 1.35 GB, free: 2.562 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.8798, allocations: 8.031 kB / 1.35 GB, free: 2.562 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004363/0.8802, allocations: 123.8 kB / 1.35 GB, free: 2.551 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/0.8802, allocations: 12.3 kB / 1.35 GB, free: 2.547 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006862/0.8809, allocations: 91.77 kB / 1.35 GB, free: 2.492 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.626e-05/0.881, allocations: 33.64 kB / 1.35 GB, free: 2.48 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * 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.000373/0.8813, allocations: 268.2 kB / 1.35 GB, free: 2.281 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.8815, allocations: 105.1 kB / 1.35 GB, free: 2.227 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00098/0.8825, allocations: 491.1 kB / 1.351 GB, free: 2.027 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.8825, allocations: 7.281 kB / 1.351 GB, free: 2.023 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.8825, allocations: 1.875 kB / 1.351 GB, free: 2.023 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007398/0.8833, allocations: 455.7 kB / 1.351 GB, free: 1.766 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/0.8855, allocations: 1.365 MB / 1.353 GB, free: 1.023 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.8855, allocations: 6.812 kB / 1.353 GB, free: 1.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003332/0.8859, allocations: 76.66 kB / 1.353 GB, free: 1.012 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/0.8859, allocations: 3.094 kB / 1.353 GB, free: 1.012 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.8859, allocations: 9.766 kB / 1.353 GB, free: 1.008 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.8859, allocations: 11.61 kB / 1.353 GB, free: 1 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.8859, allocations: 1.25 kB / 1.353 GB, free: 1 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.8872, allocations: 0.7635 MB / 1.354 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003832/0.8876, allocations: 238.2 kB / 1.354 GB, free: 412 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.8877, allocations: 11.86 kB / 1.354 GB, free: 404 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005145/0.8883, allocations: 27.3 kB / 1.354 GB, free: 400 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.671e-05/0.8883, allocations: 28.81 kB / 1.354 GB, free: 392 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.291e-05/0.8884, allocations: 21.19 kB / 1.354 GB, free: 388 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009089/0.8893, allocations: 0.6584 MB / 1.354 GB, free: 96 kB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8893, allocations: 0 / 1.354 GB, free: 96 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.001061/0.8903, allocations: 338.3 kB / 1.355 GB, free: 20 kB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002575/0.8929, allocations: 1.612 MB / 1.356 GB, free: 14.97 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009493/0.8939, allocations: 412.4 kB / 1.357 GB, free: 14.84 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.8939, allocations: 1.062 kB / 1.357 GB, free: 14.84 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000381/0.8942, allocations: 180.2 kB / 1.357 GB, free: 14.79 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002716/0.897, allocations: 0.6126 MB / 1.358 GB, free: 14.59 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00994/0.9069, allocations: 6.835 MB / 1.364 GB, free: 10.38 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000692/0.9076, allocations: 1.041 MB / 1.365 GB, free: 9.512 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000879/0.9085, allocations: 194.9 kB / 1.365 GB, free: 9.422 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004982/0.909, allocations: 375.6 kB / 1.366 GB, free: 9.117 MB / 1.061 GB Notification: Performance of SimCode: time 9.21e-07/0.909, allocations: 0 / 1.366 GB, free: 9.117 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06538/0.9744, allocations: 29.89 MB / 1.395 GB, free: 5.742 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.93/9.904, allocations: 14 kB / 1.395 GB, free: 5.73 MB / 1.076 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.178768652000144]