Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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.001222/0.001222, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001339/0.001339, allocations: 221.4 kB / 22.26 MB, free: 5.125 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.02 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.892/2.892, allocations: 0.505 GB / 0.8101 GB, free: 22.07 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.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",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.001848/0.001848, allocations: 75.42 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2898, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.2306/0.5204, allocations: 226.4 MB / 1.574 GB, free: 5.207 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.01785/0.5383, allocations: 13.89 MB / 1.588 GB, free: 7.281 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.54, allocations: 87.31 kB / 1.588 GB, free: 7.195 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.002149/0.5422, allocations: 0.8425 MB / 1.588 GB, free: 6.348 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.00553/0.5477, allocations: 2.275 MB / 1.591 GB, free: 4.062 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.002924/0.5506, allocations: 1.236 MB / 1.592 GB, free: 2.836 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.003792/0.5544, allocations: 2.94 MB / 1.595 GB, free: 15.89 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.5558, allocations: 0.9256 MB / 1.596 GB, free: 14.94 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006193/0.562, allocations: 2.748 MB / 1.598 GB, free: 12.19 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002218/0.5642, allocations: 1.074 MB / 1.599 GB, free: 11.12 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.5644, allocations: 100 kB / 1.599 GB, free: 11.03 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002853/0.5672, allocations: 1.672 MB / 1.601 GB, free: 9.352 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0004299/0.5677, allocations: 446.4 kB / 1.602 GB, free: 8.914 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.0007222/0.5684, allocations: 0.684 MB / 1.602 GB, free: 8.227 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.002657/0.571, allocations: 2.094 MB / 1.604 GB, free: 6.125 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.571, allocations: 0 / 1.604 GB, free: 6.125 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.373e-06/0.571, allocations: 0 / 1.604 GB, free: 6.125 MB / 1.295 GB Notification: Performance of Transformations before backend: time 1.873e-05/0.5711, allocations: 0 / 1.604 GB, free: 6.125 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.002318/0.5734, allocations: 1.604 MB / 1.606 GB, free: 4.48 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.5734, allocations: 12.03 kB / 1.606 GB, free: 4.469 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001535/0.5736, allocations: 139.6 kB / 1.606 GB, free: 4.324 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001973/0.5755, allocations: 434.7 kB / 1.606 GB, free: 3.898 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.577, allocations: 0.877 MB / 1.607 GB, free: 2.988 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.105e-05/0.5771, allocations: 70 kB / 1.607 GB, free: 2.922 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.5772, allocations: 91.98 kB / 1.607 GB, free: 2.832 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.5791, allocations: 1.234 MB / 1.609 GB, free: 1.477 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.5791, allocations: 7.938 kB / 1.609 GB, free: 1.469 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.78e-05/0.5792, allocations: 40 kB / 1.609 GB, free: 1.43 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.371e-05/0.5792, allocations: 33.3 kB / 1.609 GB, free: 1.398 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.581, allocations: 0.883 MB / 1.61 GB, free: 0.5156 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.539/1.12, allocations: 6.167 MB / 1.616 GB, free: 255.9 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004029/1.12, allocations: 253.6 kB / 1.616 GB, free: 255.8 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/1.121, allocations: 142.9 kB / 1.616 GB, free: 255.7 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/1.121, allocations: 19.97 kB / 1.616 GB, free: 255.7 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/1.121, allocations: 46.05 kB / 1.616 GB, free: 255.7 MB / 1.295 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007695/1.122, allocations: 132.7 kB / 1.616 GB, free: 255.7 MB / 1.295 GB Notification: Performance of pre-optimization done (n=20): time 2.334e-06/1.122, allocations: 3.844 kB / 1.616 GB, free: 255.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=20): time 0.001239/1.123, allocations: 476.9 kB / 1.617 GB, free: 255.6 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/1.123, allocations: 195.7 kB / 1.617 GB, free: 255.3 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/1.125, allocations: 1.304 MB / 1.618 GB, free: 255 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/1.125, allocations: 32.33 kB / 1.618 GB, free: 255 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004482/1.126, allocations: 0.6313 MB / 1.619 GB, free: 254.5 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 6.835e-05/1.126, allocations: 81.33 kB / 1.619 GB, free: 254.5 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/1.126, allocations: 142.7 kB / 1.619 GB, free: 254.4 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 7.293e-05/1.126, allocations: 328.5 kB / 1.619 GB, free: 254.1 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006805/1.127, allocations: 238.5 kB / 1.619 GB, free: 254.1 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008014/1.127, allocations: 0.5544 MB / 1.62 GB, free: 253.6 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009931/1.128, allocations: 0.6877 MB / 1.621 GB, free: 253.1 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/1.128, allocations: 2.781 kB / 1.621 GB, free: 253.1 MB / 1.295 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002212/1.131, allocations: 0.8697 MB / 1.622 GB, free: 252.8 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/1.131, allocations: 11.03 kB / 1.622 GB, free: 252.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/1.131, allocations: 17.88 kB / 1.622 GB, free: 252.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.646e-05/1.131, allocations: 13.84 kB / 1.622 GB, free: 252.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007284/1.131, allocations: 167.7 kB / 1.622 GB, free: 252.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.683e-05/1.131, allocations: 24.08 kB / 1.622 GB, free: 252.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/1.133, allocations: 126.8 kB / 1.622 GB, free: 252.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.262e-05/1.133, allocations: 36.62 kB / 1.622 GB, free: 252.7 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (69): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000457/1.133, allocations: 306.7 kB / 1.622 GB, free: 252.5 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000264/1.134, allocations: 126.6 kB / 1.622 GB, free: 252.4 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005077/1.134, allocations: 286.6 kB / 1.623 GB, free: 252.3 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/1.134, allocations: 7.719 kB / 1.623 GB, free: 252.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/1.134, allocations: 5.812 kB / 1.623 GB, free: 252.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/1.134, allocations: 3.156 kB / 1.623 GB, free: 252.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002011/1.136, allocations: 1.651 MB / 1.624 GB, free: 251.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.136, allocations: 3.672 kB / 1.624 GB, free: 251.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/1.136, allocations: 39.31 kB / 1.624 GB, free: 251.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/1.136, allocations: 3.844 kB / 1.624 GB, free: 251.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/1.136, allocations: 9.859 kB / 1.624 GB, free: 251.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/1.136, allocations: 12.75 kB / 1.624 GB, free: 251.2 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/1.136, allocations: 2.844 kB / 1.624 GB, free: 251.2 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/1.137, allocations: 0.4924 MB / 1.625 GB, free: 250.9 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/1.137, allocations: 170.1 kB / 1.625 GB, free: 250.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/1.137, allocations: 6.75 kB / 1.625 GB, free: 250.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006621/1.138, allocations: 48.86 kB / 1.625 GB, free: 250.8 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/1.138, allocations: 25.11 kB / 1.625 GB, free: 250.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/1.138, allocations: 14.47 kB / 1.625 GB, free: 250.8 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001227/1.139, allocations: 0.9086 MB / 1.626 GB, free: 250.4 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/1.139, allocations: 0 / 1.626 GB, free: 250.4 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0008789/1.14, allocations: 281.5 kB / 1.626 GB, free: 250.4 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 simulation (20): * Single equations (assignments): 20 * 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.0007865/1.141, allocations: 1.126 MB / 1.627 GB, free: 249.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0009951/1.142, allocations: 444.3 kB / 1.628 GB, free: 249.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.142, allocations: 0 / 1.628 GB, free: 249.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/1.142, allocations: 103.3 kB / 1.628 GB, free: 249.4 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/1.144, allocations: 0.584 MB / 1.628 GB, free: 249.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/1.155, allocations: 8.139 MB / 1.636 GB, free: 244.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005781/1.156, allocations: 1.115 MB / 1.637 GB, free: 244.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009001/1.157, allocations: 232.2 kB / 1.638 GB, free: 244.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003982/1.157, allocations: 417.5 kB / 1.638 GB, free: 243.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.042e-06/1.157, allocations: 0 / 1.638 GB, free: 243.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0576/1.215, allocations: 28.1 MB / 1.665 GB, free: 229.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12.74, allocations: 1.969 kB / 1.665 GB, free: 229.3 MB / 1.295 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senMasFlo.m_flow in file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.csv. Warning: Get data of variable senMasFlo.m_flow from file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.csv failed! Error: Could not read variable senSpeEnt.H_flow in file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.csv. Warning: Get data of variable senSpeEnt.H_flow from file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.721771016000275]