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.001239/0.001239, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001384/0.001384, allocations: 217.5 kB / 22.25 MB, free: 5.105 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.359/1.359, allocations: 230.6 MB / 256 MB, free: 7.801 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.001/3.001, allocations: 0.49 GB / 0.7951 GB, free: 35.48 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.001904/0.001904, allocations: 70.17 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2945, allocations: 176.1 MB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04143/0.336, allocations: 38.49 MB / 1.363 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01379/0.3498, allocations: 9.669 MB / 1.373 GB, free: 1.184 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.3511, allocations: 79.31 kB / 1.373 GB, free: 1.105 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.3525, allocations: 0.6326 MB / 1.374 GB, free: 480 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00432/0.3568, allocations: 2.021 MB / 1.376 GB, free: 14.44 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002623/0.3594, allocations: 1.223 MB / 1.377 GB, free: 13.23 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003926/0.3633, allocations: 3.481 MB / 1.38 GB, free: 9.738 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.3644, allocations: 0.8262 MB / 1.381 GB, free: 8.891 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002781/0.3672, allocations: 1.467 MB / 1.382 GB, free: 7.426 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.3684, allocations: 0.9178 MB / 1.383 GB, free: 6.504 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.3685, allocations: 100 kB / 1.383 GB, free: 6.406 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.3699, allocations: 0.7251 MB / 1.384 GB, free: 5.68 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002914/0.3702, allocations: 282.9 kB / 1.384 GB, free: 5.402 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005424/0.3708, allocations: 0.5133 MB / 1.385 GB, free: 4.887 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002255/0.373, allocations: 1.958 MB / 1.387 GB, free: 2.922 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.373, allocations: 0 / 1.387 GB, free: 2.922 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.252e-06/0.373, allocations: 0 / 1.387 GB, free: 2.922 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.373, allocations: 4 kB / 1.387 GB, free: 2.918 MB / 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.002349/0.3754, allocations: 1.477 MB / 1.388 GB, free: 1.402 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.3754, allocations: 12.03 kB / 1.388 GB, free: 1.391 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/0.3755, allocations: 110.7 kB / 1.388 GB, free: 1.273 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003363/0.3759, allocations: 148.1 kB / 1.388 GB, free: 1.129 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/0.3776, allocations: 1.071 MB / 1.39 GB, free: 24 kB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.028e-05/0.3777, allocations: 50.08 kB / 1.39 GB, free: 15.97 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.3778, allocations: 72 kB / 1.39 GB, free: 15.9 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.3792, allocations: 0.945 MB / 1.391 GB, free: 14.88 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.3793, allocations: 3.953 kB / 1.391 GB, free: 14.88 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-05/0.3793, allocations: 32 kB / 1.391 GB, free: 14.85 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.3794, allocations: 20 kB / 1.391 GB, free: 14.83 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.3804, allocations: 0.5672 MB / 1.391 GB, free: 14.26 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.00357/0.384, allocations: 2.74 MB / 1.394 GB, free: 11.43 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005339/0.3845, allocations: 242.4 kB / 1.394 GB, free: 11.19 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000328/0.3849, allocations: 168.7 kB / 1.394 GB, free: 11.02 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002314/0.3851, allocations: 63.95 kB / 1.394 GB, free: 10.96 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.3851, allocations: 34.56 kB / 1.394 GB, free: 10.91 MB / 1.092 GB Notification: Performance of pre-optimization done (n=31): time 1.673e-06/0.3851, allocations: 0 / 1.394 GB, free: 10.91 MB / 1.092 GB Notification: Performance of matching and sorting (n=31): time 0.001143/0.3863, allocations: 0.5246 MB / 1.395 GB, free: 10.38 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.3863, allocations: 55.41 kB / 1.395 GB, free: 10.32 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.3874, allocations: 0.9692 MB / 1.396 GB, free: 9.328 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.3875, allocations: 33.7 kB / 1.396 GB, free: 9.289 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004205/0.3879, allocations: 0.4966 MB / 1.396 GB, free: 8.785 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.388, allocations: 119 kB / 1.396 GB, free: 8.668 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.3882, allocations: 114.2 kB / 1.397 GB, free: 8.547 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3883, allocations: 333.9 kB / 1.397 GB, free: 8.215 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003389/0.3886, allocations: 165.2 kB / 1.397 GB, free: 8.055 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005731/0.3892, allocations: 0.502 MB / 1.398 GB, free: 7.438 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008197/0.39, allocations: 0.5115 MB / 1.398 GB, free: 6.855 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.39, allocations: 4 kB / 1.398 GB, free: 6.852 MB / 1.092 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001072/0.3911, allocations: 0.6215 MB / 1.399 GB, free: 6.223 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.3911, allocations: 4 kB / 1.399 GB, free: 6.219 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.3911, allocations: 8 kB / 1.399 GB, free: 6.211 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.3912, allocations: 8 kB / 1.399 GB, free: 6.203 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004344/0.3916, allocations: 124.2 kB / 1.399 GB, free: 6.082 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.3916, allocations: 15.98 kB / 1.399 GB, free: 6.066 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005524/0.3922, allocations: 83.48 kB / 1.399 GB, free: 5.984 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/0.3922, allocations: 31.88 kB / 1.399 GB, free: 5.953 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.0003439/0.3926, allocations: 277.6 kB / 1.399 GB, free: 5.672 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.3927, allocations: 103.3 kB / 1.399 GB, free: 5.57 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009652/0.3937, allocations: 0.4923 MB / 1.4 GB, free: 5.07 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.3937, allocations: 4 kB / 1.4 GB, free: 5.066 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.3937, allocations: 4 kB / 1.4 GB, free: 5.062 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007062/0.3944, allocations: 449.5 kB / 1.4 GB, free: 4.594 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001972/0.3964, allocations: 1.238 MB / 1.401 GB, free: 3.293 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.3964, allocations: 8.062 kB / 1.401 GB, free: 3.285 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003306/0.3967, allocations: 79.83 kB / 1.401 GB, free: 3.207 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.3967, allocations: 4 kB / 1.401 GB, free: 3.203 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.3967, allocations: 12.14 kB / 1.402 GB, free: 3.191 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.3967, allocations: 4 kB / 1.402 GB, free: 3.188 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3967, allocations: 4 kB / 1.402 GB, free: 3.184 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.398, allocations: 0.7796 MB / 1.402 GB, free: 2.375 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000321/0.3983, allocations: 163.1 kB / 1.402 GB, free: 2.215 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.3984, allocations: 8.062 kB / 1.402 GB, free: 2.207 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004984/0.3989, allocations: 35.91 kB / 1.402 GB, free: 2.172 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.71e-05/0.399, allocations: 23.95 kB / 1.402 GB, free: 2.148 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-05/0.399, allocations: 19.98 kB / 1.403 GB, free: 2.129 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0008196/0.3998, allocations: 0.6707 MB / 1.403 GB, free: 1.449 MB / 1.092 GB Notification: Performance of sort global known variables: time 6e-08/0.3998, allocations: 0 / 1.403 GB, free: 1.449 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008759/0.4007, allocations: 339.3 kB / 1.403 GB, free: 1.117 MB / 1.092 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.002023/0.4027, allocations: 1.592 MB / 1.405 GB, free: 15.48 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0008068/0.4036, allocations: 404.7 kB / 1.405 GB, free: 15.09 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4036, allocations: 0 / 1.405 GB, free: 15.09 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.000349/0.4039, allocations: 175.8 kB / 1.406 GB, free: 14.92 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/0.4062, allocations: 0.6151 MB / 1.406 GB, free: 14.32 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008872/0.4151, allocations: 6.866 MB / 1.413 GB, free: 7.152 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.4155, allocations: 457.2 kB / 1.413 GB, free: 6.672 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0006036/0.4161, allocations: 191.4 kB / 1.414 GB, free: 6.484 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004571/0.4166, allocations: 371.3 kB / 1.414 GB, free: 6.121 MB / 1.107 GB Notification: Performance of SimCode: time 5.91e-07/0.4166, allocations: 0 / 1.414 GB, free: 6.121 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0664/0.483, allocations: 32.89 MB / 1.446 GB, free: 5.887 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.71, allocations: 3.938 kB / 1.446 GB, free: 5.883 MB / 1.139 GB " [Timeout remaining time 288] (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: 17.931247335014632]