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.001448/0.001448, allocations: 110.4 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.001911/0.001911, allocations: 218 kB / 22.26 MB, free: 5.121 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.35/1.35, allocations: 230.6 MB / 256 MB, free: 7.992 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 2.917/2.917, allocations: 0.49 GB / 0.7951 GB, free: 33.24 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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_12_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.001834/0.001834, allocations: 65.92 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2895, allocations: 176.1 MB / 1.326 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2381/0.5276, allocations: 225.6 MB / 1.546 GB, free: 15.55 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.008855/0.5364, allocations: 5.791 MB / 1.552 GB, free: 9.75 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007334/0.5372, allocations: 51.56 kB / 1.552 GB, free: 9.699 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.5385, allocations: 0.602 MB / 1.553 GB, free: 9.094 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.003776/0.5423, allocations: 1.958 MB / 1.554 GB, free: 7.129 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.002628/0.5449, allocations: 1.252 MB / 1.556 GB, free: 5.883 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003355/0.5483, allocations: 3.034 MB / 1.559 GB, free: 2.836 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009919/0.5493, allocations: 0.7581 MB / 1.559 GB, free: 2.059 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.5512, allocations: 1.339 MB / 1.561 GB, free: 0.7148 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001909/0.5532, allocations: 1.004 MB / 1.562 GB, free: 15.72 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.5533, allocations: 108 kB / 1.562 GB, free: 15.62 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002456/0.5558, allocations: 1.528 MB / 1.563 GB, free: 14.09 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0004598/0.5562, allocations: 486.5 kB / 1.564 GB, free: 13.61 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0006565/0.5569, allocations: 0.6456 MB / 1.564 GB, free: 12.96 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.002551/0.5594, allocations: 2.149 MB / 1.566 GB, free: 10.8 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.5594, allocations: 0 / 1.566 GB, free: 10.8 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5594, allocations: 0 / 1.566 GB, free: 10.8 MB / 1.264 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.5595, allocations: 0 / 1.566 GB, free: 10.8 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.002282/0.5617, allocations: 1.465 MB / 1.568 GB, free: 9.301 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.5618, allocations: 12.03 kB / 1.568 GB, free: 9.289 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001652/0.5619, allocations: 139.3 kB / 1.568 GB, free: 9.145 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/0.5638, allocations: 326.9 kB / 1.568 GB, free: 8.824 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.5651, allocations: 0.7877 MB / 1.569 GB, free: 8.008 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.606e-05/0.5652, allocations: 66 kB / 1.569 GB, free: 7.945 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.5653, allocations: 84 kB / 1.569 GB, free: 7.863 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.5668, allocations: 0.9092 MB / 1.57 GB, free: 6.945 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/0.5668, allocations: 4 kB / 1.57 GB, free: 6.941 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.3e-05/0.5669, allocations: 39.98 kB / 1.57 GB, free: 6.902 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-05/0.5669, allocations: 33.94 kB / 1.57 GB, free: 6.867 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.5683, allocations: 0.8353 MB / 1.571 GB, free: 6.035 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005326/0.5736, allocations: 3.626 MB / 1.575 GB, free: 2.156 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007478/0.5744, allocations: 468.4 kB / 1.575 GB, free: 1.691 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004345/0.5748, allocations: 278 kB / 1.575 GB, free: 1.418 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001466/0.575, allocations: 32.41 kB / 1.575 GB, free: 1.383 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.575, allocations: 46.92 kB / 1.575 GB, free: 1.328 MB / 1.264 GB Notification: Performance of pre-optimization done (n=47): time 1.753e-06/0.575, allocations: 0 / 1.575 GB, free: 1.328 MB / 1.264 GB Notification: Performance of matching and sorting (n=49): time 0.003208/0.5782, allocations: 1.664 MB / 1.577 GB, free: 15.62 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.5783, allocations: 59.84 kB / 1.577 GB, free: 15.55 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009456/0.5792, allocations: 0.8058 MB / 1.578 GB, free: 14.74 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 5.269e-05/0.5793, allocations: 37.7 kB / 1.578 GB, free: 14.7 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/0.5796, allocations: 484.2 kB / 1.578 GB, free: 14.22 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.5798, allocations: 186.4 kB / 1.578 GB, free: 14.04 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.58, allocations: 118.2 kB / 1.579 GB, free: 13.91 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.5801, allocations: 330 kB / 1.579 GB, free: 13.58 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004281/0.5805, allocations: 249.2 kB / 1.579 GB, free: 13.34 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005286/0.5811, allocations: 376.6 kB / 1.579 GB, free: 12.92 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.00348/0.5845, allocations: 1.458 MB / 1.581 GB, free: 11.42 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.5845, allocations: 4 kB / 1.581 GB, free: 11.41 MB / 1.279 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001271/0.5858, allocations: 0.791 MB / 1.582 GB, free: 10.61 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.5858, allocations: 10.19 kB / 1.582 GB, free: 10.61 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.5858, allocations: 4 kB / 1.582 GB, free: 10.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001617/0.586, allocations: 74.02 kB / 1.582 GB, free: 10.52 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000635/0.5866, allocations: 143.8 kB / 1.582 GB, free: 10.38 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002481/0.5891, allocations: 2.918 MB / 1.585 GB, free: 7.234 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006697/0.5898, allocations: 31.97 kB / 1.585 GB, free: 7.203 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.634e-05/0.5898, allocations: 24 kB / 1.585 GB, free: 7.18 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.0004193/0.5903, allocations: 312.6 kB / 1.585 GB, free: 6.867 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.5904, allocations: 95.39 kB / 1.585 GB, free: 6.773 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.5906, allocations: 104.8 kB / 1.585 GB, free: 6.668 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.5906, allocations: 12.08 kB / 1.585 GB, free: 6.656 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5906, allocations: 4 kB / 1.585 GB, free: 6.652 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001036/0.5916, allocations: 0.831 MB / 1.586 GB, free: 5.73 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002745/0.5944, allocations: 1.766 MB / 1.588 GB, free: 3.871 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.5944, allocations: 0 / 1.588 GB, free: 3.871 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005872/0.595, allocations: 135.8 kB / 1.588 GB, free: 3.738 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.351e-05/0.595, allocations: 40.83 kB / 1.588 GB, free: 3.695 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.381e-05/0.5951, allocations: 12.41 kB / 1.588 GB, free: 3.684 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001239/0.5963, allocations: 1.491 MB / 1.589 GB, free: 2.078 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.5963, allocations: 8.047 kB / 1.59 GB, free: 2.07 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/0.5978, allocations: 1.074 MB / 1.591 GB, free: 0.9375 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003884/0.5982, allocations: 163.3 kB / 1.591 GB, free: 0.7773 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.5983, allocations: 23.92 kB / 1.591 GB, free: 0.7539 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006063/0.5989, allocations: 25.61 kB / 1.591 GB, free: 0.7305 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.816e-05/0.599, allocations: 43.86 kB / 1.591 GB, free: 0.6875 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.668e-05/0.5991, allocations: 31.98 kB / 1.591 GB, free: 0.6562 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0006946/0.5998, allocations: 0.5654 MB / 1.591 GB, free: 100 kB / 1.279 GB Notification: Performance of sort global known variables: time 6e-08/0.5998, allocations: 0 / 1.591 GB, free: 100 kB / 1.279 GB Notification: Performance of remove unused functions: time 0.0007863/0.6005, allocations: 272 kB / 1.592 GB, free: 15.83 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.001998/0.6025, allocations: 1.694 MB / 1.593 GB, free: 14.07 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001232/0.6038, allocations: 0.784 MB / 1.594 GB, free: 13.26 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6038, allocations: 0.8125 kB / 1.594 GB, free: 13.26 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0005482/0.6043, allocations: 394.5 kB / 1.594 GB, free: 12.86 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/0.6067, allocations: 0.6084 MB / 1.595 GB, free: 12.27 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009201/0.6159, allocations: 7.042 MB / 1.602 GB, free: 4.922 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007062/0.6166, allocations: 1.084 MB / 1.603 GB, free: 3.809 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.000665/0.6172, allocations: 215.7 kB / 1.603 GB, free: 3.594 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004504/0.6177, allocations: 343.3 kB / 1.603 GB, free: 3.258 MB / 1.295 GB Notification: Performance of SimCode: time 6.21e-07/0.6177, allocations: 0 / 1.603 GB, free: 3.258 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.596/1.214, allocations: 28.08 MB / 1.631 GB, free: 275.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/14.05, allocations: 6.016 kB / 1.631 GB, free: 275.8 MB / 1.295 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 20.09446374885738]