Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") [: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.202/1.202, allocations: 249.4 MB / 256.7 MB, free: 7.078 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009527/0.0009527, allocations: 173.2 kB / 316 MB, free: 3.594 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.047/1.047, allocations: 205.1 MB / 0.5667 GB, free: 15.73 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.0007792/0.0007792, allocations: 97.25 kB / 0.671 GB, free: 4.855 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.332e-06/6.352e-06, allocations: 0 / 0.7807 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1713, allocations: 106.3 MB / 0.8846 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4/4.172, allocations: 2.193 GB / 3.077 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/4.172, allocations: 89.86 kB / 3.077 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.088/5.26, allocations: 450 MB / 3.517 GB, free: 68.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.608e-05/5.26, allocations: 44.14 kB / 3.517 GB, free: 68.46 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001902/5.262, allocations: 1.251 MB / 3.518 GB, free: 67.16 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/5.262, allocations: 8.031 kB / 3.518 GB, free: 67.15 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/5.264, allocations: 334.2 kB / 3.518 GB, free: 66.82 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/5.265, allocations: 0.8751 MB / 3.519 GB, free: 65.91 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/5.265, allocations: 28 kB / 3.519 GB, free: 65.88 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/5.265, allocations: 55.94 kB / 3.519 GB, free: 65.82 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001068/5.266, allocations: 0.7379 MB / 3.52 GB, free: 65.09 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/5.267, allocations: 0.8611 MB / 3.521 GB, free: 64.21 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/5.268, allocations: 0 / 3.521 GB, free: 64.21 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.949e-05/5.268, allocations: 0 / 3.521 GB, free: 64.21 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.345e-05/5.268, allocations: 38 kB / 3.521 GB, free: 64.17 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003962/5.272, allocations: 3.327 MB / 3.524 GB, free: 60.63 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005727/5.272, allocations: 448.9 kB / 3.524 GB, free: 60.18 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/5.272, allocations: 254.1 kB / 3.525 GB, free: 59.93 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/5.273, allocations: 101.5 kB / 3.525 GB, free: 59.81 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/5.273, allocations: 51 kB / 3.525 GB, free: 59.75 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 1.523e-06/5.273, allocations: 0 / 3.525 GB, free: 59.75 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49): time 0.002343/5.275, allocations: 1.322 MB / 3.526 GB, free: 58.37 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.921e-05/5.275, allocations: 63.84 kB / 3.526 GB, free: 58.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004788/5.276, allocations: 0.5426 MB / 3.527 GB, free: 57.75 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/5.276, allocations: 25.7 kB / 3.527 GB, free: 57.72 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/5.276, allocations: 394.8 kB / 3.527 GB, free: 57.32 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.724e-05/5.276, allocations: 169.5 kB / 3.527 GB, free: 57.16 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/5.276, allocations: 0 / 3.527 GB, free: 57.16 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.336e-05/5.276, allocations: 374.8 kB / 3.528 GB, free: 56.78 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/5.276, allocations: 209.2 kB / 3.528 GB, free: 56.58 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/5.277, allocations: 356.3 kB / 3.528 GB, free: 56.17 MB / 0.8698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002059/5.279, allocations: 0.8692 MB / 3.529 GB, free: 55.28 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/5.279, allocations: 8 kB / 3.529 GB, free: 55.27 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008362/5.279, allocations: 0.6733 MB / 3.53 GB, free: 54.59 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/5.279, allocations: 4 kB / 3.53 GB, free: 54.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/5.279, allocations: 8 kB / 3.53 GB, free: 54.58 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/5.28, allocations: 61.69 kB / 3.53 GB, free: 54.51 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005463/5.28, allocations: 135.8 kB / 3.53 GB, free: 54.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/5.282, allocations: 2.641 MB / 3.533 GB, free: 51.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007617/5.282, allocations: 55.83 kB / 3.533 GB, free: 51.45 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/5.282, allocations: 24 kB / 3.533 GB, free: 51.43 MB / 0.8698 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * 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 initialization (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001248/5.283, allocations: 128.7 kB / 3.533 GB, free: 51.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/5.283, allocations: 79.06 kB / 3.533 GB, free: 51.22 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/5.283, allocations: 87.2 kB / 3.533 GB, free: 51.13 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/5.283, allocations: 4 kB / 3.533 GB, free: 51.12 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/5.283, allocations: 0 / 3.533 GB, free: 51.12 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005956/5.283, allocations: 0.7637 MB / 3.534 GB, free: 50.27 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/5.285, allocations: 1.578 MB / 3.535 GB, free: 48.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/5.285, allocations: 4 kB / 3.535 GB, free: 48.61 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005233/5.286, allocations: 111.9 kB / 3.535 GB, free: 48.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.262e-05/5.286, allocations: 45.17 kB / 3.535 GB, free: 48.45 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/5.286, allocations: 4 kB / 3.535 GB, free: 48.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007032/5.287, allocations: 1.35 MB / 3.537 GB, free: 46.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/5.287, allocations: 8.062 kB / 3.537 GB, free: 46.98 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009282/5.288, allocations: 1.117 MB / 3.538 GB, free: 45.72 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000289/5.288, allocations: 236.1 kB / 3.538 GB, free: 45.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/5.288, allocations: 4 kB / 3.538 GB, free: 45.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007575/5.289, allocations: 59.86 kB / 3.538 GB, free: 45.41 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/5.289, allocations: 43.8 kB / 3.538 GB, free: 45.36 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-05/5.289, allocations: 31.98 kB / 3.538 GB, free: 45.33 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0003651/5.289, allocations: 423.1 kB / 3.539 GB, free: 44.92 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001075/5.29, allocations: 356 kB / 3.539 GB, free: 44.57 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00139/5.292, allocations: 1.438 MB / 3.54 GB, free: 43.08 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007769/5.293, allocations: 0.6884 MB / 3.541 GB, free: 42.38 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/5.293, allocations: 8.25 kB / 3.541 GB, free: 42.37 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003164/5.293, allocations: 345.4 kB / 3.541 GB, free: 42.02 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001759/5.295, allocations: 432.8 kB / 3.542 GB, free: 41.61 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/5.297, allocations: 1.359 MB / 3.543 GB, free: 40.19 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00061/5.298, allocations: 1.194 MB / 3.544 GB, free: 38.97 MB / 0.8698 GB Notification: Performance of SimCode: time 2.61e-07/5.298, allocations: 0 / 3.544 GB, free: 38.97 MB / 0.8698 GB Notification: Performance of Templates: time 0.02835/5.326, allocations: 22.81 MB / 3.566 GB, free: 16.29 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches