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.001373/0.001373, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001666/0.001666, allocations: 177 kB / 23.36 MB, free: 1.129 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.9454/0.9454, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.526/2.526, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 8.11e-07/8.11e-07, allocations: 0 / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 7.724e-06/8.535e-06, allocations: 2.312 kB / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.1457/0.1457, allocations: 154.8 MB / 0.9898 GB, free: 2.762 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.005595/0.1513, allocations: 3.958 MB / 0.9937 GB, free: 14.8 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000504/0.1518, allocations: 55.56 kB / 0.9937 GB, free: 14.74 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0006048/0.1524, allocations: 289.8 kB / 0.994 GB, free: 14.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.00156/0.154, allocations: 1.185 MB / 0.9951 GB, free: 13.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.1551, allocations: 0.8964 MB / 0.996 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.002119/0.1572, allocations: 2.963 MB / 0.9989 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.1584, allocations: 0.8968 MB / 0.9998 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001819/0.1602, allocations: 1.643 MB / 1.001 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007726/0.1609, allocations: 0.8062 MB / 1.002 GB, free: 6.117 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.1611, allocations: 108 kB / 1.002 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00055/0.1616, allocations: 411.1 kB / 1.003 GB, free: 5.609 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0003106/0.1619, allocations: 0.4908 MB / 1.003 GB, free: 5.117 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003527/0.1623, allocations: 475 kB / 1.004 GB, free: 4.652 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.1635, allocations: 1.199 MB / 1.005 GB, free: 3.449 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.1635, allocations: 4 kB / 1.005 GB, free: 3.445 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.62e-07/0.1635, allocations: 0 / 1.005 GB, free: 3.445 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.1635, allocations: 0 / 1.005 GB, free: 3.445 MB / 0.9636 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.00153/0.165, allocations: 1.312 MB / 1.006 GB, free: 2.105 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.165, allocations: 8.625 kB / 1.006 GB, free: 2.098 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.1661, allocations: 396 kB / 1.006 GB, free: 1.711 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007479/0.1668, allocations: 0.6409 MB / 1.007 GB, free: 1.039 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.742e-05/0.1669, allocations: 70.12 kB / 1.007 GB, free: 0.9727 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-05/0.167, allocations: 95.98 kB / 1.007 GB, free: 0.8789 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008245/0.1678, allocations: 0.9767 MB / 1.008 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.1678, allocations: 0 / 1.008 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.481e-05/0.1679, allocations: 36 kB / 1.008 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.484e-05/0.1679, allocations: 37.92 kB / 1.008 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003399/0.1682, allocations: 245.8 kB / 1.008 GB, free: 15.47 MB / 0.9792 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.002265/0.1705, allocations: 1.817 MB / 1.01 GB, free: 13.61 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.1708, allocations: 265.1 kB / 1.011 GB, free: 13.34 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.1709, allocations: 104.4 kB / 1.011 GB, free: 13.24 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 8.53e-05/0.171, allocations: 28.36 kB / 1.011 GB, free: 13.21 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.171, allocations: 38.94 kB / 1.011 GB, free: 13.16 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=45): time 1.653e-06/0.171, allocations: 0 / 1.011 GB, free: 13.16 MB / 0.9792 GB Notification: Performance of matching and sorting (n=47): time 0.001292/0.1723, allocations: 0.7589 MB / 1.011 GB, free: 12.36 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.1723, allocations: 59.91 kB / 1.011 GB, free: 12.29 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.1727, allocations: 0.5311 MB / 1.012 GB, free: 11.75 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.1727, allocations: 37.7 kB / 1.012 GB, free: 11.7 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.1729, allocations: 417.1 kB / 1.012 GB, free: 11.29 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 9.773e-05/0.173, allocations: 178.5 kB / 1.013 GB, free: 11.11 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.1731, allocations: 106.2 kB / 1.013 GB, free: 11 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1732, allocations: 386.6 kB / 1.013 GB, free: 10.62 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.203e-05/0.1733, allocations: 68.11 kB / 1.013 GB, free: 10.55 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.1735, allocations: 222.4 kB / 1.013 GB, free: 10.28 MB / 0.9792 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.0004865/0.174, allocations: 459.5 kB / 1.014 GB, free: 9.785 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.174, allocations: 0 / 1.014 GB, free: 9.785 MB / 0.9792 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0003671/0.1743, allocations: 343 kB / 1.014 GB, free: 9.438 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1743, allocations: 12 kB / 1.014 GB, free: 9.426 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1743, allocations: 0 / 1.014 GB, free: 9.426 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.359e-05/0.1744, allocations: 40.52 kB / 1.014 GB, free: 9.379 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.1748, allocations: 158.6 kB / 1.014 GB, free: 9.223 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/0.176, allocations: 2.402 MB / 1.017 GB, free: 6.633 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.1763, allocations: 23.95 kB / 1.017 GB, free: 6.609 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.1763, allocations: 16 kB / 1.017 GB, free: 6.594 MB / 0.9792 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.0001708/0.1765, allocations: 152.7 kB / 1.017 GB, free: 6.434 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.557e-05/0.1765, allocations: 79.94 kB / 1.017 GB, free: 6.355 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.324e-05/0.1766, allocations: 83.28 kB / 1.017 GB, free: 6.266 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1766, allocations: 4 kB / 1.017 GB, free: 6.262 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.1766, allocations: 0 / 1.017 GB, free: 6.262 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000299/0.1769, allocations: 0.5004 MB / 1.017 GB, free: 5.668 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.178, allocations: 0.9775 MB / 1.018 GB, free: 4.609 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.178, allocations: 0 / 1.018 GB, free: 4.609 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003407/0.1784, allocations: 135.1 kB / 1.019 GB, free: 4.477 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-05/0.1784, allocations: 31.67 kB / 1.019 GB, free: 4.441 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.1784, allocations: 15.94 kB / 1.019 GB, free: 4.426 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005501/0.179, allocations: 1.226 MB / 1.02 GB, free: 3.105 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.179, allocations: 7.938 kB / 1.02 GB, free: 3.098 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004624/0.1795, allocations: 0.5724 MB / 1.02 GB, free: 2.457 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.1796, allocations: 111.7 kB / 1.02 GB, free: 2.348 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.292e-05/0.1797, allocations: 12 kB / 1.021 GB, free: 2.336 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.1799, allocations: 26.62 kB / 1.021 GB, free: 2.312 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.916e-05/0.18, allocations: 51.8 kB / 1.021 GB, free: 2.262 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/0.18, allocations: 23.97 kB / 1.021 GB, free: 2.238 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001773/0.1802, allocations: 248.6 kB / 1.021 GB, free: 1.996 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.1802, allocations: 0 / 1.021 GB, free: 1.996 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004684/0.1807, allocations: 272 kB / 1.021 GB, free: 1.73 MB / 0.9792 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.0001996/0.1809, allocations: 136.2 kB / 1.021 GB, free: 1.59 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004486/0.1813, allocations: 486.2 kB / 1.022 GB, free: 1.086 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/0.1813, allocations: 11.94 kB / 1.022 GB, free: 1.074 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.1815, allocations: 244.2 kB / 1.022 GB, free: 0.8203 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.1826, allocations: 0.5085 MB / 1.022 GB, free: 332 kB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.1843, allocations: 1.551 MB / 1.024 GB, free: 14.69 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.1844, allocations: 231.9 kB / 1.024 GB, free: 14.45 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003171/0.1847, allocations: 130.4 kB / 1.024 GB, free: 14.31 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000873/0.1856, allocations: 389 kB / 1.025 GB, free: 13.93 MB / 0.9948 GB Notification: Performance of SimCode: time 9.11e-07/0.1856, allocations: 0 / 1.025 GB, free: 13.93 MB / 0.9948 GB Notification: Performance of Templates: time 0.02046/0.2061, allocations: 18.96 MB / 1.043 GB, free: 11.43 MB / 1.01 GB " [Timeout remaining time 300] 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 -s gbode -gbm=radauIIA3 -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.423710261005908]