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.001218/0.001218, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001307/0.001307, allocations: 218.4 kB / 23.04 MB, free: 5.074 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.321/1.321, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 179] 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.904/2.904, allocations: 0.5003 GB / 0.8061 GB, free: 26.72 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="cs",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.001816/0.001816, allocations: 66.25 kB / 1.171 GB, free: 19.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2878, allocations: 179 MB / 1.345 GB, free: 408 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2403/0.5282, allocations: 225.6 MB / 1.566 GB, free: 13.98 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.008976/0.5371, allocations: 5.776 MB / 1.571 GB, free: 8.199 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007762/0.5379, allocations: 59.5 kB / 1.571 GB, free: 8.141 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.5393, allocations: 0.602 MB / 1.572 GB, free: 7.535 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.003839/0.5431, allocations: 1.953 MB / 1.574 GB, free: 5.574 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.0026/0.5457, allocations: 1.253 MB / 1.575 GB, free: 4.328 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.003286/0.549, allocations: 3.034 MB / 1.578 GB, free: 1.285 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009799/0.55, allocations: 0.7659 MB / 1.579 GB, free: 0.4961 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001938/0.5519, allocations: 1.343 MB / 1.58 GB, free: 15.15 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.5538, allocations: 0.9989 MB / 1.581 GB, free: 14.16 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.554, allocations: 108 kB / 1.581 GB, free: 14.05 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002436/0.5564, allocations: 1.532 MB / 1.583 GB, free: 12.52 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0004458/0.5569, allocations: 478.6 kB / 1.583 GB, free: 12.05 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.0006561/0.5575, allocations: 0.6611 MB / 1.584 GB, free: 11.39 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.002574/0.5601, allocations: 2.141 MB / 1.586 GB, free: 9.238 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.5601, allocations: 4 kB / 1.586 GB, free: 9.234 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5601, allocations: 0 / 1.586 GB, free: 9.234 MB / 1.279 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.5601, allocations: 0 / 1.586 GB, free: 9.234 MB / 1.279 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.002289/0.5624, allocations: 1.45 MB / 1.587 GB, free: 7.75 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.5624, allocations: 15.97 kB / 1.587 GB, free: 7.734 MB / 1.279 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.224e-05/0.5625, allocations: 25.94 kB / 1.587 GB, free: 7.707 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001768/0.5627, allocations: 143.3 kB / 1.587 GB, free: 7.559 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001834/0.5645, allocations: 322.9 kB / 1.588 GB, free: 7.242 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.5659, allocations: 0.7839 MB / 1.589 GB, free: 6.434 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.14e-05/0.5659, allocations: 66 kB / 1.589 GB, free: 6.371 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.566, allocations: 84 kB / 1.589 GB, free: 6.289 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.5676, allocations: 0.913 MB / 1.59 GB, free: 5.371 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.5676, allocations: 4 kB / 1.59 GB, free: 5.367 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.602e-05/0.5677, allocations: 39.94 kB / 1.59 GB, free: 5.328 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-05/0.5677, allocations: 37.92 kB / 1.59 GB, free: 5.289 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.5691, allocations: 0.8354 MB / 1.59 GB, free: 4.453 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005122/0.5742, allocations: 3.626 MB / 1.594 GB, free: 0.5664 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007683/0.575, allocations: 460.5 kB / 1.594 GB, free: 112 kB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004768/0.5755, allocations: 288.3 kB / 1.595 GB, free: 15.83 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/0.5756, allocations: 24.36 kB / 1.595 GB, free: 15.8 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.5757, allocations: 46.98 kB / 1.595 GB, free: 15.75 MB / 1.295 GB Notification: Performance of pre-optimization done (n=47): time 2.214e-06/0.5757, allocations: 4 kB / 1.595 GB, free: 15.75 MB / 1.295 GB Notification: Performance of matching and sorting (n=49): time 0.003474/0.5791, allocations: 1.652 MB / 1.596 GB, free: 14.05 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.5792, allocations: 59.84 kB / 1.596 GB, free: 13.98 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009715/0.5802, allocations: 0.8136 MB / 1.597 GB, free: 13.16 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 5.939e-05/0.5802, allocations: 37.7 kB / 1.597 GB, free: 13.12 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003567/0.5806, allocations: 488.2 kB / 1.598 GB, free: 12.64 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.5807, allocations: 182.5 kB / 1.598 GB, free: 12.46 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.5809, allocations: 118.2 kB / 1.598 GB, free: 12.34 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.5811, allocations: 330 kB / 1.598 GB, free: 12.01 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/0.5815, allocations: 245.2 kB / 1.599 GB, free: 11.77 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005535/0.5821, allocations: 384.6 kB / 1.599 GB, free: 11.34 MB / 1.295 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.003601/0.5857, allocations: 1.458 MB / 1.6 GB, free: 9.836 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.5857, allocations: 7.938 kB / 1.6 GB, free: 9.828 MB / 1.295 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00134/0.587, allocations: 0.7912 MB / 1.601 GB, free: 9.027 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.587, allocations: 8.406 kB / 1.601 GB, free: 9.02 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.587, allocations: 8 kB / 1.601 GB, free: 9.012 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001608/0.5872, allocations: 73.7 kB / 1.601 GB, free: 8.934 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006526/0.5879, allocations: 143.8 kB / 1.601 GB, free: 8.793 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002529/0.5904, allocations: 2.918 MB / 1.604 GB, free: 5.641 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007189/0.5911, allocations: 31.92 kB / 1.604 GB, free: 5.609 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.074e-05/0.5912, allocations: 24 kB / 1.604 GB, free: 5.586 MB / 1.295 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.0004669/0.5916, allocations: 313.6 kB / 1.605 GB, free: 5.27 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.5918, allocations: 95.44 kB / 1.605 GB, free: 5.176 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.592, allocations: 96.72 kB / 1.605 GB, free: 5.078 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.592, allocations: 8 kB / 1.605 GB, free: 5.07 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.592, allocations: 0 / 1.605 GB, free: 5.07 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001072/0.593, allocations: 0.8309 MB / 1.606 GB, free: 4.152 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002832/0.5959, allocations: 1.771 MB / 1.607 GB, free: 2.289 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.5959, allocations: 0 / 1.607 GB, free: 2.289 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005982/0.5965, allocations: 132.2 kB / 1.607 GB, free: 2.16 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-05/0.5966, allocations: 40.83 kB / 1.607 GB, free: 2.117 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.543e-05/0.5966, allocations: 16 kB / 1.607 GB, free: 2.102 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.5979, allocations: 1.487 MB / 1.609 GB, free: 0.5039 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.5979, allocations: 12.08 kB / 1.609 GB, free: 0.4922 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5125/1.11, allocations: 1.077 MB / 1.61 GB, free: 265.2 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004218/1.111, allocations: 159.5 kB / 1.61 GB, free: 265.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/1.111, allocations: 17.84 kB / 1.61 GB, free: 265.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006479/1.112, allocations: 29.22 kB / 1.61 GB, free: 265.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/1.112, allocations: 46.12 kB / 1.61 GB, free: 265.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.726e-05/1.112, allocations: 33.94 kB / 1.61 GB, free: 265.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0007781/1.113, allocations: 0.5594 MB / 1.611 GB, free: 265.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.113, allocations: 0.5625 kB / 1.611 GB, free: 265.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0008965/1.113, allocations: 276 kB / 1.611 GB, free: 265.1 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.001952/1.115, allocations: 1.687 MB / 1.613 GB, free: 264.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001191/1.117, allocations: 0.7795 MB / 1.613 GB, free: 264.1 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.117, allocations: 1.406 kB / 1.613 GB, free: 264.1 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0005268/1.117, allocations: 397.3 kB / 1.614 GB, free: 264 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/1.12, allocations: 0.5957 MB / 1.614 GB, free: 264 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009359/1.129, allocations: 7.039 MB / 1.621 GB, free: 260.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005396/1.13, allocations: 1.093 MB / 1.622 GB, free: 259.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009504/1.13, allocations: 213.3 kB / 1.623 GB, free: 259.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000423/1.131, allocations: 343.2 kB / 1.623 GB, free: 259.4 MB / 1.295 GB Notification: Performance of SimCode: time 8.22e-07/1.131, allocations: 2.969 kB / 1.623 GB, free: 259.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05685/1.188, allocations: 28.11 MB / 1.65 GB, free: 250.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/14.22, allocations: 17.55 kB / 1.65 GB, free: 250.1 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: 20.363061925047077]