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.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.FourPortHeatMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",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.001283/0.001283, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001233/0.001233, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.394/1.394, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.689/2.689, allocations: 461.8 MB / 0.7342 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 65.44 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2967, allocations: 157.4 MB / 1.052 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04673/0.3435, allocations: 41.35 MB / 1.093 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01635/0.3598, allocations: 10.46 MB / 1.103 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001984/0.3619, allocations: 51.69 kB / 1.103 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001991/0.3639, allocations: 0.5322 MB / 1.103 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005499/0.3694, allocations: 1.742 MB / 1.105 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00323/0.3727, allocations: 1.07 MB / 1.106 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005594/0.3783, allocations: 4.518 MB / 1.111 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001634/0.3799, allocations: 0.8754 MB / 1.111 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002436/0.3824, allocations: 1.042 MB / 1.112 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00186/0.3843, allocations: 0.8944 MB / 1.113 GB, free: 9.43 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003158/0.3846, allocations: 48 kB / 1.113 GB, free: 9.383 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002551/0.3871, allocations: 0.7872 MB / 1.114 GB, free: 8.594 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005303/0.3877, allocations: 223 kB / 1.114 GB, free: 8.375 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001258/0.3889, allocations: 0.5791 MB / 1.115 GB, free: 7.793 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003679/0.3926, allocations: 1.877 MB / 1.117 GB, free: 5.91 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3927, allocations: 0 / 1.117 GB, free: 5.91 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3927, allocations: 0 / 1.117 GB, free: 5.91 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.113e-05/0.3927, allocations: 0 / 1.117 GB, free: 5.91 MB / 0.8731 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.00408/0.3968, allocations: 1.507 MB / 1.118 GB, free: 4.348 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.3969, allocations: 15.97 kB / 1.118 GB, free: 4.332 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000227/0.3971, allocations: 114.7 kB / 1.118 GB, free: 4.211 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005065/0.3976, allocations: 143.4 kB / 1.118 GB, free: 4.07 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.3998, allocations: 1.084 MB / 1.119 GB, free: 2.945 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.366e-05/0.3998, allocations: 54 kB / 1.12 GB, free: 2.891 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.4, allocations: 75.91 kB / 1.12 GB, free: 2.816 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.4016, allocations: 0.7905 MB / 1.12 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.4016, allocations: 0 / 1.12 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-05/0.4017, allocations: 32 kB / 1.12 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.071e-05/0.4018, allocations: 23.98 kB / 1.12 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.4031, allocations: 0.5711 MB / 1.121 GB, free: 1.367 MB / 0.8731 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.004934/0.408, allocations: 3.544 MB / 1.124 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006074/0.4086, allocations: 264.5 kB / 1.125 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003534/0.409, allocations: 174.2 kB / 1.125 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000619/0.4096, allocations: 0.6571 MB / 1.126 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.4097, allocations: 34.56 kB / 1.126 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=31): time 1.783e-06/0.4097, allocations: 0 / 1.126 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of matching and sorting (n=31): time 0.001267/0.411, allocations: 0.5168 MB / 1.126 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.411, allocations: 55.41 kB / 1.126 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.4123, allocations: 0.9377 MB / 1.127 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.4123, allocations: 29.7 kB / 1.127 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004337/0.4127, allocations: 0.4918 MB / 1.128 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.4129, allocations: 122.4 kB / 1.128 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.4131, allocations: 114.1 kB / 1.128 GB, free: 9.992 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.4132, allocations: 329.9 kB / 1.128 GB, free: 9.664 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003688/0.4136, allocations: 165 kB / 1.128 GB, free: 9.5 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004898/0.4141, allocations: 350.9 kB / 1.129 GB, free: 9.086 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008921/0.415, allocations: 0.5148 MB / 1.129 GB, free: 8.5 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.415, allocations: 3.938 kB / 1.129 GB, free: 8.496 MB / 0.8887 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001352/0.4164, allocations: 0.6092 MB / 1.13 GB, free: 7.879 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.4164, allocations: 8 kB / 1.13 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.4164, allocations: 11.94 kB / 1.13 GB, free: 7.859 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.4165, allocations: 8.594 kB / 1.13 GB, free: 7.852 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004298/0.4169, allocations: 123.8 kB / 1.13 GB, free: 7.73 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.072e-05/0.4169, allocations: 15.92 kB / 1.13 GB, free: 7.715 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007437/0.4177, allocations: 107.2 kB / 1.13 GB, free: 7.609 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.803e-05/0.4177, allocations: 31.92 kB / 1.13 GB, free: 7.578 MB / 0.8887 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.0004035/0.4182, allocations: 269.6 kB / 1.13 GB, free: 7.305 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.4184, allocations: 98.78 kB / 1.13 GB, free: 7.207 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.4194, allocations: 0.4923 MB / 1.131 GB, free: 6.707 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.4195, allocations: 4 kB / 1.131 GB, free: 6.703 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.4195, allocations: 8.047 kB / 1.131 GB, free: 6.695 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007815/0.4203, allocations: 451 kB / 1.131 GB, free: 6.227 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/0.4226, allocations: 1.35 MB / 1.133 GB, free: 4.805 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/0.4226, allocations: 4 kB / 1.133 GB, free: 4.801 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003799/0.423, allocations: 75.83 kB / 1.133 GB, free: 4.727 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.423, allocations: 4 kB / 1.133 GB, free: 4.723 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.423, allocations: 8 kB / 1.133 GB, free: 4.715 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.423, allocations: 3.984 kB / 1.133 GB, free: 4.711 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.423, allocations: 4 kB / 1.133 GB, free: 4.707 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.4243, allocations: 0.7667 MB / 1.133 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003607/0.4247, allocations: 227.6 kB / 1.134 GB, free: 3.668 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.4249, allocations: 8 kB / 1.134 GB, free: 3.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005862/0.4255, allocations: 52.02 kB / 1.134 GB, free: 3.609 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.979e-05/0.4256, allocations: 27.95 kB / 1.134 GB, free: 3.582 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-05/0.4256, allocations: 15.98 kB / 1.134 GB, free: 3.566 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008995/0.4265, allocations: 0.651 MB / 1.134 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4265, allocations: 0 / 1.134 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00103/0.4276, allocations: 323.5 kB / 1.135 GB, free: 2.59 MB / 0.8887 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.002615/0.4302, allocations: 1.6 MB / 1.136 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0009208/0.4311, allocations: 420.2 kB / 1.137 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.4311, allocations: 4 kB / 1.137 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003744/0.4315, allocations: 179.8 kB / 1.137 GB, free: 372 kB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002862/0.4344, allocations: 0.595 MB / 1.137 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/0.4473, allocations: 7.469 MB / 1.145 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007872/0.4481, allocations: 1.044 MB / 1.146 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009499/0.4491, allocations: 197.5 kB / 1.146 GB, free: 6.645 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005093/0.4496, allocations: 371.3 kB / 1.146 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of SimCode: time 1.072e-06/0.4497, allocations: 3.938 kB / 1.146 GB, free: 6.277 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05408/0.5037, allocations: 28.35 MB / 1.174 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002692/0.504, allocations: 259.4 kB / 1.174 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.637/3.141, allocations: 5.438 kB / 1.174 GB, free: 10.01 MB / 0.9356 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) 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) Reference file matches