Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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.00147/0.00147, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001613/0.001613, allocations: 214.3 kB / 23.04 MB, free: 5.078 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: 8.016 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.922/2.922, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 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.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",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.002071/0.002071, allocations: 69.38 kB / 1.171 GB, free: 19.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2891, allocations: 179 MB / 1.345 GB, free: 456 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.2333/0.5224, allocations: 225.6 MB / 1.566 GB, free: 14.02 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.00919/0.5316, allocations: 5.777 MB / 1.571 GB, free: 8.234 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.5328, allocations: 55.56 kB / 1.571 GB, free: 8.18 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.5342, allocations: 0.602 MB / 1.572 GB, free: 7.574 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.003648/0.5378, allocations: 1.724 MB / 1.574 GB, free: 5.844 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.5407, allocations: 1.266 MB / 1.575 GB, free: 4.586 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.003237/0.5439, allocations: 2.624 MB / 1.577 GB, free: 1.957 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.5451, allocations: 0.7083 MB / 1.578 GB, free: 1.234 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002368/0.5474, allocations: 1.292 MB / 1.579 GB, free: 15.93 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00222/0.5497, allocations: 0.8915 MB / 1.58 GB, free: 15.05 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0002298/0.5499, allocations: 96 kB / 1.58 GB, free: 14.96 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002938/0.5528, allocations: 1.633 MB / 1.582 GB, free: 13.32 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0005357/0.5534, allocations: 422.6 kB / 1.582 GB, free: 12.91 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.0008668/0.5542, allocations: 0.5872 MB / 1.583 GB, free: 12.32 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.003204/0.5574, allocations: 2.024 MB / 1.585 GB, free: 10.29 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.5574, allocations: 0 / 1.585 GB, free: 10.29 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5574, allocations: 0 / 1.585 GB, free: 10.29 MB / 1.279 GB Notification: Performance of Transformations before backend: time 4.046e-05/0.5575, allocations: 0 / 1.585 GB, free: 10.29 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.002682/0.5602, allocations: 1.38 MB / 1.586 GB, free: 8.875 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.5602, allocations: 8.031 kB / 1.586 GB, free: 8.867 MB / 1.279 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.355e-05/0.5602, allocations: 26 kB / 1.586 GB, free: 8.84 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001552/0.5604, allocations: 126.6 kB / 1.586 GB, free: 8.707 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002539/0.5629, allocations: 430.8 kB / 1.587 GB, free: 8.285 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/0.5644, allocations: 0.7324 MB / 1.588 GB, free: 7.527 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.175e-05/0.5645, allocations: 54 kB / 1.588 GB, free: 7.473 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.5646, allocations: 76 kB / 1.588 GB, free: 7.398 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/0.5665, allocations: 0.9905 MB / 1.589 GB, free: 6.391 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.5665, allocations: 0 / 1.589 GB, free: 6.391 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.859e-05/0.5666, allocations: 35.94 kB / 1.589 GB, free: 6.355 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-05/0.5666, allocations: 30 kB / 1.589 GB, free: 6.324 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.5686, allocations: 0.8821 MB / 1.59 GB, free: 5.445 MB / 1.279 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006655/0.5752, allocations: 3.579 MB / 1.593 GB, free: 1.645 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.5769, allocations: 0.5852 MB / 1.594 GB, free: 1.051 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007809/0.5777, allocations: 328.4 kB / 1.594 GB, free: 0.7305 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001527/0.5778, allocations: 27.98 kB / 1.594 GB, free: 0.7031 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/0.5779, allocations: 42.5 kB / 1.594 GB, free: 0.6523 MB / 1.279 GB Notification: Performance of pre-optimization done (n=39): time 2.615e-06/0.5779, allocations: 3.938 kB / 1.594 GB, free: 0.6484 MB / 1.279 GB Notification: Performance of matching and sorting (n=41): time 0.005029/0.5829, allocations: 1.822 MB / 1.596 GB, free: 14.79 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.5829, allocations: 59.41 kB / 1.596 GB, free: 14.72 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.5839, allocations: 0.7822 MB / 1.597 GB, free: 13.93 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 7.298e-05/0.584, allocations: 41.7 kB / 1.597 GB, free: 13.88 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003536/0.5844, allocations: 464.4 kB / 1.597 GB, free: 13.42 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.5845, allocations: 150.7 kB / 1.597 GB, free: 13.27 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.5847, allocations: 110.3 kB / 1.597 GB, free: 13.16 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.5848, allocations: 325.9 kB / 1.598 GB, free: 12.84 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007661/0.5856, allocations: 313.1 kB / 1.598 GB, free: 12.53 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008697/0.5865, allocations: 440.5 kB / 1.598 GB, free: 12.05 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.005173/0.5916, allocations: 1.855 MB / 1.6 GB, free: 10.15 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.5916, allocations: 4 kB / 1.6 GB, free: 10.15 MB / 1.295 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001982/0.5936, allocations: 0.8391 MB / 1.601 GB, free: 9.301 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.5936, allocations: 8 kB / 1.601 GB, free: 9.293 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.5937, allocations: 4 kB / 1.601 GB, free: 9.289 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.5937, allocations: 12.09 kB / 1.601 GB, free: 9.277 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007872/0.5945, allocations: 167.7 kB / 1.601 GB, free: 9.113 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.5945, allocations: 11.88 kB / 1.601 GB, free: 9.102 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009053/0.5954, allocations: 63.88 kB / 1.601 GB, free: 9.039 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.043e-05/0.5955, allocations: 20 kB / 1.601 GB, free: 9.02 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 (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004478/0.5959, allocations: 285.5 kB / 1.602 GB, free: 8.73 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/0.5961, allocations: 91.44 kB / 1.602 GB, free: 8.641 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/0.5963, allocations: 92.08 kB / 1.602 GB, free: 8.547 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.5963, allocations: 4 kB / 1.602 GB, free: 8.543 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.5963, allocations: 0 / 1.602 GB, free: 8.543 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001545/0.5979, allocations: 0.6875 MB / 1.602 GB, free: 7.824 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004289/0.6022, allocations: 1.879 MB / 1.604 GB, free: 5.852 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.6022, allocations: 8.391 kB / 1.604 GB, free: 5.844 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007338/0.6029, allocations: 143.8 kB / 1.604 GB, free: 5.703 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.6029, allocations: 8 kB / 1.604 GB, free: 5.695 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/0.603, allocations: 15.98 kB / 1.604 GB, free: 5.68 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/0.603, allocations: 12 kB / 1.604 GB, free: 5.668 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.603, allocations: 3.938 kB / 1.604 GB, free: 5.664 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002557/0.6055, allocations: 1.222 MB / 1.606 GB, free: 4.383 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004343/0.606, allocations: 163.4 kB / 1.606 GB, free: 4.223 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.6061, allocations: 12 kB / 1.606 GB, free: 4.211 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007732/0.6069, allocations: 63.98 kB / 1.606 GB, free: 4.148 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.147e-05/0.607, allocations: 39.81 kB / 1.606 GB, free: 4.109 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.825e-05/0.607, allocations: 31.97 kB / 1.606 GB, free: 4.078 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0006809/0.6077, allocations: 0.5381 MB / 1.606 GB, free: 3.547 MB / 1.295 GB Notification: Performance of sort global known variables: time 6e-08/0.6077, allocations: 0 / 1.606 GB, free: 3.547 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0007382/0.6085, allocations: 251.9 kB / 1.607 GB, free: 3.301 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 (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003092/0.6116, allocations: 1.858 MB / 1.608 GB, free: 1.379 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001701/0.6133, allocations: 0.6697 MB / 1.609 GB, free: 0.7109 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.6133, allocations: 4 kB / 1.609 GB, free: 0.707 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0007684/0.614, allocations: 317 kB / 1.609 GB, free: 408 kB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5298/1.144, allocations: 0.5184 MB / 1.61 GB, free: 266.8 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/1.156, allocations: 7.211 MB / 1.617 GB, free: 264.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005858/1.157, allocations: 1.041 MB / 1.618 GB, free: 263.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.000858/1.157, allocations: 226.1 kB / 1.618 GB, free: 263.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000441/1.158, allocations: 319.9 kB / 1.619 GB, free: 263.2 MB / 1.295 GB Notification: Performance of SimCode: time 1.052e-06/1.158, allocations: 3.125 kB / 1.619 GB, free: 263.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05692/1.215, allocations: 26.23 MB / 1.644 GB, free: 255.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.76, allocations: 9.125 kB / 1.644 GB, free: 255.3 MB / 1.295 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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: 18.92947676696349]