Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001261/0.001261, allocations: 81.86 kB / 20.68 MB, free: 3.82 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.001862/0.001862, allocations: 181 kB / 24.09 MB, free: 424 kB / 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.9541/0.9541, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.713/1.713, allocations: 359 MB / 0.6055 GB, free: 10.85 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.824e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.1293/0.1294, allocations: 152.5 MB / 0.9365 GB, free: 3.164 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.005733/0.1351, allocations: 3.837 MB / 0.9403 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000948/0.136, allocations: 51.56 kB / 0.9403 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0007187/0.1368, allocations: 301.8 kB / 0.9406 GB, free: 14.97 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.1388, allocations: 1.185 MB / 0.9418 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.1406, allocations: 0.9082 MB / 0.9426 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002538/0.1431, allocations: 2.995 MB / 0.9456 GB, free: 9.871 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000804/0.1439, allocations: 0.7973 MB / 0.9463 GB, free: 9.051 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002289/0.1462, allocations: 1.645 MB / 0.948 GB, free: 7.477 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008613/0.1471, allocations: 0.8608 MB / 0.9488 GB, free: 6.613 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.1472, allocations: 108 kB / 0.9489 GB, free: 6.508 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009587/0.1482, allocations: 411 kB / 0.9493 GB, free: 6.105 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003185/0.1485, allocations: 0.4947 MB / 0.9498 GB, free: 5.609 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0003694/0.1489, allocations: 467 kB / 0.9502 GB, free: 5.152 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.15, allocations: 1.207 MB / 0.9514 GB, free: 3.941 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.15, allocations: 0 / 0.9514 GB, free: 3.941 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.21e-07/0.15, allocations: 0 / 0.9514 GB, free: 3.941 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.15, allocations: 0 / 0.9514 GB, free: 3.941 MB / 0.9011 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.001362/0.1513, allocations: 1.484 MB / 0.9528 GB, free: 2.418 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.1514, allocations: 12.03 kB / 0.9529 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009873/0.1524, allocations: 399.4 kB / 0.9532 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007899/0.1532, allocations: 0.7579 MB / 0.954 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.084e-05/0.1532, allocations: 70.12 kB / 0.954 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.149e-05/0.1533, allocations: 92 kB / 0.9541 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007203/0.154, allocations: 0.9361 MB / 0.955 GB, free: 12 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.154, allocations: 0 / 0.955 GB, free: 12 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.59e-05/0.1541, allocations: 36.05 kB / 0.9551 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.32e-05/0.1541, allocations: 33.94 kB / 0.9551 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003458/0.1545, allocations: 285.7 kB / 0.9554 GB, free: 15.66 MB / 0.9167 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.002671/0.1572, allocations: 2.19 MB / 0.9575 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.1574, allocations: 240.5 kB / 0.9578 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.1576, allocations: 120.3 kB / 0.9579 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.192e-05/0.1576, allocations: 27.5 kB / 0.9579 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.1577, allocations: 49.77 kB / 0.9579 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=45): time 2.104e-06/0.1577, allocations: 0 / 0.9579 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of matching and sorting (n=47): time 0.00128/0.159, allocations: 0.8306 MB / 0.9588 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.159, allocations: 59.91 kB / 0.9588 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005323/0.1595, allocations: 0.62 MB / 0.9594 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.1596, allocations: 37.7 kB / 0.9595 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/0.1598, allocations: 0.5455 MB / 0.96 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.583e-05/0.1599, allocations: 178.5 kB / 0.9602 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.16, allocations: 127.8 kB / 0.9603 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1602, allocations: 0.5624 MB / 0.9608 GB, free: 9.914 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.674e-05/0.1603, allocations: 69.25 kB / 0.9609 GB, free: 9.848 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.1605, allocations: 274 kB / 0.9612 GB, free: 9.508 MB / 0.9167 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.0005187/0.161, allocations: 0.4939 MB / 0.9616 GB, free: 8.957 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.161, allocations: 0 / 0.9616 GB, free: 8.957 MB / 0.9167 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.000441/0.1614, allocations: 448.5 kB / 0.9621 GB, free: 8.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1614, allocations: 4 kB / 0.9621 GB, free: 8.496 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1614, allocations: 4 kB / 0.9621 GB, free: 8.492 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.489e-05/0.1615, allocations: 47.3 kB / 0.9621 GB, free: 8.438 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.1618, allocations: 131.8 kB / 0.9622 GB, free: 8.309 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/0.1635, allocations: 3.477 MB / 0.9656 GB, free: 4.605 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/0.1638, allocations: 20 kB / 0.9657 GB, free: 4.586 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.1638, allocations: 20 kB / 0.9657 GB, free: 4.566 MB / 0.9167 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.0001813/0.164, allocations: 208.3 kB / 0.9659 GB, free: 4.352 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.924e-05/0.1641, allocations: 95.66 kB / 0.966 GB, free: 4.258 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.452e-05/0.1642, allocations: 87.38 kB / 0.966 GB, free: 4.168 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1642, allocations: 8 kB / 0.9661 GB, free: 4.16 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1642, allocations: 0 / 0.9661 GB, free: 4.16 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003541/0.1645, allocations: 0.5463 MB / 0.9666 GB, free: 3.523 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.1657, allocations: 1.111 MB / 0.9677 GB, free: 2.316 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.1657, allocations: 4 kB / 0.9677 GB, free: 2.312 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.1659, allocations: 127.7 kB / 0.9678 GB, free: 2.188 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.283e-05/0.166, allocations: 23.67 kB / 0.9678 GB, free: 2.16 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.166, allocations: 12 kB / 0.9678 GB, free: 2.148 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009892/0.167, allocations: 1.756 MB / 0.9696 GB, free: 284 kB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.167, allocations: 4 kB / 0.9696 GB, free: 280 kB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000526/0.1675, allocations: 0.6564 MB / 0.9702 GB, free: 15.54 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.1677, allocations: 131.4 kB / 0.9703 GB, free: 15.41 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.742e-05/0.1677, allocations: 16 kB / 0.9703 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.168, allocations: 27.97 kB / 0.9704 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.353e-05/0.1681, allocations: 44.08 kB / 0.9704 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/0.1681, allocations: 35.91 kB / 0.9704 GB, free: 15.29 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000231/0.1683, allocations: 378.8 kB / 0.9708 GB, free: 14.92 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.21e-07/0.1683, allocations: 0 / 0.9708 GB, free: 14.92 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0005559/0.1689, allocations: 268 kB / 0.9711 GB, free: 14.66 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.0002482/0.1691, allocations: 155.1 kB / 0.9712 GB, free: 14.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005086/0.1696, allocations: 0.6042 MB / 0.9718 GB, free: 13.86 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1697, allocations: 4 kB / 0.9718 GB, free: 13.85 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.1699, allocations: 311.7 kB / 0.9721 GB, free: 13.53 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.171, allocations: 0.492 MB / 0.9726 GB, free: 13.05 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.1729, allocations: 1.616 MB / 0.9742 GB, free: 11.34 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.1731, allocations: 236.1 kB / 0.9744 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003673/0.1735, allocations: 122.4 kB / 0.9745 GB, free: 10.96 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006913/0.1742, allocations: 461.8 kB / 0.9749 GB, free: 10.51 MB / 0.9323 GB Notification: Performance of SimCode: time 1.282e-06/0.1742, allocations: 0 / 0.9749 GB, free: 10.51 MB / 0.9323 GB Notification: Performance of Templates: time 0.02183/0.196, allocations: 19.06 MB / 0.9936 GB, free: 7.922 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 5.500037902034819]