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.001419/0.001419, allocations: 101.5 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.001511/0.001511, allocations: 214.8 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.352/1.352, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.906/2.906, allocations: 0.49 GB / 0.7959 GB, free: 33.43 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.001842/0.001842, allocations: 63.53 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2786, allocations: 176.1 MB / 1.327 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2369/0.5154, allocations: 225.6 MB / 1.547 GB, free: 15.51 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.008833/0.5243, allocations: 5.771 MB / 1.553 GB, free: 9.727 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007768/0.525, allocations: 55.5 kB / 1.553 GB, free: 9.672 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.5264, allocations: 0.6137 MB / 1.553 GB, free: 9.055 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.003932/0.5303, allocations: 1.949 MB / 1.555 GB, free: 7.098 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.002645/0.533, allocations: 1.248 MB / 1.556 GB, free: 5.855 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003415/0.5364, allocations: 3.035 MB / 1.559 GB, free: 2.809 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.5374, allocations: 0.7737 MB / 1.56 GB, free: 2.016 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00203/0.5394, allocations: 1.327 MB / 1.561 GB, free: 0.6836 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001998/0.5414, allocations: 1.004 MB / 1.562 GB, free: 15.69 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.5416, allocations: 108 kB / 1.562 GB, free: 15.58 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002545/0.5441, allocations: 1.535 MB / 1.564 GB, free: 14.04 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0004722/0.5446, allocations: 478.6 kB / 1.564 GB, free: 13.57 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0006613/0.5453, allocations: 0.6495 MB / 1.565 GB, free: 12.92 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.002577/0.5478, allocations: 2.137 MB / 1.567 GB, free: 10.78 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5479, allocations: 0 / 1.567 GB, free: 10.78 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5479, allocations: 0 / 1.567 GB, free: 10.78 MB / 1.264 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.5479, allocations: 8 kB / 1.567 GB, free: 10.77 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.002361/0.5502, allocations: 1.465 MB / 1.569 GB, free: 9.266 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.5503, allocations: 11.97 kB / 1.569 GB, free: 9.254 MB / 1.264 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.751e-05/0.5503, allocations: 26 kB / 1.569 GB, free: 9.23 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001652/0.5505, allocations: 139.2 kB / 1.569 GB, free: 9.086 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/0.5523, allocations: 330.9 kB / 1.569 GB, free: 8.762 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.5537, allocations: 0.7838 MB / 1.57 GB, free: 7.949 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.325e-05/0.5537, allocations: 66 kB / 1.57 GB, free: 7.883 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.5539, allocations: 88 kB / 1.57 GB, free: 7.797 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.5554, allocations: 0.9092 MB / 1.571 GB, free: 6.883 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.5554, allocations: 3.938 kB / 1.571 GB, free: 6.879 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.723e-05/0.5555, allocations: 39.94 kB / 1.571 GB, free: 6.84 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.94e-05/0.5555, allocations: 30 kB / 1.571 GB, free: 6.812 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.5569, allocations: 0.8354 MB / 1.572 GB, free: 5.973 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005051/0.562, allocations: 3.626 MB / 1.575 GB, free: 2.098 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000747/0.5627, allocations: 469.1 kB / 1.576 GB, free: 1.633 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004387/0.5632, allocations: 274 kB / 1.576 GB, free: 1.363 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/0.5633, allocations: 32.34 kB / 1.576 GB, free: 1.328 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.5633, allocations: 50.94 kB / 1.576 GB, free: 1.27 MB / 1.264 GB Notification: Performance of pre-optimization done (n=47): time 1.744e-06/0.5633, allocations: 0 / 1.576 GB, free: 1.27 MB / 1.264 GB Notification: Performance of matching and sorting (n=49): time 0.003303/0.5666, allocations: 1.66 MB / 1.578 GB, free: 15.57 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.5667, allocations: 55.84 kB / 1.578 GB, free: 15.5 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009418/0.5676, allocations: 0.8058 MB / 1.579 GB, free: 14.69 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 5.386e-05/0.5677, allocations: 37.7 kB / 1.579 GB, free: 14.65 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/0.568, allocations: 488.2 kB / 1.579 GB, free: 14.16 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.5682, allocations: 182.4 kB / 1.579 GB, free: 13.98 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.5684, allocations: 122.2 kB / 1.579 GB, free: 13.86 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.5685, allocations: 326 kB / 1.58 GB, free: 13.53 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004245/0.569, allocations: 245.2 kB / 1.58 GB, free: 13.29 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005406/0.5695, allocations: 384.6 kB / 1.58 GB, free: 12.87 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.003565/0.5731, allocations: 1.464 MB / 1.582 GB, free: 11.36 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.5731, allocations: 3.938 kB / 1.582 GB, free: 11.36 MB / 1.279 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001345/0.5744, allocations: 0.7874 MB / 1.582 GB, free: 10.55 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.5744, allocations: 4 kB / 1.582 GB, free: 10.55 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.5745, allocations: 8 kB / 1.582 GB, free: 10.54 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001659/0.5746, allocations: 66.08 kB / 1.583 GB, free: 10.47 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006541/0.5753, allocations: 155.8 kB / 1.583 GB, free: 10.32 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002496/0.5778, allocations: 2.918 MB / 1.586 GB, free: 7.172 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007354/0.5785, allocations: 30.02 kB / 1.586 GB, free: 7.145 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/0.5786, allocations: 20 kB / 1.586 GB, free: 7.125 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.0004509/0.579, allocations: 309.6 kB / 1.586 GB, free: 6.812 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.5792, allocations: 103.4 kB / 1.586 GB, free: 6.711 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/0.5793, allocations: 100.7 kB / 1.586 GB, free: 6.613 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.5793, allocations: 8.062 kB / 1.586 GB, free: 6.605 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5793, allocations: 0 / 1.586 GB, free: 6.605 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001075/0.5804, allocations: 0.8426 MB / 1.587 GB, free: 5.672 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00276/0.5832, allocations: 1.759 MB / 1.589 GB, free: 3.82 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.5832, allocations: 4 kB / 1.589 GB, free: 3.816 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000592/0.5838, allocations: 131.8 kB / 1.589 GB, free: 3.688 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.899e-05/0.5839, allocations: 36.84 kB / 1.589 GB, free: 3.648 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.402e-05/0.5839, allocations: 20 kB / 1.589 GB, free: 3.629 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/0.5852, allocations: 1.495 MB / 1.59 GB, free: 2.02 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.5852, allocations: 7.938 kB / 1.59 GB, free: 2.012 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.5867, allocations: 1.074 MB / 1.591 GB, free: 0.8789 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000354/0.5871, allocations: 159.5 kB / 1.591 GB, free: 0.7227 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.5872, allocations: 19.94 kB / 1.591 GB, free: 0.7031 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006479/0.5879, allocations: 35.16 kB / 1.592 GB, free: 0.6719 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.815e-05/0.588, allocations: 43.86 kB / 1.592 GB, free: 0.6289 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.696e-05/0.588, allocations: 27.98 kB / 1.592 GB, free: 0.6016 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0006894/0.5887, allocations: 0.5692 MB / 1.592 GB, free: 36 kB / 1.279 GB Notification: Performance of sort global known variables: time 8e-08/0.5887, allocations: 0 / 1.592 GB, free: 36 kB / 1.279 GB Notification: Performance of remove unused functions: time 0.0008079/0.5895, allocations: 276 kB / 1.592 GB, free: 15.76 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.002005/0.5915, allocations: 1.685 MB / 1.594 GB, free: 14.02 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001288/0.5928, allocations: 0.784 MB / 1.595 GB, free: 13.21 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5928, allocations: 0 / 1.595 GB, free: 13.21 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0005678/0.5934, allocations: 399.8 kB / 1.595 GB, free: 12.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/0.5959, allocations: 0.6082 MB / 1.596 GB, free: 12.21 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009401/0.6053, allocations: 7.039 MB / 1.603 GB, free: 4.871 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007451/0.6061, allocations: 1.088 MB / 1.604 GB, free: 3.754 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0007036/0.6068, allocations: 215.7 kB / 1.604 GB, free: 3.539 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004658/0.6072, allocations: 347.3 kB / 1.604 GB, free: 3.199 MB / 1.295 GB Notification: Performance of SimCode: time 3.71e-07/0.6072, allocations: 0 / 1.604 GB, free: 3.199 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5726/1.18, allocations: 28.1 MB / 1.632 GB, free: 275.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/14.28, allocations: 8.719 kB / 1.632 GB, free: 275.9 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.424653641995974]