Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001342/0.001342, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001391/0.001391, allocations: 217.5 kB / 23.03 MB, free: 4.918 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.09/3.09, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 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.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="cs",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.001949/0.001949, allocations: 66.2 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3972, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04658/0.4438, allocations: 38.45 MB / 1.383 GB, free: 9.387 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0159/0.4597, allocations: 9.639 MB / 1.392 GB, free: 15.73 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002135/0.4619, allocations: 79.31 kB / 1.392 GB, free: 15.65 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002308/0.4642, allocations: 0.6365 MB / 1.393 GB, free: 15.01 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006512/0.4707, allocations: 2.024 MB / 1.395 GB, free: 12.98 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003942/0.4746, allocations: 1.216 MB / 1.396 GB, free: 11.77 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.006495/0.4811, allocations: 3.503 MB / 1.4 GB, free: 8.258 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002078/0.4832, allocations: 0.8107 MB / 1.4 GB, free: 7.426 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004299/0.4875, allocations: 1.476 MB / 1.402 GB, free: 5.949 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002082/0.4896, allocations: 0.9256 MB / 1.403 GB, free: 5.02 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003463/0.4899, allocations: 100 kB / 1.403 GB, free: 4.922 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002393/0.4923, allocations: 0.7174 MB / 1.403 GB, free: 4.203 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005065/0.4928, allocations: 294.7 kB / 1.404 GB, free: 3.914 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.4939, allocations: 0.5094 MB / 1.404 GB, free: 3.402 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003688/0.4976, allocations: 1.95 MB / 1.406 GB, free: 1.445 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4976, allocations: 0 / 1.406 GB, free: 1.445 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4976, allocations: 0 / 1.406 GB, free: 1.445 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.857e-05/0.4977, allocations: 8 kB / 1.406 GB, free: 1.438 MB / 1.092 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.00337/0.5011, allocations: 1.485 MB / 1.408 GB, free: 15.92 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.5011, allocations: 8.031 kB / 1.408 GB, free: 15.91 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.085e-05/0.5011, allocations: 18.19 kB / 1.408 GB, free: 15.89 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001399/0.5013, allocations: 114.7 kB / 1.408 GB, free: 15.77 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004411/0.5017, allocations: 144.1 kB / 1.408 GB, free: 15.63 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/0.5036, allocations: 1.059 MB / 1.409 GB, free: 14.54 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.833e-05/0.5037, allocations: 58 kB / 1.409 GB, free: 14.48 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.5038, allocations: 76 kB / 1.409 GB, free: 14.4 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.5053, allocations: 0.9411 MB / 1.41 GB, free: 13.39 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.5053, allocations: 0 / 1.41 GB, free: 13.39 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.128e-05/0.5054, allocations: 32 kB / 1.41 GB, free: 13.36 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.358e-05/0.5054, allocations: 20 kB / 1.41 GB, free: 13.34 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.5066, allocations: 0.5711 MB / 1.411 GB, free: 12.77 MB / 1.107 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.003887/0.5105, allocations: 2.736 MB / 1.413 GB, free: 9.941 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005769/0.511, allocations: 243.7 kB / 1.413 GB, free: 9.695 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000356/0.5114, allocations: 164.8 kB / 1.414 GB, free: 9.531 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002469/0.5116, allocations: 55.97 kB / 1.414 GB, free: 9.477 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.5117, allocations: 38.56 kB / 1.414 GB, free: 9.43 MB / 1.107 GB Notification: Performance of pre-optimization done (n=31): time 1.913e-06/0.5117, allocations: 0 / 1.414 GB, free: 9.43 MB / 1.107 GB Notification: Performance of matching and sorting (n=31): time 0.001203/0.5129, allocations: 0.5251 MB / 1.414 GB, free: 8.898 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.5129, allocations: 63.41 kB / 1.414 GB, free: 8.824 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.5141, allocations: 0.9576 MB / 1.415 GB, free: 7.848 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.07e-05/0.5142, allocations: 33.7 kB / 1.415 GB, free: 7.809 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004577/0.5146, allocations: 0.5043 MB / 1.416 GB, free: 7.297 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.5148, allocations: 115 kB / 1.416 GB, free: 7.184 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.5149, allocations: 114.3 kB / 1.416 GB, free: 7.066 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.5151, allocations: 329.9 kB / 1.416 GB, free: 6.738 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.5154, allocations: 165.2 kB / 1.416 GB, free: 6.578 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006134/0.5161, allocations: 0.502 MB / 1.417 GB, free: 5.961 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000853/0.5169, allocations: 0.5154 MB / 1.417 GB, free: 5.375 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5169, allocations: 0 / 1.417 GB, free: 5.375 MB / 1.107 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001129/0.518, allocations: 0.6214 MB / 1.418 GB, free: 4.746 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.5181, allocations: 8 kB / 1.418 GB, free: 4.738 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.5181, allocations: 4 kB / 1.418 GB, free: 4.734 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.5181, allocations: 8.656 kB / 1.418 GB, free: 4.727 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004363/0.5185, allocations: 135.7 kB / 1.418 GB, free: 4.594 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.5185, allocations: 8 kB / 1.418 GB, free: 4.586 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006076/0.5192, allocations: 99.38 kB / 1.418 GB, free: 4.488 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.732e-05/0.5192, allocations: 24 kB / 1.418 GB, free: 4.465 MB / 1.107 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.0003997/0.5196, allocations: 273.6 kB / 1.419 GB, free: 4.188 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.5198, allocations: 103.3 kB / 1.419 GB, free: 4.086 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.5208, allocations: 496.5 kB / 1.419 GB, free: 3.594 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.5208, allocations: 4 kB / 1.419 GB, free: 3.59 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5208, allocations: 0 / 1.419 GB, free: 3.59 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000801/0.5216, allocations: 461.2 kB / 1.42 GB, free: 3.109 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/0.5238, allocations: 1.242 MB / 1.421 GB, free: 1.805 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.5238, allocations: 7.938 kB / 1.421 GB, free: 1.797 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003432/0.5241, allocations: 79.88 kB / 1.421 GB, free: 1.719 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.5241, allocations: 4.156 kB / 1.421 GB, free: 1.715 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.5242, allocations: 8 kB / 1.421 GB, free: 1.707 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.5242, allocations: 4 kB / 1.421 GB, free: 1.703 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.5242, allocations: 4 kB / 1.421 GB, free: 1.699 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.5255, allocations: 0.7762 MB / 1.422 GB, free: 0.8945 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003347/0.5258, allocations: 163.2 kB / 1.422 GB, free: 0.7344 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.5259, allocations: 8 kB / 1.422 GB, free: 0.7266 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000495/0.5264, allocations: 23.97 kB / 1.422 GB, free: 0.7031 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.5265, allocations: 35.89 kB / 1.422 GB, free: 0.668 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.201e-05/0.5265, allocations: 19.98 kB / 1.422 GB, free: 0.6484 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0009419/0.5275, allocations: 0.6708 MB / 1.423 GB, free: 15.96 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5275, allocations: 0 / 1.423 GB, free: 15.96 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001012/0.5285, allocations: 347.2 kB / 1.423 GB, free: 15.62 MB / 1.123 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.00219/0.5307, allocations: 1.577 MB / 1.424 GB, free: 14.01 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0009124/0.5316, allocations: 408 kB / 1.425 GB, free: 13.61 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5316, allocations: 0 / 1.425 GB, free: 13.61 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003734/0.532, allocations: 171.8 kB / 1.425 GB, free: 13.45 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/0.5345, allocations: 0.615 MB / 1.426 GB, free: 12.84 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.5446, allocations: 6.878 MB / 1.432 GB, free: 5.668 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/0.5451, allocations: 453.2 kB / 1.433 GB, free: 5.191 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0007517/0.5459, allocations: 195.3 kB / 1.433 GB, free: 5 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005993/0.5465, allocations: 371.3 kB / 1.433 GB, free: 4.637 MB / 1.123 GB Notification: Performance of SimCode: time 1.142e-06/0.5465, allocations: 4 kB / 1.433 GB, free: 4.633 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07356/0.62, allocations: 32.28 MB / 1.465 GB, free: 4.984 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.7, allocations: 4.062 kB / 1.465 GB, free: 4.98 MB / 1.154 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.446636362932622]