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.001643/0.001643, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001847/0.001847, allocations: 216.9 kB / 22.26 MB, free: 5.082 MB / 14.72 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 1.556/1.556, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.057/3.057, allocations: 476.7 MB / 0.7706 GB, free: 4.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",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.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 62.17 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3608, allocations: 169.9 MB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2834/0.6442, allocations: 225.5 MB / 1.504 GB, free: 8.938 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01214/0.6563, allocations: 5.771 MB / 1.51 GB, free: 3.152 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001928/0.6583, allocations: 55.56 kB / 1.51 GB, free: 3.098 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002002/0.6603, allocations: 0.6098 MB / 1.51 GB, free: 2.484 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00635/0.6666, allocations: 1.951 MB / 1.512 GB, free: 0.5273 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003897/0.6705, allocations: 1.243 MB / 1.513 GB, free: 15.29 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.005407/0.6759, allocations: 3.034 MB / 1.516 GB, free: 12.25 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001551/0.6775, allocations: 0.7775 MB / 1.517 GB, free: 11.45 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002543/0.68, allocations: 1.133 MB / 1.518 GB, free: 10.31 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002708/0.6827, allocations: 1.016 MB / 1.519 GB, free: 9.309 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002688/0.683, allocations: 108 kB / 1.519 GB, free: 9.203 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004056/0.687, allocations: 1.543 MB / 1.521 GB, free: 7.656 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006876/0.6877, allocations: 482.5 kB / 1.521 GB, free: 7.184 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001054/0.6888, allocations: 0.6495 MB / 1.522 GB, free: 6.531 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004025/0.6928, allocations: 2.141 MB / 1.524 GB, free: 4.383 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.6928, allocations: 0 / 1.524 GB, free: 4.383 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6928, allocations: 8 kB / 1.524 GB, free: 4.375 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.498e-05/0.6928, allocations: 0 / 1.524 GB, free: 4.375 MB / 1.217 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.003021/0.6959, allocations: 1.473 MB / 1.525 GB, free: 2.863 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.6959, allocations: 8.031 kB / 1.525 GB, free: 2.855 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00208/0.698, allocations: 322.9 kB / 1.526 GB, free: 2.539 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.6997, allocations: 0.7916 MB / 1.527 GB, free: 1.723 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.134e-05/0.6997, allocations: 66 kB / 1.527 GB, free: 1.66 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.6999, allocations: 84 kB / 1.527 GB, free: 1.578 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.7017, allocations: 0.9092 MB / 1.528 GB, free: 0.6641 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/0.7017, allocations: 4 kB / 1.528 GB, free: 0.6602 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.339e-05/0.7018, allocations: 36 kB / 1.528 GB, free: 0.625 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-05/0.7018, allocations: 33.94 kB / 1.528 GB, free: 0.5898 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00161/0.7034, allocations: 0.8392 MB / 1.528 GB, free: 15.75 MB / 1.232 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.006225/0.7097, allocations: 3.463 MB / 1.532 GB, free: 12.07 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000887/0.7105, allocations: 472.4 kB / 1.532 GB, free: 11.59 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005258/0.7111, allocations: 279.3 kB / 1.533 GB, free: 11.32 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001762/0.7112, allocations: 28.42 kB / 1.533 GB, free: 11.29 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.025e-05/0.7113, allocations: 46.94 kB / 1.533 GB, free: 11.24 MB / 1.232 GB Notification: Performance of pre-optimization done (n=47): time 2.024e-06/0.7113, allocations: 3.938 kB / 1.533 GB, free: 11.23 MB / 1.232 GB Notification: Performance of matching and sorting (n=49): time 0.003933/0.7152, allocations: 1.675 MB / 1.534 GB, free: 9.52 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.7153, allocations: 55.84 kB / 1.534 GB, free: 9.453 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.7164, allocations: 0.8058 MB / 1.535 GB, free: 8.641 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.299e-05/0.7165, allocations: 37.7 kB / 1.535 GB, free: 8.598 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004325/0.7169, allocations: 484.2 kB / 1.536 GB, free: 8.121 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.7171, allocations: 178.4 kB / 1.536 GB, free: 7.945 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.7174, allocations: 126.3 kB / 1.536 GB, free: 7.816 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.7175, allocations: 326 kB / 1.536 GB, free: 7.492 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004788/0.718, allocations: 245.2 kB / 1.536 GB, free: 7.254 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006207/0.7186, allocations: 376.6 kB / 1.537 GB, free: 6.832 MB / 1.232 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.003979/0.7226, allocations: 1.466 MB / 1.538 GB, free: 5.328 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.7226, allocations: 3.938 kB / 1.538 GB, free: 5.324 MB / 1.232 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00157/0.7242, allocations: 0.7875 MB / 1.539 GB, free: 4.527 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.7242, allocations: 11.98 kB / 1.539 GB, free: 4.516 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.7242, allocations: 4 kB / 1.539 GB, free: 4.512 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000192/0.7244, allocations: 65.62 kB / 1.539 GB, free: 4.441 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007243/0.7251, allocations: 152.1 kB / 1.539 GB, free: 4.293 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00297/0.7281, allocations: 2.918 MB / 1.542 GB, free: 1.141 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009173/0.729, allocations: 34.23 kB / 1.542 GB, free: 1.109 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.532e-05/0.7291, allocations: 20 kB / 1.542 GB, free: 1.09 MB / 1.232 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 (71): * Single equations (assignments): 69 * 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.0005529/0.7296, allocations: 311.9 kB / 1.542 GB, free: 0.7773 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.7298, allocations: 95.44 kB / 1.543 GB, free: 0.6836 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.73, allocations: 100.7 kB / 1.543 GB, free: 0.582 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.73, allocations: 4 kB / 1.543 GB, free: 0.5781 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.73, allocations: 4 kB / 1.543 GB, free: 0.5742 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001254/0.7312, allocations: 0.8426 MB / 1.543 GB, free: 15.64 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003283/0.7345, allocations: 1.759 MB / 1.545 GB, free: 13.79 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.7345, allocations: 4 kB / 1.545 GB, free: 13.79 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006763/0.7352, allocations: 131.8 kB / 1.545 GB, free: 13.66 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001123/0.7353, allocations: 36.84 kB / 1.545 GB, free: 13.62 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.285e-05/0.7354, allocations: 15.98 kB / 1.545 GB, free: 13.6 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/0.737, allocations: 1.495 MB / 1.547 GB, free: 11.99 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.737, allocations: 4.031 kB / 1.547 GB, free: 11.99 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.739, allocations: 1.071 MB / 1.548 GB, free: 10.86 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005374/0.7395, allocations: 159.4 kB / 1.548 GB, free: 10.7 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.7396, allocations: 20.06 kB / 1.548 GB, free: 10.68 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006946/0.7403, allocations: 42.08 kB / 1.548 GB, free: 10.64 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.7404, allocations: 31.94 kB / 1.548 GB, free: 10.61 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.918e-05/0.7405, allocations: 31.98 kB / 1.548 GB, free: 10.58 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008482/0.7414, allocations: 0.5615 MB / 1.549 GB, free: 10.02 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7414, allocations: 7.938 kB / 1.549 GB, free: 10.02 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001002/0.7424, allocations: 272 kB / 1.549 GB, free: 9.75 MB / 1.248 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 (47): * Single equations (assignments): 46 * 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.0003839/0.7428, allocations: 183 kB / 1.549 GB, free: 9.559 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001558/0.7443, allocations: 0.78 MB / 1.55 GB, free: 8.746 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.7443, allocations: 4 kB / 1.55 GB, free: 8.742 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0006269/0.7449, allocations: 396.8 kB / 1.55 GB, free: 8.344 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002704/0.7476, allocations: 0.5959 MB / 1.551 GB, free: 7.758 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/0.7512, allocations: 1.837 MB / 1.553 GB, free: 5.848 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008643/0.752, allocations: 1.092 MB / 1.554 GB, free: 4.727 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008245/0.7528, allocations: 215.7 kB / 1.554 GB, free: 4.512 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.753, allocations: 71.42 kB / 1.554 GB, free: 4.441 MB / 1.248 GB Notification: Performance of SimCode: time 1.132e-06/0.753, allocations: 7.938 kB / 1.554 GB, free: 4.434 MB / 1.248 GB Notification: Performance of Templates: time 0.03866/0.7917, allocations: 20.84 MB / 1.574 GB, free: 15.89 MB / 1.279 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.59243026562035]