Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.001266/0.001266, allocations: 111.8 kB / 18.14 MB, free: 3.781 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.00126/0.00126, allocations: 202 kB / 21.43 MB, free: 0.5 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.541/1.541, allocations: 225.6 MB / 250.2 MB, free: 13.27 MB / 206.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.773/2.773, allocations: 476.7 MB / 0.7637 GB, free: 10.08 MB / 0.6231 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.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 67.88 kB / 1.108 GB, free: 7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8448/0.8468, allocations: 168.7 MB / 1.273 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1783/1.025, allocations: 149.5 MB / 1.419 GB, free: 14.24 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.001664/1.027, allocations: 1.15 MB / 1.42 GB, free: 13.09 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/1.027, allocations: 4 kB / 1.42 GB, free: 13.08 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0003585/1.027, allocations: 51.67 kB / 1.42 GB, free: 13.03 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0008074/1.028, allocations: 318.6 kB / 1.42 GB, free: 12.72 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/1.028, allocations: 163.4 kB / 1.42 GB, free: 12.56 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00047/1.029, allocations: 231.3 kB / 1.421 GB, free: 12.33 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/1.029, allocations: 37.09 kB / 1.421 GB, free: 12.3 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 8.922e-05/1.029, allocations: 59.77 kB / 1.421 GB, free: 12.24 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 9.693e-05/1.029, allocations: 59.7 kB / 1.421 GB, free: 12.18 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/1.029, allocations: 12 kB / 1.421 GB, free: 12.17 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006015/1.03, allocations: 379.2 kB / 1.421 GB, free: 11.8 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 5.95e-05/1.03, allocations: 31.84 kB / 1.421 GB, free: 11.77 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 7e-05/1.03, allocations: 63.67 kB / 1.421 GB, free: 11.7 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0004662/1.03, allocations: 287 kB / 1.422 GB, free: 11.42 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.03, allocations: 0 / 1.422 GB, free: 11.42 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.553e-06/1.03, allocations: 4 kB / 1.422 GB, free: 11.42 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.212e-05/1.03, allocations: 0 / 1.422 GB, free: 11.42 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007382/1.031, allocations: 478.4 kB / 1.422 GB, free: 10.9 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/1.031, allocations: 12.02 kB / 1.422 GB, free: 10.89 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.626e-05/1.031, allocations: 38.75 kB / 1.422 GB, free: 10.84 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002849/1.032, allocations: 44.81 kB / 1.422 GB, free: 10.8 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/1.032, allocations: 211.9 kB / 1.422 GB, free: 10.55 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/1.032, allocations: 8 kB / 1.422 GB, free: 10.55 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/1.032, allocations: 12 kB / 1.422 GB, free: 10.54 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/1.032, allocations: 120.2 kB / 1.422 GB, free: 10.41 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/1.032, allocations: 7.938 kB / 1.422 GB, free: 10.41 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/1.032, allocations: 4 kB / 1.422 GB, free: 10.4 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/1.032, allocations: 0 / 1.422 GB, free: 10.4 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/1.033, allocations: 95.94 kB / 1.423 GB, free: 10.31 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000724/1.033, allocations: 456.2 kB / 1.423 GB, free: 9.812 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/1.033, allocations: 82.61 kB / 1.423 GB, free: 9.723 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/1.034, allocations: 48.77 kB / 1.423 GB, free: 9.672 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/1.034, allocations: 3.984 kB / 1.423 GB, free: 9.668 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/1.034, allocations: 30.56 kB / 1.423 GB, free: 9.629 MB / 1.123 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/1.034, allocations: 4 kB / 1.423 GB, free: 9.625 MB / 1.123 GB Notification: Performance of matching and sorting (n=7): time 0.0004679/1.034, allocations: 137.5 kB / 1.423 GB, free: 9.484 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/1.034, allocations: 55.41 kB / 1.423 GB, free: 9.418 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/1.034, allocations: 186.4 kB / 1.424 GB, free: 9.227 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/1.034, allocations: 25.7 kB / 1.424 GB, free: 9.195 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 8.822e-05/1.034, allocations: 116 kB / 1.424 GB, free: 9.078 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/1.035, allocations: 27.78 kB / 1.424 GB, free: 9.051 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.016e-05/1.035, allocations: 21.72 kB / 1.424 GB, free: 9.023 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.035, allocations: 326.8 kB / 1.424 GB, free: 8.695 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/1.035, allocations: 35.91 kB / 1.424 GB, free: 8.66 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/1.035, allocations: 35.98 kB / 1.424 GB, free: 8.625 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/1.035, allocations: 77.27 kB / 1.424 GB, free: 8.547 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.035, allocations: 0 / 1.424 GB, free: 8.547 MB / 1.123 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002838/1.035, allocations: 113.6 kB / 1.424 GB, free: 8.43 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/1.035, allocations: 4 kB / 1.424 GB, free: 8.426 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/1.035, allocations: 0 / 1.424 GB, free: 8.426 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/1.035, allocations: 11.94 kB / 1.424 GB, free: 8.414 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/1.036, allocations: 19.92 kB / 1.424 GB, free: 8.395 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/1.036, allocations: 0 / 1.424 GB, free: 8.395 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.987e-05/1.036, allocations: 15.88 kB / 1.424 GB, free: 8.379 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/1.036, allocations: 4 kB / 1.424 GB, free: 8.375 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0001079/1.036, allocations: 121.8 kB / 1.424 GB, free: 8.246 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/1.036, allocations: 15.91 kB / 1.424 GB, free: 8.23 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003366/1.036, allocations: 131 kB / 1.425 GB, free: 8.094 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/1.036, allocations: 0 / 1.425 GB, free: 8.094 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.036, allocations: 0 / 1.425 GB, free: 8.094 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/1.036, allocations: 3.984 kB / 1.425 GB, free: 8.09 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/1.037, allocations: 217.5 kB / 1.425 GB, free: 7.828 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.037, allocations: 7.938 kB / 1.425 GB, free: 7.82 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/1.037, allocations: 19.98 kB / 1.425 GB, free: 7.801 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/1.037, allocations: 0 / 1.425 GB, free: 7.801 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/1.037, allocations: 4 kB / 1.425 GB, free: 7.797 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/1.037, allocations: 4 kB / 1.425 GB, free: 7.793 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.037, allocations: 0 / 1.425 GB, free: 7.793 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/1.037, allocations: 211.3 kB / 1.425 GB, free: 7.57 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 7.485e-05/1.037, allocations: 89 kB / 1.425 GB, free: 7.465 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/1.037, allocations: 4 kB / 1.425 GB, free: 7.461 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/1.037, allocations: 7.984 kB / 1.425 GB, free: 7.453 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/1.037, allocations: 15.97 kB / 1.425 GB, free: 7.438 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/1.037, allocations: 7.875 kB / 1.425 GB, free: 7.43 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001356/1.037, allocations: 136.2 kB / 1.425 GB, free: 7.297 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/1.037, allocations: 0 / 1.425 GB, free: 7.297 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002415/1.038, allocations: 19.95 kB / 1.425 GB, free: 7.277 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0007124/1.038, allocations: 0.7509 MB / 1.426 GB, free: 6.504 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0002751/1.039, allocations: 71.89 kB / 1.426 GB, free: 6.434 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.039, allocations: 0 / 1.426 GB, free: 6.434 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/1.039, allocations: 39.97 kB / 1.426 GB, free: 6.395 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/1.039, allocations: 38.48 kB / 1.426 GB, free: 6.359 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/1.041, allocations: 1.77 MB / 1.428 GB, free: 4.512 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/1.042, allocations: 0.7118 MB / 1.429 GB, free: 3.773 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 7.192e-05/1.042, allocations: 12.88 kB / 1.429 GB, free: 3.762 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.64e-05/1.042, allocations: 39.42 kB / 1.429 GB, free: 3.723 MB / 1.123 GB Notification: Performance of SimCode: time 8.52e-07/1.042, allocations: 0 / 1.429 GB, free: 3.723 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/1.067, allocations: 3.188 MB / 1.432 GB, free: 0.6328 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.872/8.939, allocations: 10.36 kB / 1.432 GB, free: 0.6328 MB / 1.123 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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: 15.046608301345259]