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.001779/0.001779, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002191/0.002191, allocations: 216.5 kB / 23.03 MB, free: 4.922 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.398/1.398, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.107/3.107, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_12_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.001894/0.001894, allocations: 64.69 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3047, allocations: 176.1 MB / 1.327 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2301/0.5348, allocations: 195.9 MB / 1.518 GB, free: 12.89 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.009052/0.5439, allocations: 5.423 MB / 1.523 GB, free: 7.457 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009172/0.5448, allocations: 59.5 kB / 1.523 GB, free: 7.398 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001423/0.5462, allocations: 0.5629 MB / 1.524 GB, free: 6.832 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004602/0.5508, allocations: 1.942 MB / 1.526 GB, free: 4.883 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002963/0.5538, allocations: 1.222 MB / 1.527 GB, free: 3.668 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004001/0.5578, allocations: 3.031 MB / 1.53 GB, free: 0.625 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001179/0.5589, allocations: 0.7736 MB / 1.531 GB, free: 15.83 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002454/0.5614, allocations: 1.339 MB / 1.532 GB, free: 14.49 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002494/0.5639, allocations: 0.9953 MB / 1.533 GB, free: 13.5 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.00022/0.5641, allocations: 108 kB / 1.533 GB, free: 13.4 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00263/0.5667, allocations: 1.192 MB / 1.534 GB, free: 12.2 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005105/0.5673, allocations: 470.6 kB / 1.535 GB, free: 11.74 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0007494/0.568, allocations: 0.5563 MB / 1.535 GB, free: 11.18 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003404/0.5714, allocations: 2.114 MB / 1.537 GB, free: 9.062 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5714, allocations: 0 / 1.537 GB, free: 9.062 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5714, allocations: 0 / 1.537 GB, free: 9.062 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.028e-05/0.5714, allocations: 0 / 1.537 GB, free: 9.062 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.002568/0.574, allocations: 1.458 MB / 1.539 GB, free: 7.566 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.574, allocations: 12.03 kB / 1.539 GB, free: 7.555 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.065e-05/0.5741, allocations: 22 kB / 1.539 GB, free: 7.535 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001704/0.5742, allocations: 143.3 kB / 1.539 GB, free: 7.387 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002067/0.5763, allocations: 318.9 kB / 1.539 GB, free: 7.074 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.5779, allocations: 0.7994 MB / 1.54 GB, free: 6.246 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.491e-05/0.5779, allocations: 66 kB / 1.54 GB, free: 6.18 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.5781, allocations: 84 kB / 1.54 GB, free: 6.098 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.58, allocations: 1.369 MB / 1.541 GB, free: 4.613 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.5801, allocations: 0 / 1.541 GB, free: 4.613 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.5802, allocations: 39.94 kB / 1.541 GB, free: 4.574 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-05/0.5802, allocations: 30 kB / 1.541 GB, free: 4.547 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.5816, allocations: 0.8354 MB / 1.542 GB, free: 3.707 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004971/0.5866, allocations: 2.547 MB / 1.545 GB, free: 1.109 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008089/0.5874, allocations: 465.3 kB / 1.545 GB, free: 0.6484 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004628/0.5879, allocations: 282 kB / 1.545 GB, free: 380 kB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001648/0.588, allocations: 28.3 kB / 1.545 GB, free: 348 kB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.5881, allocations: 50.92 kB / 1.546 GB, free: 288 kB / 1.232 GB Notification: Performance of pre-optimization done (n=47): time 2.275e-06/0.5881, allocations: 0 / 1.546 GB, free: 288 kB / 1.232 GB Notification: Performance of matching and sorting (n=49): time 0.003687/0.5918, allocations: 1.66 MB / 1.547 GB, free: 14.59 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.5918, allocations: 55.84 kB / 1.547 GB, free: 14.52 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.5929, allocations: 0.8097 MB / 1.548 GB, free: 13.7 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/0.5929, allocations: 37.7 kB / 1.548 GB, free: 13.66 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004143/0.5933, allocations: 488.2 kB / 1.549 GB, free: 13.18 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.5935, allocations: 186.4 kB / 1.549 GB, free: 12.99 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.5937, allocations: 118.2 kB / 1.549 GB, free: 12.87 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.5939, allocations: 334 kB / 1.549 GB, free: 12.54 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004621/0.5943, allocations: 241.2 kB / 1.549 GB, free: 12.3 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006677/0.595, allocations: 483.4 kB / 1.55 GB, free: 11.75 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.003733/0.5987, allocations: 1.458 MB / 1.551 GB, free: 10.25 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.5988, allocations: 7.938 kB / 1.551 GB, free: 10.24 MB / 1.248 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001415/0.6002, allocations: 0.7913 MB / 1.552 GB, free: 9.438 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.6002, allocations: 9.719 kB / 1.552 GB, free: 9.43 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.6002, allocations: 4.406 kB / 1.552 GB, free: 9.426 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001748/0.6004, allocations: 69.67 kB / 1.552 GB, free: 9.352 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006883/0.6011, allocations: 143.8 kB / 1.552 GB, free: 9.211 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002667/0.6037, allocations: 2.906 MB / 1.555 GB, free: 6.074 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000802/0.6045, allocations: 32.05 kB / 1.555 GB, free: 6.043 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.094e-05/0.6046, allocations: 20 kB / 1.555 GB, free: 6.023 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.0005164/0.6051, allocations: 309.5 kB / 1.555 GB, free: 5.711 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.6053, allocations: 103.3 kB / 1.556 GB, free: 5.609 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/0.6055, allocations: 100.7 kB / 1.556 GB, free: 5.512 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.6055, allocations: 4 kB / 1.556 GB, free: 5.508 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.6055, allocations: 4 kB / 1.556 GB, free: 5.504 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001182/0.6066, allocations: 0.8349 MB / 1.556 GB, free: 4.578 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/0.6095, allocations: 1.63 MB / 1.558 GB, free: 2.855 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.6095, allocations: 4 kB / 1.558 GB, free: 2.852 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006292/0.6102, allocations: 131.8 kB / 1.558 GB, free: 2.723 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001061/0.6103, allocations: 36.84 kB / 1.558 GB, free: 2.684 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.814e-05/0.6103, allocations: 19.92 kB / 1.558 GB, free: 2.664 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/0.6117, allocations: 1.499 MB / 1.56 GB, free: 1.051 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.6117, allocations: 4 kB / 1.56 GB, free: 1.047 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.6133, allocations: 1.07 MB / 1.561 GB, free: 15.92 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003827/0.6137, allocations: 159.4 kB / 1.561 GB, free: 15.76 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.6138, allocations: 19.92 kB / 1.561 GB, free: 15.74 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006625/0.6145, allocations: 34.55 kB / 1.561 GB, free: 15.71 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.825e-05/0.6146, allocations: 47.86 kB / 1.561 GB, free: 15.66 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.289e-05/0.6146, allocations: 31.92 kB / 1.561 GB, free: 15.63 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007187/0.6154, allocations: 0.5614 MB / 1.562 GB, free: 15.07 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.6154, allocations: 0 / 1.562 GB, free: 15.07 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0008428/0.6162, allocations: 276 kB / 1.562 GB, free: 14.8 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.002103/0.6183, allocations: 1.693 MB / 1.563 GB, free: 13.04 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001299/0.6196, allocations: 0.784 MB / 1.564 GB, free: 12.23 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.6196, allocations: 0 / 1.564 GB, free: 12.23 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0005751/0.6202, allocations: 391.6 kB / 1.565 GB, free: 11.84 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002513/0.6227, allocations: 0.6078 MB / 1.565 GB, free: 11.25 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009594/0.6323, allocations: 7.031 MB / 1.572 GB, free: 3.914 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000533/0.6328, allocations: 0.5006 MB / 1.573 GB, free: 3.379 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0007347/0.6336, allocations: 215.7 kB / 1.573 GB, free: 3.164 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004839/0.634, allocations: 343.3 kB / 1.573 GB, free: 2.828 MB / 1.264 GB Notification: Performance of SimCode: time 1.052e-06/0.6341, allocations: 0 / 1.573 GB, free: 2.828 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08667/0.7207, allocations: 29.96 MB / 1.602 GB, free: 5.637 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/14.75, allocations: 11.38 kB / 1.602 GB, free: 5.629 MB / 1.295 GB " [Timeout remaining time 285] (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: 21.885849833954126]