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.001272/0.001272, allocations: 113 kB / 18.94 MB, free: 2.934 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.001432/0.001432, allocations: 209.5 kB / 22.25 MB, free: 5.086 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 8.008 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.186/3.186, allocations: 0.49 GB / 0.7951 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 176] 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.001986/0.001986, allocations: 75.34 kB / 1.154 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3249, allocations: 176.1 MB / 1.326 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04983/0.3748, allocations: 42.56 MB / 1.367 GB, free: 7.207 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01588/0.3906, allocations: 10.46 MB / 1.378 GB, free: 12.72 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002638/0.3933, allocations: 79.31 kB / 1.378 GB, free: 12.64 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002408/0.3957, allocations: 0.6754 MB / 1.378 GB, free: 11.96 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005728/0.4014, allocations: 2.019 MB / 1.38 GB, free: 9.938 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003596/0.405, allocations: 1.243 MB / 1.382 GB, free: 8.707 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005824/0.4108, allocations: 3.481 MB / 1.385 GB, free: 5.215 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001855/0.4127, allocations: 0.8223 MB / 1.386 GB, free: 4.371 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003955/0.4167, allocations: 1.454 MB / 1.387 GB, free: 2.918 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00187/0.4185, allocations: 0.9217 MB / 1.388 GB, free: 1.992 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003398/0.4189, allocations: 100 kB / 1.388 GB, free: 1.895 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002481/0.4213, allocations: 0.9397 MB / 1.389 GB, free: 0.9531 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004745/0.4218, allocations: 294.8 kB / 1.389 GB, free: 0.6641 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.423, allocations: 0.6376 MB / 1.39 GB, free: 24 kB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003958/0.427, allocations: 1.989 MB / 1.392 GB, free: 14.03 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.427, allocations: 0 / 1.392 GB, free: 14.03 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.663e-06/0.427, allocations: 0 / 1.392 GB, free: 14.03 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.693e-05/0.427, allocations: 3.938 kB / 1.392 GB, free: 14.02 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.003091/0.4301, allocations: 1.474 MB / 1.393 GB, free: 12.51 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.4302, allocations: 8.031 kB / 1.393 GB, free: 12.5 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001701/0.4303, allocations: 118.6 kB / 1.394 GB, free: 12.38 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004514/0.4308, allocations: 148.1 kB / 1.394 GB, free: 12.23 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002176/0.433, allocations: 1.063 MB / 1.395 GB, free: 11.14 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.113e-05/0.433, allocations: 57.98 kB / 1.395 GB, free: 11.08 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.4332, allocations: 72 kB / 1.395 GB, free: 11.01 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.4346, allocations: 0.7866 MB / 1.396 GB, free: 10.19 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.573e-05/0.4347, allocations: 3.953 kB / 1.396 GB, free: 10.18 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.942e-05/0.4347, allocations: 28 kB / 1.396 GB, free: 10.16 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.614e-05/0.4348, allocations: 24 kB / 1.396 GB, free: 10.13 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.4359, allocations: 0.5711 MB / 1.396 GB, free: 9.559 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.00496/0.4409, allocations: 3.654 MB / 1.4 GB, free: 5.656 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006011/0.4415, allocations: 242.4 kB / 1.4 GB, free: 5.41 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003427/0.4418, allocations: 164.8 kB / 1.4 GB, free: 5.246 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002594/0.4421, allocations: 51.97 kB / 1.4 GB, free: 5.195 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.4421, allocations: 42.55 kB / 1.4 GB, free: 5.145 MB / 1.092 GB Notification: Performance of pre-optimization done (n=31): time 2.024e-06/0.4421, allocations: 0 / 1.4 GB, free: 5.145 MB / 1.092 GB Notification: Performance of matching and sorting (n=31): time 0.001316/0.4435, allocations: 0.5207 MB / 1.401 GB, free: 4.617 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.4435, allocations: 55.41 kB / 1.401 GB, free: 4.551 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.4449, allocations: 0.9576 MB / 1.402 GB, free: 3.574 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.482e-05/0.4449, allocations: 33.7 kB / 1.402 GB, free: 3.535 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004618/0.4454, allocations: 0.5005 MB / 1.402 GB, free: 3.027 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.4455, allocations: 119 kB / 1.402 GB, free: 2.91 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.4457, allocations: 114.2 kB / 1.403 GB, free: 2.789 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4458, allocations: 333.9 kB / 1.403 GB, free: 2.457 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/0.4462, allocations: 161.2 kB / 1.403 GB, free: 2.301 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000544/0.4468, allocations: 355.8 kB / 1.403 GB, free: 1.875 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008871/0.4476, allocations: 0.5154 MB / 1.404 GB, free: 1.289 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4476, allocations: 0 / 1.404 GB, free: 1.289 MB / 1.092 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001284/0.4489, allocations: 0.6252 MB / 1.404 GB, free: 0.6562 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.449, allocations: 9.406 kB / 1.404 GB, free: 0.6484 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.449, allocations: 4.688 kB / 1.404 GB, free: 0.6445 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.449, allocations: 11.94 kB / 1.404 GB, free: 0.6328 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/0.4494, allocations: 135.7 kB / 1.405 GB, free: 0.5 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.4495, allocations: 8 kB / 1.405 GB, free: 0.4922 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006801/0.4501, allocations: 83.42 kB / 1.405 GB, free: 420 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-05/0.4502, allocations: 27.94 kB / 1.405 GB, free: 392 kB / 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.0004491/0.4506, allocations: 273.7 kB / 1.405 GB, free: 108 kB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/0.4509, allocations: 107.3 kB / 1.405 GB, free: 0 / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.4519, allocations: 0.4891 MB / 1.406 GB, free: 15.5 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.4519, allocations: 4 kB / 1.406 GB, free: 15.5 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.4519, allocations: 0 / 1.406 GB, free: 15.5 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007822/0.4527, allocations: 457.5 kB / 1.406 GB, free: 15.02 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002344/0.455, allocations: 1.339 MB / 1.407 GB, free: 13.62 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.4551, allocations: 0 / 1.407 GB, free: 13.62 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003389/0.4554, allocations: 79.83 kB / 1.407 GB, free: 13.54 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.4554, allocations: 4 kB / 1.407 GB, free: 13.54 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/0.4554, allocations: 11.98 kB / 1.407 GB, free: 13.52 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.4554, allocations: 4 kB / 1.407 GB, free: 13.52 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4554, allocations: 0 / 1.407 GB, free: 13.52 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.4568, allocations: 0.7802 MB / 1.408 GB, free: 12.71 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004019/0.4572, allocations: 163.1 kB / 1.408 GB, free: 12.55 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.4574, allocations: 8 kB / 1.408 GB, free: 12.54 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005212/0.4579, allocations: 32.03 kB / 1.408 GB, free: 12.51 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.127e-05/0.458, allocations: 27.95 kB / 1.408 GB, free: 12.48 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.145e-05/0.458, allocations: 19.92 kB / 1.408 GB, free: 12.46 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0009903/0.459, allocations: 0.6708 MB / 1.409 GB, free: 11.79 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/0.459, allocations: 0 / 1.409 GB, free: 11.79 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.00104/0.46, allocations: 343.2 kB / 1.409 GB, free: 11.45 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.00231/0.4623, allocations: 1.593 MB / 1.411 GB, free: 9.82 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0009554/0.4633, allocations: 403.9 kB / 1.411 GB, free: 9.426 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.4633, allocations: 4 kB / 1.411 GB, free: 9.422 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.000396/0.4637, allocations: 176.9 kB / 1.411 GB, free: 9.25 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002863/0.4666, allocations: 0.6118 MB / 1.412 GB, free: 8.648 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.4779, allocations: 6.869 MB / 1.419 GB, free: 1.484 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008334/0.4787, allocations: 1.048 MB / 1.42 GB, free: 416 kB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000912/0.4797, allocations: 199.5 kB / 1.42 GB, free: 216 kB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000633/0.4803, allocations: 375.3 kB / 1.42 GB, free: 15.84 MB / 1.123 GB Notification: Performance of SimCode: time 8.92e-07/0.4803, allocations: 0 / 1.42 GB, free: 15.84 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07624/0.5565, allocations: 30.29 MB / 1.45 GB, free: 1.98 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/13.68, allocations: 6.984 kB / 1.45 GB, free: 1.977 MB / 1.139 GB " [Timeout remaining time 286] (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: 20.397274901159108]