Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008246/0.008246, allocations: 101.5 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 188.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.605/2.605, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001418, allocations: 63.84 kB / 1.054 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3132, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.7376/1.051, allocations: 77.15 MB / 1.283 GB, free: 14.54 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02956/1.081, allocations: 18.88 MB / 1.301 GB, free: 5.16 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004884/1.085, allocations: 116.5 kB / 1.301 GB, free: 5.113 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004059/1.09, allocations: 1.249 MB / 1.302 GB, free: 4.344 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01229/1.102, allocations: 3.629 MB / 1.306 GB, free: 2.18 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006886/1.109, allocations: 2.095 MB / 1.308 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01174/1.121, allocations: 6.676 MB / 1.315 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003831/1.124, allocations: 2.089 MB / 1.317 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00655/1.131, allocations: 2.377 MB / 1.319 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004193/1.135, allocations: 1.76 MB / 1.321 GB, free: 10.87 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0007082/1.136, allocations: 201.8 kB / 1.321 GB, free: 10.87 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00595/1.142, allocations: 1.61 MB / 1.322 GB, free: 10.22 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.00112/1.143, allocations: 0.5351 MB / 1.323 GB, free: 9.895 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002939/1.146, allocations: 1.248 MB / 1.324 GB, free: 9.133 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.008866/1.155, allocations: 3.738 MB / 1.328 GB, free: 7.711 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/1.155, allocations: 1 kB / 1.328 GB, free: 7.711 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.074e-06/1.155, allocations: 0 / 1.328 GB, free: 7.711 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.397e-05/1.155, allocations: 0 / 1.328 GB, free: 7.711 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.00696/1.162, allocations: 2.716 MB / 1.33 GB, free: 5.984 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/1.162, allocations: 9.188 kB / 1.33 GB, free: 5.984 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002804/1.162, allocations: 197.9 kB / 1.331 GB, free: 5.859 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009585/1.163, allocations: 270.5 kB / 1.331 GB, free: 5.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004418/1.168, allocations: 2.016 MB / 1.333 GB, free: 4.629 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/1.168, allocations: 109.9 kB / 1.333 GB, free: 4.578 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002416/1.168, allocations: 139.1 kB / 1.333 GB, free: 4.535 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003164/1.171, allocations: 1.517 MB / 1.335 GB, free: 3.824 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.648e-05/1.171, allocations: 14.5 kB / 1.335 GB, free: 3.812 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/1.172, allocations: 57.03 kB / 1.335 GB, free: 3.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-05/1.172, allocations: 46.5 kB / 1.335 GB, free: 3.762 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002594/1.174, allocations: 1.122 MB / 1.336 GB, free: 3.371 MB / 1.029 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.01151/1.186, allocations: 7.604 MB / 1.343 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009929/1.187, allocations: 482 kB / 1.344 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006426/1.187, allocations: 333.2 kB / 1.344 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009075/1.188, allocations: 1.153 MB / 1.345 GB, free: 11.95 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/1.188, allocations: 39.56 kB / 1.345 GB, free: 11.91 MB / 1.045 GB Notification: Performance of pre-optimization done (n=59): time 2.715e-06/1.188, allocations: 0 / 1.345 GB, free: 11.91 MB / 1.045 GB Notification: Performance of matching and sorting (n=59): time 0.002613/1.191, allocations: 0.9684 MB / 1.346 GB, free: 11.43 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/1.191, allocations: 57.75 kB / 1.346 GB, free: 11.37 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002668/1.194, allocations: 1.78 MB / 1.348 GB, free: 10.38 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001504/1.194, allocations: 39.73 kB / 1.348 GB, free: 10.34 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008676/1.195, allocations: 0.9385 MB / 1.349 GB, free: 9.512 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003864/1.195, allocations: 222.3 kB / 1.349 GB, free: 9.32 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003467/1.196, allocations: 221.5 kB / 1.349 GB, free: 9.191 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.196, allocations: 352.2 kB / 1.35 GB, free: 8.852 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007335/1.196, allocations: 335.8 kB / 1.35 GB, free: 8.688 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/1.197, allocations: 0.6879 MB / 1.351 GB, free: 8.066 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/1.199, allocations: 1.012 MB / 1.352 GB, free: 7.293 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/1.199, allocations: 3.375 kB / 1.352 GB, free: 7.293 MB / 1.045 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002645/1.202, allocations: 1.213 MB / 1.353 GB, free: 6.688 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/1.202, allocations: 13.34 kB / 1.353 GB, free: 6.684 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/1.202, allocations: 10.28 kB / 1.353 GB, free: 6.684 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.091e-05/1.202, allocations: 14.94 kB / 1.353 GB, free: 6.684 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/1.203, allocations: 288.9 kB / 1.353 GB, free: 6.609 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-05/1.203, allocations: 18.78 kB / 1.353 GB, free: 6.605 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/1.205, allocations: 169.5 kB / 1.353 GB, free: 6.492 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/1.205, allocations: 52.02 kB / 1.353 GB, free: 6.48 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0008847/1.206, allocations: 443.4 kB / 1.354 GB, free: 6.16 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005291/1.206, allocations: 191.9 kB / 1.354 GB, free: 6.062 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001981/1.208, allocations: 0.8712 MB / 1.355 GB, free: 5.574 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/1.208, allocations: 6.5 kB / 1.355 GB, free: 5.574 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/1.208, allocations: 0 / 1.355 GB, free: 5.574 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001403/1.21, allocations: 0.7953 MB / 1.356 GB, free: 5.047 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0047/1.214, allocations: 2.446 MB / 1.358 GB, free: 3.328 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/1.214, allocations: 6.438 kB / 1.358 GB, free: 3.324 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008133/1.215, allocations: 186.8 kB / 1.358 GB, free: 3.266 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/1.215, allocations: 4.469 kB / 1.358 GB, free: 3.266 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-05/1.215, allocations: 15.28 kB / 1.358 GB, free: 3.258 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/1.215, allocations: 4.531 kB / 1.358 GB, free: 3.258 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.215, allocations: 2.125 kB / 1.358 GB, free: 3.258 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00263/1.218, allocations: 1.333 MB / 1.359 GB, free: 2.469 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009125/1.219, allocations: 372.1 kB / 1.36 GB, free: 2.156 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002525/1.219, allocations: 13.47 kB / 1.36 GB, free: 2.148 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009751/1.22, allocations: 73.33 kB / 1.36 GB, free: 2.105 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/1.22, allocations: 50.44 kB / 1.36 GB, free: 2.078 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.413e-05/1.22, allocations: 39.34 kB / 1.36 GB, free: 2.062 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001921/1.222, allocations: 1.238 MB / 1.361 GB, free: 1.375 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.8e-07/1.222, allocations: 1.375 kB / 1.361 GB, free: 1.375 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00242/1.225, allocations: 0.6555 MB / 1.362 GB, free: 1.215 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.004077/1.229, allocations: 2.389 MB / 1.364 GB, free: 15.66 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001816/1.231, allocations: 0.8186 MB / 1.365 GB, free: 15.3 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.231, allocations: 3.469 kB / 1.365 GB, free: 15.3 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006876/1.231, allocations: 357 kB / 1.365 GB, free: 15.15 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005699/1.237, allocations: 1.194 MB / 1.366 GB, free: 14.52 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/1.256, allocations: 12.55 MB / 1.379 GB, free: 5.867 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00094/1.257, allocations: 1.405 MB / 1.38 GB, free: 4.422 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001709/1.258, allocations: 379.3 kB / 1.38 GB, free: 4.055 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009912/1.259, allocations: 0.7687 MB / 1.381 GB, free: 3.285 MB / 1.061 GB Notification: Performance of SimCode: time 8.22e-07/1.259, allocations: 4 kB / 1.381 GB, free: 3.281 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09893/1.358, allocations: 58.47 MB / 1.438 GB, free: 9.457 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/12.78, allocations: 23.41 kB / 1.438 GB, free: 9.441 MB / 1.123 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches