Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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.001215/0.001215, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001349/0.001349, allocations: 211.1 kB / 22.24 MB, free: 4.855 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.326/1.326, allocations: 230.6 MB / 256 MB, free: 7.777 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.932/2.932, allocations: 0.5107 GB / 0.8158 GB, free: 17.75 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.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",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.002008/0.002008, allocations: 69.08 kB / 1.186 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3213, allocations: 181.9 MB / 1.363 GB, free: 13.96 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2267/0.5479, allocations: 197.4 MB / 1.556 GB, free: 7.848 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.018/0.5659, allocations: 11.35 MB / 1.567 GB, free: 12.46 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002354/0.5683, allocations: 107.1 kB / 1.567 GB, free: 12.36 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.002471/0.5708, allocations: 0.8421 MB / 1.568 GB, free: 11.51 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.007496/0.5782, allocations: 2.975 MB / 1.571 GB, free: 8.523 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.003625/0.5819, allocations: 1.468 MB / 1.573 GB, free: 7.062 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.005875/0.5877, allocations: 4.531 MB / 1.577 GB, free: 2.52 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002252/0.59, allocations: 1.351 MB / 1.578 GB, free: 1.129 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005981/0.596, allocations: 2.836 MB / 1.581 GB, free: 14.29 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002825/0.5988, allocations: 1.572 MB / 1.583 GB, free: 12.73 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0003046/0.5991, allocations: 180 kB / 1.583 GB, free: 12.55 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003476/0.6026, allocations: 1.784 MB / 1.585 GB, free: 10.77 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0007067/0.6033, allocations: 0.7322 MB / 1.585 GB, free: 10.03 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.0009932/0.6043, allocations: 0.8673 MB / 1.586 GB, free: 9.16 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.004378/0.6087, allocations: 3.297 MB / 1.589 GB, free: 5.852 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.6087, allocations: 0 / 1.589 GB, free: 5.852 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6087, allocations: 3.938 kB / 1.589 GB, free: 5.848 MB / 1.279 GB Notification: Performance of Transformations before backend: time 3.099e-05/0.6087, allocations: 0 / 1.589 GB, free: 5.848 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.003877/0.6126, allocations: 2.249 MB / 1.591 GB, free: 3.559 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.6126, allocations: 12.03 kB / 1.592 GB, free: 3.547 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002633/0.6129, allocations: 210.8 kB / 1.592 GB, free: 3.332 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002896/0.6158, allocations: 0.4984 MB / 1.592 GB, free: 2.832 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002541/0.6183, allocations: 1.266 MB / 1.593 GB, free: 1.512 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.149e-05/0.6184, allocations: 106.8 kB / 1.594 GB, free: 1.406 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002418/0.6187, allocations: 152 kB / 1.594 GB, free: 1.258 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002874/0.6215, allocations: 2.16 MB / 1.596 GB, free: 14.89 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.5e-05/0.6216, allocations: 7.938 kB / 1.596 GB, free: 14.89 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/0.6217, allocations: 60 kB / 1.596 GB, free: 14.83 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.279e-05/0.6218, allocations: 58.53 kB / 1.596 GB, free: 14.77 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/0.624, allocations: 1.411 MB / 1.597 GB, free: 13.35 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.008024/0.632, allocations: 5.914 MB / 1.603 GB, free: 7.289 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.6336, allocations: 1.01 MB / 1.604 GB, free: 6.234 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009393/0.6345, allocations: 0.6599 MB / 1.605 GB, free: 5.559 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/0.6347, allocations: 40.92 kB / 1.605 GB, free: 5.52 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.072e-05/0.6347, allocations: 59.48 kB / 1.605 GB, free: 5.449 MB / 1.295 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001216/0.6359, allocations: 338.9 kB / 1.605 GB, free: 5.117 MB / 1.295 GB Notification: Performance of pre-optimization done (n=106): time 3.367e-06/0.6359, allocations: 4 kB / 1.605 GB, free: 5.113 MB / 1.295 GB Notification: Performance of matching and sorting (n=112): time 0.0077/0.6436, allocations: 4.385 MB / 1.609 GB, free: 0.6992 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.722e-05/0.6437, allocations: 171.2 kB / 1.61 GB, free: 0.4961 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5934/1.237, allocations: 1.27 MB / 1.611 GB, free: 247.2 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002583/1.237, allocations: 52.14 kB / 1.611 GB, free: 247.2 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004311/1.238, allocations: 0.7116 MB / 1.612 GB, free: 247.1 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003361/1.238, allocations: 420 kB / 1.612 GB, free: 247 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003945/1.239, allocations: 263.2 kB / 1.612 GB, free: 247 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 8.439e-05/1.239, allocations: 356.5 kB / 1.613 GB, free: 246.7 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008423/1.24, allocations: 0.5333 MB / 1.613 GB, free: 246.6 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/1.241, allocations: 1.034 MB / 1.614 GB, free: 245.9 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01091/1.251, allocations: 4.568 MB / 1.619 GB, free: 244.2 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/1.251, allocations: 2.781 kB / 1.619 GB, free: 244.2 MB / 1.295 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002668/1.254, allocations: 1.623 MB / 1.62 GB, free: 243.5 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/1.254, allocations: 9.375 kB / 1.62 GB, free: 243.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/1.254, allocations: 8.734 kB / 1.62 GB, free: 243.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.141e-05/1.254, allocations: 15.19 kB / 1.62 GB, free: 243.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/1.255, allocations: 291.8 kB / 1.62 GB, free: 243.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.421e-05/1.255, allocations: 23.58 kB / 1.62 GB, free: 243.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/1.257, allocations: 55.77 kB / 1.621 GB, free: 243.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.847e-05/1.257, allocations: 58.73 kB / 1.621 GB, free: 243.5 MB / 1.295 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol2.dynBal.medium.p = vol2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * 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.0006008/1.257, allocations: 430.5 kB / 1.621 GB, free: 243.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00027/1.258, allocations: 171.9 kB / 1.621 GB, free: 243.1 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001916/1.259, allocations: 1.294 MB / 1.622 GB, free: 242.6 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/1.259, allocations: 11.41 kB / 1.622 GB, free: 242.6 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.259, allocations: 3.234 kB / 1.622 GB, free: 242.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001481/1.261, allocations: 1.24 MB / 1.624 GB, free: 241.9 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005472/1.266, allocations: 3.495 MB / 1.627 GB, free: 240 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/1.266, allocations: 9.5 kB / 1.627 GB, free: 240 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/1.267, allocations: 243.2 kB / 1.627 GB, free: 239.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.554e-05/1.267, allocations: 16.94 kB / 1.627 GB, free: 239.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.179e-05/1.268, allocations: 36.69 kB / 1.627 GB, free: 239.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.736e-05/1.268, allocations: 25.44 kB / 1.627 GB, free: 239.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.337e-06/1.268, allocations: 15.22 kB / 1.627 GB, free: 239.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002389/1.27, allocations: 2.136 MB / 1.629 GB, free: 238.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006895/1.271, allocations: 290.7 kB / 1.63 GB, free: 238.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/1.271, allocations: 36.83 kB / 1.63 GB, free: 238.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009911/1.272, allocations: 56.42 kB / 1.63 GB, free: 238.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/1.272, allocations: 103.4 kB / 1.63 GB, free: 238.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.792e-05/1.272, allocations: 50.98 kB / 1.63 GB, free: 238.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001054/1.273, allocations: 0.8543 MB / 1.631 GB, free: 238.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.273, allocations: 0 / 1.631 GB, free: 238.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001282/1.274, allocations: 429.1 kB / 1.631 GB, free: 238.1 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * 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 (115): * Single equations (assignments): 115 * 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.002718/1.277, allocations: 2.788 MB / 1.634 GB, free: 236.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001875/1.279, allocations: 1.18 MB / 1.635 GB, free: 235.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.279, allocations: 3.844 kB / 1.635 GB, free: 235.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0006789/1.28, allocations: 0.5301 MB / 1.636 GB, free: 235.7 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003667/1.283, allocations: 0.9282 MB / 1.637 GB, free: 235.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01599/1.299, allocations: 12.73 MB / 1.649 GB, free: 228.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000885/1.3, allocations: 0.792 MB / 1.65 GB, free: 228.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001514/1.302, allocations: 378.9 kB / 1.65 GB, free: 228.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000735/1.302, allocations: 0.641 MB / 1.651 GB, free: 228.1 MB / 1.295 GB Notification: Performance of SimCode: time 7.81e-07/1.302, allocations: 0 / 1.651 GB, free: 228.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06994/1.372, allocations: 47.16 MB / 1.697 GB, free: 186.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.88, allocations: 0 / 1.697 GB, free: 186.8 MB / 1.295 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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: 19.090320369694382]