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.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.001468/0.001468, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001632/0.001632, allocations: 212.5 kB / 22.24 MB, free: 5.262 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.34/1.34, allocations: 230.6 MB / 256 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.989/2.989, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) [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.001908/0.001908, allocations: 67.16 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2854, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2199/0.5053, allocations: 196 MB / 1.555 GB, free: 9.316 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.009196/0.5145, allocations: 5.456 MB / 1.56 GB, free: 3.852 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.5157, allocations: 59.5 kB / 1.56 GB, free: 3.793 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.5172, allocations: 0.5435 MB / 1.561 GB, free: 3.246 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.004918/0.5221, allocations: 1.937 MB / 1.563 GB, free: 1.301 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003557/0.5257, allocations: 1.208 MB / 1.564 GB, free: 100 kB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.004249/0.5299, allocations: 3.018 MB / 1.567 GB, free: 13.07 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00131/0.5312, allocations: 0.758 MB / 1.568 GB, free: 12.3 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002561/0.5338, allocations: 1.339 MB / 1.569 GB, free: 10.95 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002244/0.536, allocations: 0.9578 MB / 1.57 GB, free: 10 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0002267/0.5363, allocations: 108 kB / 1.57 GB, free: 9.895 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002361/0.5386, allocations: 1.184 MB / 1.571 GB, free: 8.707 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0005154/0.5391, allocations: 470.6 kB / 1.571 GB, free: 8.246 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0009066/0.54, allocations: 0.5485 MB / 1.572 GB, free: 7.695 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.00342/0.5435, allocations: 2.11 MB / 1.574 GB, free: 5.578 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.5435, allocations: 3.938 kB / 1.574 GB, free: 5.574 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5435, allocations: 4 kB / 1.574 GB, free: 5.57 MB / 1.264 GB Notification: Performance of Transformations before backend: time 5.054e-05/0.5435, allocations: 0 / 1.574 GB, free: 5.57 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.002957/0.5465, allocations: 1.463 MB / 1.576 GB, free: 4.07 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.5465, allocations: 8.031 kB / 1.576 GB, free: 4.062 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002314/0.5468, allocations: 143.3 kB / 1.576 GB, free: 3.914 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001997/0.5487, allocations: 322.9 kB / 1.576 GB, free: 3.598 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.5504, allocations: 0.7877 MB / 1.577 GB, free: 2.781 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.854e-05/0.5505, allocations: 66 kB / 1.577 GB, free: 2.719 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.5506, allocations: 87.98 kB / 1.577 GB, free: 2.633 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/0.5525, allocations: 1.365 MB / 1.578 GB, free: 1.152 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.5525, allocations: 0 / 1.578 GB, free: 1.152 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-05/0.5526, allocations: 40 kB / 1.578 GB, free: 1.113 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-05/0.5526, allocations: 37.92 kB / 1.578 GB, free: 1.074 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/0.554, allocations: 0.8237 MB / 1.579 GB, free: 256 kB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005055/0.5591, allocations: 2.554 MB / 1.582 GB, free: 13.64 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007712/0.5599, allocations: 463.2 kB / 1.582 GB, free: 13.18 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004487/0.5603, allocations: 294.4 kB / 1.582 GB, free: 12.89 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001456/0.5605, allocations: 28.42 kB / 1.582 GB, free: 12.86 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.5605, allocations: 42.94 kB / 1.582 GB, free: 12.81 MB / 1.279 GB Notification: Performance of pre-optimization done (n=47): time 1.723e-06/0.5605, allocations: 0 / 1.582 GB, free: 12.81 MB / 1.279 GB Notification: Performance of matching and sorting (n=49): time 0.003336/0.5638, allocations: 1.663 MB / 1.584 GB, free: 11.11 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.5639, allocations: 55.84 kB / 1.584 GB, free: 11.04 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009764/0.5649, allocations: 0.8174 MB / 1.585 GB, free: 10.21 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 5.336e-05/0.5649, allocations: 33.7 kB / 1.585 GB, free: 10.18 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003619/0.5653, allocations: 484.2 kB / 1.585 GB, free: 9.699 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.5654, allocations: 186.4 kB / 1.586 GB, free: 9.516 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.5656, allocations: 118.3 kB / 1.586 GB, free: 9.391 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.5658, allocations: 326 kB / 1.586 GB, free: 9.066 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004282/0.5662, allocations: 253.2 kB / 1.586 GB, free: 8.82 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005842/0.5668, allocations: 487.3 kB / 1.587 GB, free: 8.27 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.003492/0.5703, allocations: 1.458 MB / 1.588 GB, free: 6.766 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.5703, allocations: 0 / 1.588 GB, free: 6.766 MB / 1.279 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001296/0.5716, allocations: 0.799 MB / 1.589 GB, free: 5.953 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.5716, allocations: 9.562 kB / 1.589 GB, free: 5.945 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5716, allocations: 0 / 1.589 GB, free: 5.945 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001558/0.5717, allocations: 69.67 kB / 1.589 GB, free: 5.871 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000649/0.5724, allocations: 152.2 kB / 1.589 GB, free: 5.723 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/0.5748, allocations: 2.902 MB / 1.592 GB, free: 2.59 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007332/0.5756, allocations: 35.92 kB / 1.592 GB, free: 2.555 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.085e-05/0.5756, allocations: 27.98 kB / 1.592 GB, free: 2.527 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.0003934/0.576, allocations: 306.7 kB / 1.592 GB, free: 2.219 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.5761, allocations: 95.44 kB / 1.592 GB, free: 2.125 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/0.5763, allocations: 100.7 kB / 1.592 GB, free: 2.023 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.5763, allocations: 4 kB / 1.592 GB, free: 2.02 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.5763, allocations: 0 / 1.592 GB, free: 2.02 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001025/0.5774, allocations: 0.8387 MB / 1.593 GB, free: 1.094 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002719/0.5801, allocations: 1.627 MB / 1.595 GB, free: 15.38 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.5801, allocations: 4.406 kB / 1.595 GB, free: 15.37 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005876/0.5807, allocations: 131.8 kB / 1.595 GB, free: 15.24 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.179e-05/0.5807, allocations: 44.83 kB / 1.595 GB, free: 15.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/0.5808, allocations: 8 kB / 1.595 GB, free: 15.19 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/0.582, allocations: 1.498 MB / 1.596 GB, free: 13.57 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.582, allocations: 7.938 kB / 1.597 GB, free: 13.57 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.5835, allocations: 1.07 MB / 1.598 GB, free: 12.44 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000416/0.584, allocations: 167.3 kB / 1.598 GB, free: 12.28 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.5841, allocations: 15.94 kB / 1.598 GB, free: 12.26 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006426/0.5847, allocations: 27.97 kB / 1.598 GB, free: 12.23 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.635e-05/0.5848, allocations: 47.81 kB / 1.598 GB, free: 12.19 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.859e-05/0.5849, allocations: 27.98 kB / 1.598 GB, free: 12.16 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0006814/0.5856, allocations: 0.5693 MB / 1.598 GB, free: 11.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/0.5856, allocations: 0 / 1.598 GB, free: 11.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0007419/0.5863, allocations: 275.9 kB / 1.599 GB, free: 11.33 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.002022/0.5883, allocations: 1.687 MB / 1.6 GB, free: 9.566 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001214/0.5895, allocations: 0.777 MB / 1.601 GB, free: 8.762 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.5895, allocations: 8 kB / 1.601 GB, free: 8.754 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0005517/0.5901, allocations: 390.3 kB / 1.601 GB, free: 8.359 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/0.5925, allocations: 0.6062 MB / 1.602 GB, free: 7.766 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009737/0.6023, allocations: 7.02 MB / 1.609 GB, free: 460 kB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5275/1.13, allocations: 0.489 MB / 1.609 GB, free: 246.9 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009876/1.131, allocations: 224.3 kB / 1.61 GB, free: 246.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000442/1.131, allocations: 342.2 kB / 1.61 GB, free: 246.8 MB / 1.295 GB Notification: Performance of SimCode: time 8.82e-07/1.131, allocations: 0 / 1.61 GB, free: 246.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06721/1.198, allocations: 30.31 MB / 1.639 GB, free: 238.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/13.44, allocations: 4.922 kB / 1.64 GB, free: 238.9 MB / 1.295 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 840.0] 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] Reference file matches [Calling sys.exit(0), Time elapsed: 19.592002553865314]