Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.001276/0.001276, allocations: 103.1 kB / 16.45 MB, free: 6.449 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.001361/0.001361, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.388/1.388, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.052/3.052, allocations: 0.49 GB / 0.7916 GB, free: 33.51 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.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",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.002024/0.002024, allocations: 72.75 kB / 1.149 GB, free: 26.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3286, allocations: 176.1 MB / 1.321 GB, free: 3.309 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04454/0.3731, allocations: 42.16 MB / 1.362 GB, free: 8.988 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01607/0.3892, allocations: 10.41 MB / 1.372 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00215/0.3914, allocations: 79.31 kB / 1.372 GB, free: 14.47 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001929/0.3933, allocations: 0.6833 MB / 1.373 GB, free: 13.79 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005581/0.3989, allocations: 1.975 MB / 1.375 GB, free: 11.8 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003331/0.4022, allocations: 1.194 MB / 1.376 GB, free: 10.62 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005353/0.4076, allocations: 3.391 MB / 1.379 GB, free: 7.219 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001447/0.409, allocations: 0.8685 MB / 1.38 GB, free: 6.328 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003529/0.4125, allocations: 1.445 MB / 1.382 GB, free: 4.887 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.4141, allocations: 0.9333 MB / 1.382 GB, free: 3.949 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.4143, allocations: 100 kB / 1.383 GB, free: 3.852 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002418/0.4167, allocations: 0.9124 MB / 1.383 GB, free: 2.938 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003793/0.4171, allocations: 290.8 kB / 1.384 GB, free: 2.652 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0008633/0.418, allocations: 0.6337 MB / 1.384 GB, free: 2.016 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003283/0.4212, allocations: 1.985 MB / 1.386 GB, free: 24 kB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.4213, allocations: 4 kB / 1.386 GB, free: 20 kB / 1.076 GB Notification: Performance of FrontEnd: time 3.913e-05/0.4213, allocations: 3.984 kB / 1.386 GB, free: 16 kB / 1.076 GB Notification: Performance of Transformations before backend: time 3.076e-05/0.4213, allocations: 0 / 1.386 GB, free: 16 kB / 1.076 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.002794/0.4241, allocations: 1.548 MB / 1.388 GB, free: 14.41 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.4242, allocations: 11.98 kB / 1.388 GB, free: 14.4 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001546/0.4243, allocations: 122.6 kB / 1.388 GB, free: 14.27 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003808/0.4247, allocations: 144.1 kB / 1.388 GB, free: 14.13 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/0.4266, allocations: 1.12 MB / 1.389 GB, free: 12.97 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.059e-05/0.4266, allocations: 54 kB / 1.389 GB, free: 12.91 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.4268, allocations: 71.95 kB / 1.389 GB, free: 12.84 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.4282, allocations: 0.7905 MB / 1.39 GB, free: 12.02 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.4282, allocations: 4 kB / 1.39 GB, free: 12.02 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.775e-05/0.4283, allocations: 31.98 kB / 1.39 GB, free: 11.99 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.762e-05/0.4283, allocations: 23.98 kB / 1.39 GB, free: 11.96 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.4295, allocations: 0.5672 MB / 1.391 GB, free: 11.4 MB / 1.092 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.004719/0.4342, allocations: 3.719 MB / 1.394 GB, free: 7.418 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006056/0.4348, allocations: 238.5 kB / 1.395 GB, free: 7.176 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003744/0.4352, allocations: 156.8 kB / 1.395 GB, free: 7.02 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006663/0.4359, allocations: 0.661 MB / 1.395 GB, free: 6.211 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.4359, allocations: 38.55 kB / 1.395 GB, free: 6.164 MB / 1.092 GB Notification: Performance of pre-optimization done (n=31): time 2.275e-06/0.4359, allocations: 0 / 1.395 GB, free: 6.164 MB / 1.092 GB Notification: Performance of matching and sorting (n=31): time 0.001341/0.4373, allocations: 0.522 MB / 1.396 GB, free: 5.637 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.4373, allocations: 59.41 kB / 1.396 GB, free: 5.566 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.4386, allocations: 0.9615 MB / 1.397 GB, free: 4.586 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.725e-05/0.4387, allocations: 37.64 kB / 1.397 GB, free: 4.543 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004609/0.4391, allocations: 0.4966 MB / 1.397 GB, free: 4.039 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.4393, allocations: 119 kB / 1.398 GB, free: 3.922 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.4395, allocations: 118.2 kB / 1.398 GB, free: 3.801 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.4396, allocations: 329.9 kB / 1.398 GB, free: 3.473 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003869/0.44, allocations: 165 kB / 1.398 GB, free: 3.309 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000556/0.4406, allocations: 350.9 kB / 1.398 GB, free: 2.891 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009647/0.4415, allocations: 0.5148 MB / 1.399 GB, free: 2.305 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4415, allocations: 0 / 1.399 GB, free: 2.305 MB / 1.092 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001248/0.4428, allocations: 0.6257 MB / 1.4 GB, free: 1.672 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.4428, allocations: 11.94 kB / 1.4 GB, free: 1.66 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.4428, allocations: 7.938 kB / 1.4 GB, free: 1.652 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/0.4428, allocations: 8 kB / 1.4 GB, free: 1.645 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004657/0.4433, allocations: 127.8 kB / 1.4 GB, free: 1.52 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.4433, allocations: 8 kB / 1.4 GB, free: 1.512 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00063/0.4439, allocations: 79.7 kB / 1.4 GB, free: 1.434 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.82e-05/0.444, allocations: 31.94 kB / 1.4 GB, free: 1.402 MB / 1.092 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.0003946/0.4444, allocations: 279.4 kB / 1.4 GB, free: 1.121 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.4446, allocations: 107.3 kB / 1.4 GB, free: 1.016 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.4456, allocations: 487.2 kB / 1.401 GB, free: 0.5312 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.4456, allocations: 8 kB / 1.401 GB, free: 0.5234 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.4456, allocations: 64 / 1.401 GB, free: 0.5234 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008327/0.4465, allocations: 461.2 kB / 1.401 GB, free: 44 kB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/0.4488, allocations: 1.351 MB / 1.402 GB, free: 14.62 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-06/0.4488, allocations: 4 kB / 1.402 GB, free: 14.62 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/0.4491, allocations: 83.81 kB / 1.402 GB, free: 14.54 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.4491, allocations: 8.141 kB / 1.402 GB, free: 14.53 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.4492, allocations: 12 kB / 1.403 GB, free: 14.52 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.4492, allocations: 0 / 1.403 GB, free: 14.52 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.4492, allocations: 4 kB / 1.403 GB, free: 14.51 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.4506, allocations: 0.7724 MB / 1.403 GB, free: 13.71 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003439/0.4509, allocations: 240.2 kB / 1.403 GB, free: 13.45 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.451, allocations: 4 kB / 1.403 GB, free: 13.45 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005086/0.4515, allocations: 36.03 kB / 1.404 GB, free: 13.41 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-05/0.4516, allocations: 23.97 kB / 1.404 GB, free: 13.39 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.121e-05/0.4516, allocations: 19.98 kB / 1.404 GB, free: 13.37 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0009573/0.4526, allocations: 0.6668 MB / 1.404 GB, free: 12.7 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4526, allocations: 0 / 1.404 GB, free: 12.7 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001067/0.4537, allocations: 343.2 kB / 1.405 GB, free: 12.36 MB / 1.107 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.002354/0.456, allocations: 1.578 MB / 1.406 GB, free: 10.74 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.457, allocations: 404.4 kB / 1.406 GB, free: 10.34 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.457, allocations: 384 / 1.406 GB, free: 10.34 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0003999/0.4574, allocations: 175.7 kB / 1.407 GB, free: 10.17 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002708/0.4601, allocations: 0.6178 MB / 1.407 GB, free: 9.566 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.4709, allocations: 6.851 MB / 1.414 GB, free: 2.422 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007419/0.4717, allocations: 1.04 MB / 1.415 GB, free: 1.352 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0007537/0.4724, allocations: 196.2 kB / 1.415 GB, free: 1.16 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000512/0.4729, allocations: 371.3 kB / 1.416 GB, free: 0.7969 MB / 1.107 GB Notification: Performance of SimCode: time 1.312e-06/0.4729, allocations: 3.938 kB / 1.416 GB, free: 0.793 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06886/0.5418, allocations: 29.86 MB / 1.445 GB, free: 3.328 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.892/10.43, allocations: 5.938 kB / 1.445 GB, free: 3.324 MB / 1.139 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.842661926988512]