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.001616/0.001616, allocations: 105 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.001805/0.001805, 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.422/1.422, 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.7/2.7, allocations: 476.7 MB / 0.7611 GB, free: 15.67 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.002002/0.002002, allocations: 71.89 kB / 1.104 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9467/0.9487, allocations: 168.7 MB / 1.269 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04505/0.9938, allocations: 41.89 MB / 1.31 GB, free: 9.738 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01769/1.011, allocations: 10.43 MB / 1.32 GB, free: 2.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002424/1.014, allocations: 59.72 kB / 1.32 GB, free: 2.246 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00223/1.016, allocations: 0.6645 MB / 1.321 GB, free: 1.852 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006446/1.023, allocations: 1.988 MB / 1.322 GB, free: 0.6758 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003908/1.026, allocations: 1.191 MB / 1.324 GB, free: 16 kB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.005998/1.032, allocations: 3.378 MB / 1.327 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00176/1.034, allocations: 0.8695 MB / 1.328 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003793/1.038, allocations: 1.27 MB / 1.329 GB, free: 13.36 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/1.04, allocations: 0.9364 MB / 1.33 GB, free: 12.94 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002447/1.04, allocations: 100 kB / 1.33 GB, free: 12.94 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00267/1.043, allocations: 0.8878 MB / 1.331 GB, free: 12.59 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004537/1.043, allocations: 292.3 kB / 1.331 GB, free: 12.41 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00106/1.044, allocations: 0.6235 MB / 1.332 GB, free: 12.03 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004181/1.049, allocations: 1.938 MB / 1.334 GB, free: 11.29 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.049, allocations: 1.938 kB / 1.334 GB, free: 11.29 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.393e-06/1.049, allocations: 4 kB / 1.334 GB, free: 11.29 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.381e-05/1.049, allocations: 0 / 1.334 GB, free: 11.29 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.003387/1.052, allocations: 1.546 MB / 1.335 GB, free: 10.22 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/1.052, allocations: 9.984 kB / 1.335 GB, free: 10.22 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001765/1.052, allocations: 115.7 kB / 1.335 GB, free: 10.14 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004417/1.053, allocations: 147.3 kB / 1.335 GB, free: 10.07 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002255/1.055, allocations: 1.109 MB / 1.337 GB, free: 9.406 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.498e-05/1.055, allocations: 55.16 kB / 1.337 GB, free: 9.379 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/1.055, allocations: 72.03 kB / 1.337 GB, free: 9.355 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/1.057, allocations: 0.7895 MB / 1.337 GB, free: 8.98 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/1.057, allocations: 4.969 kB / 1.337 GB, free: 8.977 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.208e-05/1.057, allocations: 31.88 kB / 1.337 GB, free: 8.953 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.372e-05/1.057, allocations: 19.66 kB / 1.337 GB, free: 8.953 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/1.058, allocations: 0.5695 MB / 1.338 GB, free: 8.754 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.005505/1.064, allocations: 3.57 MB / 1.342 GB, free: 6.145 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00065/1.064, allocations: 250.5 kB / 1.342 GB, free: 6.047 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003536/1.065, allocations: 169.3 kB / 1.342 GB, free: 5.988 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006554/1.065, allocations: 0.6599 MB / 1.343 GB, free: 5.227 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/1.065, allocations: 37.25 kB / 1.343 GB, free: 5.184 MB / 1.045 GB Notification: Performance of pre-optimization done (n=31): time 2.234e-06/1.065, allocations: 0 / 1.343 GB, free: 5.184 MB / 1.045 GB Notification: Performance of matching and sorting (n=31): time 0.001396/1.067, allocations: 0.5142 MB / 1.343 GB, free: 4.984 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/1.067, allocations: 56.03 kB / 1.343 GB, free: 4.922 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/1.068, allocations: 0.9481 MB / 1.344 GB, free: 4.52 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.69e-05/1.068, allocations: 32.33 kB / 1.344 GB, free: 4.484 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004969/1.069, allocations: 0.502 MB / 1.345 GB, free: 4.078 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/1.069, allocations: 120 kB / 1.345 GB, free: 3.984 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/1.069, allocations: 114.6 kB / 1.345 GB, free: 3.922 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001736/1.069, allocations: 333.9 kB / 1.345 GB, free: 3.602 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003875/1.07, allocations: 173.4 kB / 1.345 GB, free: 3.539 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005573/1.07, allocations: 343.9 kB / 1.346 GB, free: 3.277 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00089/1.071, allocations: 0.5077 MB / 1.346 GB, free: 2.93 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.071, allocations: 6.281 kB / 1.346 GB, free: 2.926 MB / 1.045 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00121/1.072, allocations: 0.6199 MB / 1.347 GB, free: 2.664 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/1.072, allocations: 7.062 kB / 1.347 GB, free: 2.664 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/1.072, allocations: 6.859 kB / 1.347 GB, free: 2.664 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/1.072, allocations: 6.969 kB / 1.347 GB, free: 2.664 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/1.073, allocations: 123.5 kB / 1.347 GB, free: 2.652 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.027e-05/1.073, allocations: 13.67 kB / 1.347 GB, free: 2.648 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007438/1.073, allocations: 95.3 kB / 1.347 GB, free: 2.59 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.422e-05/1.073, allocations: 30.33 kB / 1.347 GB, free: 2.582 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.0004398/1.074, allocations: 267.7 kB / 1.347 GB, free: 2.383 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/1.074, allocations: 103.5 kB / 1.347 GB, free: 2.328 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/1.075, allocations: 487.4 kB / 1.348 GB, free: 2.133 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/1.075, allocations: 4.656 kB / 1.348 GB, free: 2.133 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.075, allocations: 0.6094 kB / 1.348 GB, free: 2.133 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007567/1.076, allocations: 456 kB / 1.348 GB, free: 1.875 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00255/1.079, allocations: 1.365 MB / 1.35 GB, free: 1.133 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/1.079, allocations: 11.22 kB / 1.35 GB, free: 1.125 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/1.079, allocations: 77.48 kB / 1.35 GB, free: 1.117 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/1.079, allocations: 2.562 kB / 1.35 GB, free: 1.117 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/1.079, allocations: 8.859 kB / 1.35 GB, free: 1.113 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/1.079, allocations: 8.219 kB / 1.35 GB, free: 1.109 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.079, allocations: 1.094 kB / 1.35 GB, free: 1.109 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/1.08, allocations: 0.759 MB / 1.35 GB, free: 0.707 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000477/1.081, allocations: 241.9 kB / 1.351 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/1.081, allocations: 11.88 kB / 1.351 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004819/1.081, allocations: 36.81 kB / 1.351 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.29e-05/1.081, allocations: 25.09 kB / 1.351 GB, free: 500 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.625e-05/1.082, allocations: 20.2 kB / 1.351 GB, free: 496 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001044/1.083, allocations: 0.657 MB / 1.351 GB, free: 204 kB / 1.045 GB Notification: Performance of sort global known variables: time 1.81e-07/1.083, allocations: 1.156 kB / 1.351 GB, free: 204 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.001203/1.084, allocations: 338.1 kB / 1.352 GB, free: 128 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.002778/1.087, allocations: 1.608 MB / 1.353 GB, free: 15.07 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001038/1.088, allocations: 412.4 kB / 1.354 GB, free: 14.95 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/1.088, allocations: 6.75 kB / 1.354 GB, free: 14.94 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003894/1.088, allocations: 175 kB / 1.354 GB, free: 14.89 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002793/1.091, allocations: 0.6077 MB / 1.354 GB, free: 14.7 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/1.102, allocations: 6.839 MB / 1.361 GB, free: 10.81 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007551/1.103, allocations: 1.043 MB / 1.362 GB, free: 9.945 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001026/1.104, allocations: 203.4 kB / 1.362 GB, free: 9.848 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005378/1.105, allocations: 371.9 kB / 1.363 GB, free: 9.547 MB / 1.061 GB Notification: Performance of SimCode: time 1.052e-06/1.105, allocations: 0 / 1.363 GB, free: 9.547 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09744/1.202, allocations: 29.87 MB / 1.392 GB, free: 6.66 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/11.44, allocations: 18.56 kB / 1.392 GB, free: 6.645 MB / 1.076 GB " [Timeout remaining time 288] (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 --stepSize=0.002 --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_2/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: 17.48588109202683]