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.001206/0.001206, allocations: 113 kB / 18.94 MB, free: 2.934 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.001306/0.001306, allocations: 207.3 kB / 22.25 MB, free: 5.086 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.319/1.319, allocations: 230.6 MB / 256 MB, free: 8.012 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.931/2.931, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",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.002142/0.002142, allocations: 69 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3189, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.2448/0.5637, allocations: 225.6 MB / 1.573 GB, free: 6.031 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.01066/0.5743, allocations: 5.787 MB / 1.579 GB, free: 240 kB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002007/0.5763, allocations: 59.56 kB / 1.579 GB, free: 180 kB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.002302/0.5786, allocations: 0.5982 MB / 1.579 GB, free: 15.57 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.005084/0.5837, allocations: 1.719 MB / 1.581 GB, free: 13.84 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.00349/0.5872, allocations: 1.262 MB / 1.582 GB, free: 12.59 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.003875/0.5911, allocations: 2.621 MB / 1.585 GB, free: 9.969 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/0.5923, allocations: 0.7083 MB / 1.586 GB, free: 9.246 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002621/0.595, allocations: 1.292 MB / 1.587 GB, free: 7.949 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002266/0.5972, allocations: 0.8912 MB / 1.588 GB, free: 7.066 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0002563/0.5975, allocations: 96 kB / 1.588 GB, free: 6.973 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003178/0.6007, allocations: 1.629 MB / 1.589 GB, free: 5.34 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0005913/0.6013, allocations: 422.7 kB / 1.59 GB, free: 4.926 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.6023, allocations: 0.5794 MB / 1.59 GB, free: 4.344 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.003405/0.6057, allocations: 2.032 MB / 1.592 GB, free: 2.305 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.6057, allocations: 4 kB / 1.592 GB, free: 2.301 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6057, allocations: 0 / 1.592 GB, free: 2.301 MB / 1.279 GB Notification: Performance of Transformations before backend: time 3.436e-05/0.6057, allocations: 0 / 1.592 GB, free: 2.301 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.00261/0.6083, allocations: 1.384 MB / 1.594 GB, free: 0.8789 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.6084, allocations: 8.031 kB / 1.594 GB, free: 0.8711 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001879/0.6086, allocations: 126.6 kB / 1.594 GB, free: 0.7383 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002479/0.611, allocations: 426.8 kB / 1.594 GB, free: 328 kB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.6127, allocations: 0.7402 MB / 1.595 GB, free: 15.55 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.086e-05/0.6128, allocations: 58 kB / 1.595 GB, free: 15.49 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.6129, allocations: 72 kB / 1.595 GB, free: 15.42 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/0.6147, allocations: 0.9866 MB / 1.596 GB, free: 14.42 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.6147, allocations: 4 kB / 1.596 GB, free: 14.41 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.344e-05/0.6148, allocations: 32 kB / 1.596 GB, free: 14.38 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-05/0.6149, allocations: 33.94 kB / 1.596 GB, free: 14.35 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001925/0.6168, allocations: 0.8782 MB / 1.597 GB, free: 13.47 MB / 1.295 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.006061/0.6228, allocations: 3.583 MB / 1.601 GB, free: 9.664 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.6243, allocations: 0.5929 MB / 1.601 GB, free: 9.062 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007392/0.6251, allocations: 322.2 kB / 1.601 GB, free: 8.746 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001471/0.6252, allocations: 23.98 kB / 1.601 GB, free: 8.723 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.6253, allocations: 46.44 kB / 1.601 GB, free: 8.668 MB / 1.295 GB Notification: Performance of pre-optimization done (n=39): time 1.583e-06/0.6253, allocations: 4 kB / 1.601 GB, free: 8.664 MB / 1.295 GB Notification: Performance of matching and sorting (n=41): time 0.004739/0.63, allocations: 1.819 MB / 1.603 GB, free: 6.809 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.63, allocations: 59.19 kB / 1.603 GB, free: 6.738 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.6311, allocations: 0.7822 MB / 1.604 GB, free: 5.949 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 7.71e-05/0.6312, allocations: 37.7 kB / 1.604 GB, free: 5.906 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004075/0.6316, allocations: 464.4 kB / 1.605 GB, free: 5.449 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.6317, allocations: 154.7 kB / 1.605 GB, free: 5.297 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.6319, allocations: 102.3 kB / 1.605 GB, free: 5.191 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.6321, allocations: 337.9 kB / 1.605 GB, free: 4.855 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007561/0.6328, allocations: 309.1 kB / 1.605 GB, free: 4.555 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008383/0.6337, allocations: 440.5 kB / 1.606 GB, free: 4.074 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.00504/0.6387, allocations: 1.856 MB / 1.608 GB, free: 2.176 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6387, allocations: 0 / 1.608 GB, free: 2.176 MB / 1.295 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001893/0.6406, allocations: 0.8469 MB / 1.608 GB, free: 1.32 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.6406, allocations: 4 kB / 1.608 GB, free: 1.316 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.6406, allocations: 4 kB / 1.608 GB, free: 1.312 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.6407, allocations: 8 kB / 1.609 GB, free: 1.305 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000786/0.6414, allocations: 171.8 kB / 1.609 GB, free: 1.137 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.341e-05/0.6415, allocations: 15.92 kB / 1.609 GB, free: 1.121 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008135/0.6423, allocations: 57.81 kB / 1.609 GB, free: 1.066 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.213e-05/0.6423, allocations: 20 kB / 1.609 GB, free: 1.047 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.0004397/0.6428, allocations: 290.5 kB / 1.609 GB, free: 0.7539 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.6429, allocations: 91.38 kB / 1.609 GB, free: 0.6641 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.6431, allocations: 96.06 kB / 1.609 GB, free: 0.5625 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.6432, allocations: 4 kB / 1.609 GB, free: 0.5586 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.6432, allocations: 8 kB / 1.609 GB, free: 0.5508 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5595/1.203, allocations: 0.681 MB / 1.61 GB, free: 259.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004005/1.207, allocations: 1.878 MB / 1.612 GB, free: 258.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/1.207, allocations: 6.703 kB / 1.612 GB, free: 258.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007084/1.207, allocations: 148.6 kB / 1.612 GB, free: 258.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/1.207, allocations: 5.031 kB / 1.612 GB, free: 258.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/1.207, allocations: 16.14 kB / 1.612 GB, free: 258.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/1.207, allocations: 8.156 kB / 1.612 GB, free: 258.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/1.207, allocations: 7.844 kB / 1.612 GB, free: 258.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002402/1.21, allocations: 1.224 MB / 1.613 GB, free: 258.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004164/1.21, allocations: 162.8 kB / 1.613 GB, free: 258.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/1.21, allocations: 10.83 kB / 1.613 GB, free: 258.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007172/1.211, allocations: 54.61 kB / 1.613 GB, free: 258.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.364e-05/1.211, allocations: 37.89 kB / 1.613 GB, free: 258.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.41e-05/1.211, allocations: 28.53 kB / 1.613 GB, free: 258.7 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0006714/1.212, allocations: 0.5408 MB / 1.614 GB, free: 258.5 MB / 1.295 GB Notification: Performance of sort global known variables: time 9.1e-08/1.212, allocations: 3.938 kB / 1.614 GB, free: 258.4 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0007603/1.213, allocations: 252.6 kB / 1.614 GB, free: 258.4 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.002649/1.215, allocations: 1.846 MB / 1.616 GB, free: 257.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001668/1.217, allocations: 0.6655 MB / 1.617 GB, free: 257.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/1.217, allocations: 1.594 kB / 1.617 GB, free: 257.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0007509/1.218, allocations: 324.1 kB / 1.617 GB, free: 257.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/1.22, allocations: 0.5331 MB / 1.617 GB, free: 257 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/1.231, allocations: 7.204 MB / 1.624 GB, free: 253.5 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006066/1.232, allocations: 1.041 MB / 1.625 GB, free: 252.8 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0008208/1.233, allocations: 223.5 kB / 1.626 GB, free: 252.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003967/1.233, allocations: 320 kB / 1.626 GB, free: 252.5 MB / 1.295 GB Notification: Performance of SimCode: time 8.11e-07/1.233, allocations: 1.344 kB / 1.626 GB, free: 252.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06085/1.294, allocations: 26.21 MB / 1.652 GB, free: 243.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/12.53, allocations: 11.3 kB / 1.652 GB, free: 243.4 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.601659073960036]