Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001568/0.001568, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.002136/0.002136, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.416/1.416, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.045/3.045, allocations: 0.49 GB / 0.7951 GB, free: 33.16 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.001951/0.001951, allocations: 66.03 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3247, allocations: 176.1 MB / 1.326 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2626/0.5873, allocations: 225.6 MB / 1.547 GB, free: 15 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01032/0.5976, allocations: 5.77 MB / 1.552 GB, free: 9.223 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001487/0.5991, allocations: 59.5 kB / 1.552 GB, free: 9.164 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001897/0.601, allocations: 0.6059 MB / 1.553 GB, free: 8.555 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.005273/0.6063, allocations: 1.952 MB / 1.555 GB, free: 6.598 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003442/0.6097, allocations: 1.25 MB / 1.556 GB, free: 5.352 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.004514/0.6142, allocations: 3.039 MB / 1.559 GB, free: 2.301 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001548/0.6158, allocations: 0.7659 MB / 1.56 GB, free: 1.516 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002883/0.6187, allocations: 1.335 MB / 1.561 GB, free: 180 kB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002603/0.6213, allocations: 0.998 MB / 1.562 GB, free: 15.19 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.000326/0.6216, allocations: 108 kB / 1.562 GB, free: 15.08 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003289/0.6249, allocations: 1.532 MB / 1.564 GB, free: 13.55 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0008903/0.6258, allocations: 482.6 kB / 1.564 GB, free: 13.07 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001967/0.6277, allocations: 0.6573 MB / 1.565 GB, free: 12.41 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.004877/0.6326, allocations: 2.141 MB / 1.567 GB, free: 10.27 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.6326, allocations: 0 / 1.567 GB, free: 10.27 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6326, allocations: 4 kB / 1.567 GB, free: 10.26 MB / 1.264 GB Notification: Performance of Transformations before backend: time 6.781e-05/0.6327, allocations: 0 / 1.567 GB, free: 10.26 MB / 1.264 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.003639/0.6363, allocations: 1.462 MB / 1.568 GB, free: 8.762 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.6364, allocations: 8.031 kB / 1.568 GB, free: 8.754 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002295/0.6387, allocations: 326.9 kB / 1.569 GB, free: 8.434 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001893/0.6406, allocations: 0.7877 MB / 1.569 GB, free: 7.617 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.703e-05/0.6406, allocations: 66 kB / 1.569 GB, free: 7.555 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.6408, allocations: 84 kB / 1.57 GB, free: 7.473 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.6427, allocations: 0.9208 MB / 1.57 GB, free: 6.543 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.6427, allocations: 0 / 1.57 GB, free: 6.543 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.617e-05/0.6428, allocations: 32 kB / 1.57 GB, free: 6.512 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.902e-05/0.6429, allocations: 41.92 kB / 1.57 GB, free: 6.469 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001593/0.6445, allocations: 0.8353 MB / 1.571 GB, free: 5.637 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006218/0.6507, allocations: 3.629 MB / 1.575 GB, free: 1.754 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008045/0.6515, allocations: 468.7 kB / 1.575 GB, free: 1.293 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004601/0.6519, allocations: 274 kB / 1.576 GB, free: 1.02 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000161/0.6521, allocations: 28.42 kB / 1.576 GB, free: 0.9883 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.6521, allocations: 42.94 kB / 1.576 GB, free: 0.9375 MB / 1.264 GB Notification: Performance of pre-optimization done (n=47): time 2.534e-06/0.6521, allocations: 0 / 1.576 GB, free: 0.9375 MB / 1.264 GB Notification: Performance of matching and sorting (n=49): time 0.003814/0.656, allocations: 1.667 MB / 1.577 GB, free: 15.23 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.656, allocations: 59.84 kB / 1.577 GB, free: 15.16 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.6572, allocations: 0.8058 MB / 1.578 GB, free: 14.35 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 6.923e-05/0.6572, allocations: 41.7 kB / 1.578 GB, free: 14.3 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003926/0.6576, allocations: 484.2 kB / 1.579 GB, free: 13.82 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.6578, allocations: 186.4 kB / 1.579 GB, free: 13.64 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.658, allocations: 118.2 kB / 1.579 GB, free: 13.52 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.6581, allocations: 330 kB / 1.579 GB, free: 13.19 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000442/0.6586, allocations: 241.2 kB / 1.579 GB, free: 12.95 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005678/0.6592, allocations: 388.5 kB / 1.58 GB, free: 12.52 MB / 1.279 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.003703/0.6629, allocations: 1.463 MB / 1.581 GB, free: 11.02 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.6629, allocations: 4 kB / 1.581 GB, free: 11.01 MB / 1.279 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001412/0.6643, allocations: 0.7912 MB / 1.582 GB, free: 10.21 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.6643, allocations: 8 kB / 1.582 GB, free: 10.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.6643, allocations: 4 kB / 1.582 GB, free: 10.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000176/0.6645, allocations: 70.12 kB / 1.582 GB, free: 10.12 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007008/0.6652, allocations: 147.8 kB / 1.582 GB, free: 9.98 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002702/0.6679, allocations: 2.918 MB / 1.585 GB, free: 6.832 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008129/0.6687, allocations: 27.98 kB / 1.585 GB, free: 6.805 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.047e-05/0.6688, allocations: 24 kB / 1.585 GB, free: 6.781 MB / 1.279 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.0005259/0.6693, allocations: 305.5 kB / 1.585 GB, free: 6.473 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/0.6695, allocations: 103.5 kB / 1.586 GB, free: 6.371 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002292/0.6697, allocations: 96.73 kB / 1.586 GB, free: 6.273 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.6697, allocations: 8 kB / 1.586 GB, free: 6.266 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.6698, allocations: 0 / 1.586 GB, free: 6.266 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001094/0.6708, allocations: 0.8387 MB / 1.586 GB, free: 5.336 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00318/0.674, allocations: 1.759 MB / 1.588 GB, free: 3.484 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.674, allocations: 0 / 1.588 GB, free: 3.484 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006055/0.6746, allocations: 139.8 kB / 1.588 GB, free: 3.348 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001005/0.6747, allocations: 33.25 kB / 1.588 GB, free: 3.312 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.6e-05/0.6748, allocations: 23.98 kB / 1.588 GB, free: 3.289 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/0.6761, allocations: 1.487 MB / 1.59 GB, free: 1.688 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.6761, allocations: 4.141 kB / 1.59 GB, free: 1.684 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/0.6778, allocations: 1.081 MB / 1.591 GB, free: 0.5469 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004879/0.6783, allocations: 159.4 kB / 1.591 GB, free: 400 kB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.6784, allocations: 23.92 kB / 1.591 GB, free: 376 kB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007221/0.6791, allocations: 29.75 kB / 1.591 GB, free: 348 kB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.6792, allocations: 36 kB / 1.591 GB, free: 312 kB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-05/0.6793, allocations: 31.98 kB / 1.591 GB, free: 280 kB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0008526/0.6802, allocations: 0.5693 MB / 1.592 GB, free: 15.71 MB / 1.295 GB Notification: Performance of sort global known variables: time 6e-08/0.6802, allocations: 0 / 1.592 GB, free: 15.71 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0009751/0.6812, allocations: 272 kB / 1.592 GB, free: 15.44 MB / 1.295 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.0003878/0.6815, allocations: 182.9 kB / 1.592 GB, free: 15.25 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001421/0.683, allocations: 0.7841 MB / 1.593 GB, free: 14.44 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.683, allocations: 0.8125 kB / 1.593 GB, free: 14.44 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0006007/0.6836, allocations: 402.1 kB / 1.593 GB, free: 14.04 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002639/0.6862, allocations: 0.6038 MB / 1.594 GB, free: 13.44 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/0.6895, allocations: 1.84 MB / 1.596 GB, free: 11.53 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008727/0.6904, allocations: 1.084 MB / 1.597 GB, free: 10.41 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0007523/0.6911, allocations: 223.6 kB / 1.597 GB, free: 10.19 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.6913, allocations: 71.42 kB / 1.597 GB, free: 10.12 MB / 1.295 GB Notification: Performance of SimCode: time 7.01e-07/0.6913, allocations: 0 / 1.597 GB, free: 10.12 MB / 1.295 GB Notification: Performance of Templates: time 0.6368/1.328, allocations: 20.82 MB / 1.617 GB, free: 279.3 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.979601229075342]