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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 107 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 225.6 MB / 249.9 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.896/2.896, allocations: 489.7 MB / 0.7761 GB, free: 33.59 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 69.38 kB / 1.127 GB, free: 36.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2866, allocations: 172.1 MB / 1.295 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2474/0.534, allocations: 222 MB / 1.512 GB, free: 12.82 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.009517/0.5435, allocations: 5.74 MB / 1.517 GB, free: 7.062 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.5446, allocations: 47.75 kB / 1.517 GB, free: 7.016 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.5462, allocations: 0.5981 MB / 1.518 GB, free: 6.414 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004794/0.551, allocations: 1.917 MB / 1.52 GB, free: 4.488 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003134/0.5541, allocations: 1.218 MB / 1.521 GB, free: 3.277 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004156/0.5583, allocations: 2.97 MB / 1.524 GB, free: 308 kB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.5596, allocations: 0.8586 MB / 1.525 GB, free: 15.42 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002621/0.5623, allocations: 1.308 MB / 1.526 GB, free: 14.11 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002488/0.5647, allocations: 0.9956 MB / 1.527 GB, free: 13.12 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002548/0.565, allocations: 108 kB / 1.527 GB, free: 13.02 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003243/0.5682, allocations: 1.512 MB / 1.529 GB, free: 11.5 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006546/0.5689, allocations: 478.6 kB / 1.529 GB, free: 11.03 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.5699, allocations: 0.6495 MB / 1.53 GB, free: 10.38 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003616/0.5735, allocations: 2.141 MB / 1.532 GB, free: 8.23 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.5735, allocations: 0 / 1.532 GB, free: 8.23 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5735, allocations: 0 / 1.532 GB, free: 8.23 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.003e-05/0.5735, allocations: 0 / 1.532 GB, free: 8.23 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.002626/0.5762, allocations: 1.541 MB / 1.533 GB, free: 6.633 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.5762, allocations: 16.03 kB / 1.533 GB, free: 6.617 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001964/0.5782, allocations: 326.9 kB / 1.534 GB, free: 6.297 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/0.5797, allocations: 0.8638 MB / 1.534 GB, free: 5.391 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.29e-05/0.5798, allocations: 62 kB / 1.534 GB, free: 5.332 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.5799, allocations: 84 kB / 1.535 GB, free: 5.25 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.5817, allocations: 0.9092 MB / 1.535 GB, free: 4.332 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.5817, allocations: 0 / 1.535 GB, free: 4.332 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-05/0.5818, allocations: 43.98 kB / 1.536 GB, free: 4.289 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.294e-05/0.5818, allocations: 33.94 kB / 1.536 GB, free: 4.254 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/0.5833, allocations: 0.847 MB / 1.536 GB, free: 3.41 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005655/0.589, allocations: 3.672 MB / 1.54 GB, free: 15.48 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008324/0.5898, allocations: 468.4 kB / 1.54 GB, free: 15.01 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004769/0.5903, allocations: 280.1 kB / 1.541 GB, free: 14.74 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001989/0.5905, allocations: 105.5 kB / 1.541 GB, free: 14.62 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.5905, allocations: 46.94 kB / 1.541 GB, free: 14.56 MB / 1.248 GB Notification: Performance of pre-optimization done (n=47): time 1.723e-06/0.5905, allocations: 0 / 1.541 GB, free: 14.56 MB / 1.248 GB Notification: Performance of matching and sorting (n=49): time 0.003679/0.5942, allocations: 1.885 MB / 1.543 GB, free: 12.58 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.5943, allocations: 59.84 kB / 1.543 GB, free: 12.51 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.5953, allocations: 0.8098 MB / 1.543 GB, free: 11.69 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.631e-05/0.5954, allocations: 37.7 kB / 1.544 GB, free: 11.65 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003952/0.5958, allocations: 484.2 kB / 1.544 GB, free: 11.17 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.5959, allocations: 186.4 kB / 1.544 GB, free: 10.99 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/0.5961, allocations: 118.2 kB / 1.544 GB, free: 10.87 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.5963, allocations: 330 kB / 1.545 GB, free: 10.54 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004631/0.5968, allocations: 249.2 kB / 1.545 GB, free: 10.29 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005795/0.5973, allocations: 384.6 kB / 1.545 GB, free: 9.871 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.003704/0.601, allocations: 1.535 MB / 1.547 GB, free: 8.273 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.601, allocations: 4 kB / 1.547 GB, free: 8.27 MB / 1.248 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001389/0.6024, allocations: 0.8043 MB / 1.547 GB, free: 7.453 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.6025, allocations: 12.34 kB / 1.548 GB, free: 7.441 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.6025, allocations: 4 kB / 1.548 GB, free: 7.438 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001742/0.6026, allocations: 69.67 kB / 1.548 GB, free: 7.363 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006666/0.6033, allocations: 147.8 kB / 1.548 GB, free: 7.219 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002803/0.6061, allocations: 3.121 MB / 1.551 GB, free: 3.809 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007414/0.6068, allocations: 26.17 kB / 1.551 GB, free: 3.785 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.993e-05/0.6069, allocations: 20 kB / 1.551 GB, free: 3.766 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.0004644/0.6074, allocations: 310.3 kB / 1.551 GB, free: 3.453 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.6075, allocations: 103.4 kB / 1.551 GB, free: 3.352 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/0.6077, allocations: 100.7 kB / 1.551 GB, free: 3.25 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.6077, allocations: 4 kB / 1.551 GB, free: 3.246 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.6077, allocations: 0 / 1.551 GB, free: 3.246 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001107/0.6088, allocations: 0.8348 MB / 1.552 GB, free: 2.32 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002909/0.6117, allocations: 1.788 MB / 1.554 GB, free: 444 kB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.6117, allocations: 0 / 1.554 GB, free: 444 kB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006046/0.6124, allocations: 132.2 kB / 1.554 GB, free: 312 kB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.449e-05/0.6124, allocations: 40.84 kB / 1.554 GB, free: 268 kB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.762e-05/0.6125, allocations: 19.98 kB / 1.554 GB, free: 248 kB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/0.6139, allocations: 1.59 MB / 1.556 GB, free: 14.51 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.6139, allocations: 4 kB / 1.556 GB, free: 14.51 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.6156, allocations: 1.086 MB / 1.557 GB, free: 13.37 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003902/0.6159, allocations: 236.5 kB / 1.557 GB, free: 13.12 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.6161, allocations: 12 kB / 1.557 GB, free: 13.11 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006579/0.6167, allocations: 38.23 kB / 1.557 GB, free: 13.07 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.6168, allocations: 47.98 kB / 1.557 GB, free: 13.02 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-05/0.6169, allocations: 27.98 kB / 1.557 GB, free: 13 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007501/0.6176, allocations: 0.5653 MB / 1.558 GB, free: 12.44 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/0.6176, allocations: 0 / 1.558 GB, free: 12.44 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0008508/0.6185, allocations: 268 kB / 1.558 GB, free: 12.18 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.0004477/0.6189, allocations: 201.3 kB / 1.558 GB, free: 11.98 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001357/0.6203, allocations: 0.7889 MB / 1.559 GB, free: 11.16 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.6203, allocations: 4 kB / 1.559 GB, free: 11.16 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006061/0.6209, allocations: 399.9 kB / 1.559 GB, free: 10.75 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/0.6233, allocations: 0.5966 MB / 1.56 GB, free: 10.17 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/0.6263, allocations: 1.898 MB / 1.562 GB, free: 8.188 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007705/0.627, allocations: 1.084 MB / 1.563 GB, free: 7.074 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.6272, allocations: 71.44 kB / 1.563 GB, free: 7.004 MB / 1.264 GB Notification: Performance of SimCode: time 7.41e-07/0.6272, allocations: 0 / 1.563 GB, free: 7.004 MB / 1.264 GB Notification: Performance of Templates: time 0.02989/0.6571, allocations: 22.11 MB / 1.584 GB, free: 1.008 MB / 1.279 GB [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.Xi[1],volSte.Xi[1] Variables in the result:gain.y,time,volDyn.Xi[1],volDyn.ports[1].m_flow,volSte.Xi[1]