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.001457/0.001457, allocations: 105.2 kB / 18.99 MB, free: 2.758 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.001731/0.001731, allocations: 215.1 kB / 22.29 MB, free: 5.156 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.629/1.629, allocations: 230.6 MB / 256.1 MB, free: 7.746 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.508/3.508, allocations: 0.49 GB / 0.7951 GB, free: 35.37 MB / 0.6231 GB " [Timeout remaining time 176] 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.00219/0.00219, allocations: 66.23 kB / 1.154 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4216, allocations: 176.1 MB / 1.326 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2788/0.7004, allocations: 196 MB / 1.518 GB, free: 12.17 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01133/0.7117, allocations: 5.438 MB / 1.523 GB, free: 6.723 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001999/0.7137, allocations: 55.56 kB / 1.523 GB, free: 6.668 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002166/0.7159, allocations: 0.5552 MB / 1.524 GB, free: 6.109 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.006638/0.7225, allocations: 1.933 MB / 1.526 GB, free: 4.168 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004115/0.7266, allocations: 1.217 MB / 1.527 GB, free: 2.957 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.006225/0.7328, allocations: 3.005 MB / 1.53 GB, free: 15.94 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001725/0.7346, allocations: 0.7658 MB / 1.531 GB, free: 15.16 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003548/0.7381, allocations: 1.343 MB / 1.532 GB, free: 13.81 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003153/0.7413, allocations: 0.9642 MB / 1.533 GB, free: 12.85 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002564/0.7415, allocations: 108 kB / 1.533 GB, free: 12.75 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003953/0.7455, allocations: 1.184 MB / 1.534 GB, free: 11.56 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0007201/0.7462, allocations: 470.6 kB / 1.534 GB, free: 11.1 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001041/0.7472, allocations: 0.5407 MB / 1.535 GB, free: 10.55 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.00443/0.7517, allocations: 2.114 MB / 1.537 GB, free: 8.434 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.7517, allocations: 4 kB / 1.537 GB, free: 8.43 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7517, allocations: 0 / 1.537 GB, free: 8.43 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.474e-05/0.7517, allocations: 0 / 1.537 GB, free: 8.43 MB / 1.232 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.002856/0.7545, allocations: 1.465 MB / 1.538 GB, free: 6.926 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.7546, allocations: 8.031 kB / 1.539 GB, free: 6.918 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002257/0.7569, allocations: 326.9 kB / 1.539 GB, free: 6.598 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/0.7586, allocations: 0.7915 MB / 1.54 GB, free: 5.777 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.459e-05/0.7586, allocations: 69.98 kB / 1.54 GB, free: 5.711 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.7588, allocations: 80 kB / 1.54 GB, free: 5.633 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002104/0.7609, allocations: 1.369 MB / 1.541 GB, free: 4.145 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.7609, allocations: 0 / 1.541 GB, free: 4.145 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.419e-05/0.761, allocations: 39.94 kB / 1.541 GB, free: 4.105 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-05/0.7611, allocations: 37.92 kB / 1.541 GB, free: 4.066 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.7627, allocations: 0.8237 MB / 1.542 GB, free: 3.246 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005434/0.7681, allocations: 2.387 MB / 1.544 GB, free: 0.8164 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008416/0.7689, allocations: 464.4 kB / 1.545 GB, free: 360 kB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004698/0.7694, allocations: 281.2 kB / 1.545 GB, free: 76 kB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000173/0.7696, allocations: 28.42 kB / 1.545 GB, free: 48 kB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.287e-05/0.7696, allocations: 43 kB / 1.545 GB, free: 16 MB / 1.248 GB Notification: Performance of pre-optimization done (n=47): time 3.416e-06/0.7697, allocations: 3.938 kB / 1.545 GB, free: 15.99 MB / 1.248 GB Notification: Performance of matching and sorting (n=49): time 0.004069/0.7737, allocations: 1.652 MB / 1.547 GB, free: 14.3 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.7738, allocations: 55.84 kB / 1.547 GB, free: 14.23 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009362/0.7747, allocations: 0.6565 MB / 1.547 GB, free: 13.57 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.198e-05/0.7748, allocations: 37.7 kB / 1.547 GB, free: 13.53 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004303/0.7752, allocations: 0.4921 MB / 1.548 GB, free: 13.03 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.7754, allocations: 174.5 kB / 1.548 GB, free: 12.86 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002409/0.7756, allocations: 122.2 kB / 1.548 GB, free: 12.73 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002195/0.7759, allocations: 382.8 kB / 1.549 GB, free: 12.34 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004727/0.7763, allocations: 249.2 kB / 1.549 GB, free: 12.1 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006476/0.777, allocations: 483.4 kB / 1.549 GB, free: 11.55 MB / 1.248 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.003906/0.7809, allocations: 1.466 MB / 1.551 GB, free: 10.05 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.7809, allocations: 0 / 1.551 GB, free: 10.05 MB / 1.248 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001512/0.7824, allocations: 0.7834 MB / 1.551 GB, free: 9.254 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.7824, allocations: 4 kB / 1.551 GB, free: 9.25 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.7824, allocations: 4 kB / 1.551 GB, free: 9.246 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001907/0.7826, allocations: 69.61 kB / 1.552 GB, free: 9.172 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007318/0.7834, allocations: 156.2 kB / 1.552 GB, free: 9.02 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002935/0.7863, allocations: 2.857 MB / 1.554 GB, free: 5.957 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000938/0.7872, allocations: 29.39 kB / 1.554 GB, free: 5.93 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.004e-05/0.7873, allocations: 20 kB / 1.554 GB, free: 5.91 MB / 1.248 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.000659/0.7879, allocations: 307 kB / 1.555 GB, free: 5.602 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.7881, allocations: 87.42 kB / 1.555 GB, free: 5.516 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/0.7883, allocations: 91.34 kB / 1.555 GB, free: 5.422 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.7883, allocations: 4 kB / 1.555 GB, free: 5.418 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.7883, allocations: 0 / 1.555 GB, free: 5.418 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001183/0.7895, allocations: 0.8387 MB / 1.556 GB, free: 4.488 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003002/0.7925, allocations: 1.529 MB / 1.557 GB, free: 2.879 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.7925, allocations: 4.406 kB / 1.557 GB, free: 2.875 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006593/0.7932, allocations: 135.8 kB / 1.557 GB, free: 2.742 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001388/0.7933, allocations: 40.83 kB / 1.557 GB, free: 2.699 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.41e-05/0.7934, allocations: 15.94 kB / 1.557 GB, free: 2.684 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/0.7949, allocations: 1.464 MB / 1.559 GB, free: 1.117 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.7949, allocations: 7.938 kB / 1.559 GB, free: 1.109 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.7968, allocations: 1.066 MB / 1.56 GB, free: 15.98 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004386/0.7973, allocations: 147.4 kB / 1.56 GB, free: 15.84 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.879e-05/0.7974, allocations: 12 kB / 1.56 GB, free: 15.83 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006686/0.798, allocations: 35.22 kB / 1.56 GB, free: 15.8 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.7982, allocations: 47.81 kB / 1.56 GB, free: 15.75 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.027e-05/0.7983, allocations: 27.98 kB / 1.56 GB, free: 15.73 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0006927/0.7989, allocations: 455.1 kB / 1.561 GB, free: 15.29 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.7989, allocations: 0 / 1.561 GB, free: 15.29 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001017/0.8, allocations: 279.9 kB / 1.561 GB, free: 15.02 MB / 1.264 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.0003972/0.8004, allocations: 175.1 kB / 1.561 GB, free: 14.83 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0015/0.8019, allocations: 0.788 MB / 1.562 GB, free: 14.02 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.8019, allocations: 0 / 1.562 GB, free: 14.02 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006365/0.8025, allocations: 399.8 kB / 1.562 GB, free: 13.61 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/0.8049, allocations: 493 kB / 1.563 GB, free: 13.14 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003856/0.8087, allocations: 1.81 MB / 1.564 GB, free: 11.26 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006707/0.8094, allocations: 0.4886 MB / 1.565 GB, free: 10.74 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0008508/0.8102, allocations: 206.5 kB / 1.565 GB, free: 10.53 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.8104, allocations: 63.44 kB / 1.565 GB, free: 10.47 MB / 1.264 GB Notification: Performance of SimCode: time 1.082e-06/0.8104, allocations: 0 / 1.565 GB, free: 10.47 MB / 1.264 GB Notification: Performance of Templates: time 0.03627/0.8467, allocations: 19.37 MB / 1.584 GB, free: 7.535 MB / 1.279 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: 10.862436878029257]