Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009342/0.0009342, allocations: 93.16 kB / 19.65 MB, free: 288 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 172.9 kB / 23.02 MB, free: 1.555 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9102/0.9102, allocations: 177.1 MB / 203.4 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.068/2.068, allocations: 429.5 MB / 0.6732 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.Xi.[0-9,]+.|volSte.Xi.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.Xi.[0-9,]+.|volSte.Xi.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 1.531 kB / 0.8782 GB, free: 5.137 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.711e-05, allocations: 2.312 kB / 0.8782 GB, free: 5.133 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5937/0.5938, allocations: 155.5 MB / 1.03 GB, free: 18.93 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.006193/0.6, allocations: 3.854 MB / 1.034 GB, free: 18.87 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.601, allocations: 55.05 kB / 1.034 GB, free: 18.87 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0007901/0.6018, allocations: 300.7 kB / 1.034 GB, free: 18.87 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002629/0.6045, allocations: 1.188 MB / 1.035 GB, free: 18.82 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002005/0.6065, allocations: 0.9027 MB / 1.036 GB, free: 18.8 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.004856/0.6113, allocations: 2.981 MB / 1.039 GB, free: 18.71 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001666/0.613, allocations: 0.7945 MB / 1.04 GB, free: 18.61 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003784/0.6168, allocations: 1.658 MB / 1.042 GB, free: 18.48 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.6184, allocations: 0.8517 MB / 1.042 GB, free: 18.39 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0003416/0.6187, allocations: 106 kB / 1.042 GB, free: 18.39 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.6198, allocations: 414.2 kB / 1.043 GB, free: 18.36 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0005217/0.6203, allocations: 0.4933 MB / 1.043 GB, free: 18.29 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.001325/0.6216, allocations: 471.2 kB / 1.044 GB, free: 18.25 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.002481/0.6241, allocations: 1.199 MB / 1.045 GB, free: 18.09 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.6241, allocations: 3.5 kB / 1.045 GB, free: 18.09 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6241, allocations: 0.9375 kB / 1.045 GB, free: 18.09 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.316e-05/0.6242, allocations: 1.438 kB / 1.045 GB, free: 18.09 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002477/0.6267, allocations: 1.488 MB / 1.046 GB, free: 17.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.6267, allocations: 10.59 kB / 1.046 GB, free: 17.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.628, allocations: 398.6 kB / 1.047 GB, free: 17.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.6291, allocations: 0.7873 MB / 1.048 GB, free: 16.94 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.863e-05/0.6291, allocations: 65.22 kB / 1.048 GB, free: 16.93 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.6293, allocations: 90.88 kB / 1.048 GB, free: 16.93 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.6303, allocations: 1 MB / 1.049 GB, free: 16.29 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.6304, allocations: 1.125 kB / 1.049 GB, free: 16.29 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.069e-05/0.6304, allocations: 35.84 kB / 1.049 GB, free: 16.29 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-05/0.6305, allocations: 34.03 kB / 1.049 GB, free: 16.29 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000672/0.6311, allocations: 357.1 kB / 1.049 GB, free: 16.28 MB / 0.9323 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.00371/0.6349, allocations: 2.189 MB / 1.051 GB, free: 15.78 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004283/0.6353, allocations: 271.8 kB / 1.052 GB, free: 15.74 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.6355, allocations: 129.1 kB / 1.052 GB, free: 15.73 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001246/0.6356, allocations: 29.95 kB / 1.052 GB, free: 15.73 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.6356, allocations: 46.39 kB / 1.052 GB, free: 15.68 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=45): time 3.887e-06/0.6356, allocations: 0.5312 kB / 1.052 GB, free: 15.68 MB / 0.9323 GB Notification: Performance of matching and sorting (n=47): time 0.001943/0.6376, allocations: 1.04 MB / 1.053 GB, free: 15.26 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.6376, allocations: 57.94 kB / 1.053 GB, free: 15.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006208/0.6382, allocations: 0.6256 MB / 1.053 GB, free: 15 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.6383, allocations: 40.67 kB / 1.053 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/0.6386, allocations: 0.5454 MB / 1.054 GB, free: 14.66 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.6387, allocations: 178 kB / 1.054 GB, free: 14.55 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.6388, allocations: 114.5 kB / 1.054 GB, free: 14.52 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.639, allocations: 0.5644 MB / 1.055 GB, free: 14.02 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.6391, allocations: 79.95 kB / 1.055 GB, free: 14.02 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/0.6394, allocations: 305.5 kB / 1.055 GB, free: 13.79 MB / 0.9323 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.0008141/0.6402, allocations: 0.5657 MB / 1.056 GB, free: 13.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.6402, allocations: 1.25 kB / 1.056 GB, free: 13.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006882/0.6409, allocations: 486.4 kB / 1.056 GB, free: 13.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.6409, allocations: 7.859 kB / 1.056 GB, free: 13.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.641, allocations: 4.344 kB / 1.056 GB, free: 13.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001442/0.6411, allocations: 48.19 kB / 1.056 GB, free: 13.48 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/0.6415, allocations: 132.7 kB / 1.056 GB, free: 13.48 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.6428, allocations: 3.524 MB / 1.06 GB, free: 10.03 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/0.6432, allocations: 26.59 kB / 1.06 GB, free: 10.02 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.544e-05/0.6432, allocations: 20.56 kB / 1.06 GB, free: 10.02 MB / 0.9323 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002736/0.6435, allocations: 202.7 kB / 1.06 GB, free: 9.855 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.6436, allocations: 96.89 kB / 1.06 GB, free: 9.816 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.6438, allocations: 83.22 kB / 1.06 GB, free: 9.797 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.6438, allocations: 6.328 kB / 1.06 GB, free: 9.797 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.6438, allocations: 1.469 kB / 1.06 GB, free: 9.797 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004715/0.6442, allocations: 0.5787 MB / 1.061 GB, free: 9.332 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.646, allocations: 1.287 MB / 1.062 GB, free: 8.852 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.646, allocations: 3.625 kB / 1.062 GB, free: 8.852 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003347/0.6463, allocations: 113.2 kB / 1.062 GB, free: 8.852 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-05/0.6464, allocations: 28.73 kB / 1.062 GB, free: 8.84 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.167e-05/0.6464, allocations: 15.45 kB / 1.062 GB, free: 8.84 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006323/0.6471, allocations: 1.786 MB / 1.064 GB, free: 7.117 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.6471, allocations: 5.422 kB / 1.064 GB, free: 7.117 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000773/0.6478, allocations: 0.6927 MB / 1.065 GB, free: 6.703 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002419/0.6481, allocations: 145.2 kB / 1.065 GB, free: 6.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.305e-05/0.6482, allocations: 14.89 kB / 1.065 GB, free: 6.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003301/0.6485, allocations: 32.42 kB / 1.065 GB, free: 6.656 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.6486, allocations: 46.94 kB / 1.065 GB, free: 6.652 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.255e-05/0.6487, allocations: 26.86 kB / 1.065 GB, free: 6.652 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004352/0.6491, allocations: 404.7 kB / 1.065 GB, free: 6.52 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.6491, allocations: 0 / 1.065 GB, free: 6.52 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0008871/0.65, allocations: 279.3 kB / 1.066 GB, free: 6.516 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.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 (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002864/0.6503, allocations: 144.6 kB / 1.066 GB, free: 6.43 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0007698/0.6511, allocations: 0.6377 MB / 1.066 GB, free: 6.074 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.6511, allocations: 2.938 kB / 1.066 GB, free: 6.074 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002869/0.6513, allocations: 324.3 kB / 1.067 GB, free: 5.895 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.6529, allocations: 0.5078 MB / 1.067 GB, free: 5.816 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.6553, allocations: 1.604 MB / 1.069 GB, free: 4.965 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.6556, allocations: 229.2 kB / 1.069 GB, free: 4.891 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0006279/0.6562, allocations: 168.3 kB / 1.069 GB, free: 4.859 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.6564, allocations: 63.42 kB / 1.069 GB, free: 4.852 MB / 0.9323 GB Notification: Performance of SimCode: time 1.362e-06/0.6564, allocations: 1.875 kB / 1.069 GB, free: 4.852 MB / 0.9323 GB Notification: Performance of Templates: time 0.02404/0.6804, allocations: 18.68 MB / 1.087 GB, free: 2.953 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.382795024197549]