Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.QLat_flow|hex.mWat1_flow|hex.mWat2_flow|hex.Q1_flow|hex.Q2_flow|hex.mWat_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") translateModel(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.QLat_flow|hex.mWat1_flow|hex.mWat2_flow|hex.Q1_flow|hex.Q2_flow|hex.mWat_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.152/1.152, allocations: 249.4 MB / 256.7 MB, free: 15.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009895/0.0009895, allocations: 185.1 kB / 316 MB, free: 7.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.259/1.259, allocations: 205.1 MB / 0.5667 GB, free: 24.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008629/0.0008631, allocations: 98.33 kB / 0.671 GB, free: 1.328 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 7.484e-06/7.494e-06, allocations: 4 kB / 0.7807 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.4273, allocations: 106.3 MB / 0.8846 GB, free: 76.37 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.064/4.491, allocations: 2.207 GB / 3.091 GB, free: 299.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001868/4.492, allocations: 86.2 kB / 3.092 GB, free: 299.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.667/7.158, allocations: 0.969 GB / 4.061 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.985e-05/7.158, allocations: 33.73 kB / 4.061 GB, free: 141.7 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004359/7.163, allocations: 1.753 MB / 4.062 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/7.163, allocations: 10.31 kB / 4.062 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002823/7.166, allocations: 0.6006 MB / 4.063 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/7.168, allocations: 1.049 MB / 4.064 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005587/7.168, allocations: 182.3 kB / 4.064 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/7.168, allocations: 56.12 kB / 4.064 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001438/7.17, allocations: 1.057 MB / 4.065 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/7.171, allocations: 1.034 MB / 4.066 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/7.171, allocations: 0 / 4.066 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.861e-05/7.171, allocations: 0 / 4.066 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.815e-05/7.171, allocations: 54.64 kB / 4.066 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005131/7.176, allocations: 4.097 MB / 4.07 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009008/7.177, allocations: 0.7276 MB / 4.071 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005519/7.178, allocations: 0.5046 MB / 4.071 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008019/7.179, allocations: 0.6152 MB / 4.072 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/7.179, allocations: 45.38 kB / 4.072 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 1.794e-06/7.179, allocations: 0 / 4.072 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.002091/7.181, allocations: 1.193 MB / 4.073 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.02e-05/7.181, allocations: 59.78 kB / 4.073 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000542/7.181, allocations: 0.5651 MB / 4.074 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.242e-05/7.181, allocations: 29.14 kB / 4.074 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/7.182, allocations: 330.4 kB / 4.074 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000164/7.182, allocations: 249.8 kB / 4.074 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/7.182, allocations: 6.688 kB / 4.074 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.939e-05/7.182, allocations: 334.9 kB / 4.075 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005103/7.182, allocations: 409 kB / 4.075 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005735/7.183, allocations: 0.5345 MB / 4.076 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/7.184, allocations: 0.6165 MB / 4.076 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/7.184, allocations: 0 / 4.076 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001838/7.186, allocations: 1.222 MB / 4.077 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.597e-05/7.186, allocations: 453.2 kB / 4.078 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/7.186, allocations: 0 / 4.078 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/7.186, allocations: 6.875 kB / 4.078 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/7.188, allocations: 286.9 kB / 4.078 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004905/7.188, allocations: 1.209 MB / 4.079 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/7.189, allocations: 188.5 kB / 4.08 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/7.189, allocations: 38.72 kB / 4.08 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.899e-06/7.189, allocations: 3.562 kB / 4.08 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001749/7.191, allocations: 1.094 MB / 4.081 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/7.191, allocations: 3.938 kB / 4.081 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.881e-06/7.191, allocations: 7.375 kB / 4.081 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/7.192, allocations: 271.5 kB / 4.081 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/7.192, allocations: 6.562 kB / 4.081 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/7.194, allocations: 180 kB / 4.081 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.04e-05/7.194, allocations: 45.44 kB / 4.081 GB, free: 135.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001691/7.194, allocations: 124.2 kB / 4.081 GB, free: 135.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/7.194, allocations: 98.34 kB / 4.081 GB, free: 135.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002036/7.196, allocations: 1.267 MB / 4.083 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/7.196, allocations: 6.375 kB / 4.083 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/7.196, allocations: 0 / 4.083 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/7.196, allocations: 5.625 kB / 4.083 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003504/7.2, allocations: 2.648 MB / 4.085 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/7.2, allocations: 10.06 kB / 4.085 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/7.201, allocations: 270.4 kB / 4.085 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/7.201, allocations: 6.906 kB / 4.085 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.71e-05/7.201, allocations: 15.09 kB / 4.085 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003151/7.201, allocations: 1.207 MB / 4.087 GB, free: 134 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/7.201, allocations: 9.875 kB / 4.087 GB, free: 134 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001725/7.203, allocations: 1.532 MB / 4.088 GB, free: 133.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003699/7.203, allocations: 307.5 kB / 4.088 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/7.204, allocations: 7.188 kB / 4.088 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/7.205, allocations: 170.5 kB / 4.089 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/7.205, allocations: 56.86 kB / 4.089 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.338e-05/7.205, allocations: 41.48 kB / 4.089 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0003806/7.205, allocations: 441.2 kB / 4.089 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00146/7.207, allocations: 0.6896 MB / 4.09 GB, free: 133.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002405/7.209, allocations: 2.633 MB / 4.092 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002233/7.211, allocations: 1.603 MB / 4.094 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/7.211, allocations: 0 / 4.094 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007486/7.212, allocations: 0.5417 MB / 4.094 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/7.214, allocations: 407.4 kB / 4.095 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/7.228, allocations: 2.409 MB / 4.097 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008916/7.229, allocations: 1.232 MB / 4.098 GB, free: 131.1 MB / 0.8855 GB Notification: Performance of SimCode: time 5.21e-07/7.229, allocations: 0 / 4.098 GB, free: 131.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.04568/7.275, allocations: 38.38 MB / 4.136 GB, free: 130.4 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches