Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.001202/0.001202, allocations: 110.4 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.001307/0.001307, allocations: 218.8 kB / 22.26 MB, free: 5.121 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.329/1.329, allocations: 230.6 MB / 256 MB, free: 7.953 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.954/2.954, 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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.001865/0.001865, allocations: 65.02 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3195, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2056/0.5252, allocations: 194.4 MB / 1.543 GB, free: 5.363 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.008568/0.5338, allocations: 5.747 MB / 1.548 GB, free: 15.61 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008428/0.5346, allocations: 55.56 kB / 1.548 GB, free: 15.55 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.5359, allocations: 0.5981 MB / 1.549 GB, free: 14.95 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.003433/0.5394, allocations: 1.7 MB / 1.551 GB, free: 13.24 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.002728/0.5421, allocations: 1.255 MB / 1.552 GB, free: 12 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.002989/0.5451, allocations: 2.574 MB / 1.554 GB, free: 9.41 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.5462, allocations: 0.7122 MB / 1.555 GB, free: 8.68 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002372/0.5486, allocations: 1.253 MB / 1.556 GB, free: 7.422 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001651/0.5502, allocations: 0.8684 MB / 1.557 GB, free: 6.555 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.5504, allocations: 100 kB / 1.557 GB, free: 6.457 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002772/0.5531, allocations: 1.614 MB / 1.559 GB, free: 4.84 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0004847/0.5536, allocations: 0.4946 MB / 1.559 GB, free: 4.344 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0006317/0.5542, allocations: 0.6222 MB / 1.56 GB, free: 3.719 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.002617/0.5569, allocations: 2.114 MB / 1.562 GB, free: 1.598 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5569, allocations: 0 / 1.562 GB, free: 1.598 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5569, allocations: 4 kB / 1.562 GB, free: 1.594 MB / 1.248 GB Notification: Performance of Transformations before backend: time 2.017e-05/0.5569, allocations: 0 / 1.562 GB, free: 1.594 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002211/0.5591, allocations: 1.438 MB / 1.563 GB, free: 120 kB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.5591, allocations: 8.031 kB / 1.563 GB, free: 112 kB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001702/0.5593, allocations: 143.2 kB / 1.563 GB, free: 15.96 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001788/0.5611, allocations: 338.9 kB / 1.564 GB, free: 15.63 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.5624, allocations: 0.744 MB / 1.565 GB, free: 14.86 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.728e-05/0.5625, allocations: 62 kB / 1.565 GB, free: 14.79 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.5626, allocations: 91.89 kB / 1.565 GB, free: 14.7 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.5643, allocations: 1.078 MB / 1.566 GB, free: 13.59 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.5644, allocations: 0 / 1.566 GB, free: 13.59 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.119e-05/0.5644, allocations: 36 kB / 1.566 GB, free: 13.55 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.436e-05/0.5645, allocations: 41.98 kB / 1.566 GB, free: 13.51 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.566, allocations: 0.8274 MB / 1.567 GB, free: 12.68 MB / 1.264 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.005414/0.5714, allocations: 4.359 MB / 1.571 GB, free: 8.016 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005746/0.572, allocations: 350.6 kB / 1.571 GB, free: 7.664 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/0.5723, allocations: 204.8 kB / 1.571 GB, free: 7.461 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001488/0.5724, allocations: 27.97 kB / 1.571 GB, free: 7.434 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.5724, allocations: 38.56 kB / 1.571 GB, free: 7.387 MB / 1.264 GB Notification: Performance of pre-optimization done (n=36): time 1.943e-06/0.5724, allocations: 0 / 1.571 GB, free: 7.387 MB / 1.264 GB Notification: Performance of matching and sorting (n=38): time 0.002382/0.5748, allocations: 1.277 MB / 1.573 GB, free: 6.074 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.5749, allocations: 59.16 kB / 1.573 GB, free: 6.004 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.5762, allocations: 0.9967 MB / 1.574 GB, free: 4.984 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 4.675e-05/0.5762, allocations: 33.7 kB / 1.574 GB, free: 4.945 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003902/0.5766, allocations: 0.4963 MB / 1.574 GB, free: 4.445 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.5768, allocations: 146.8 kB / 1.574 GB, free: 4.301 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.5769, allocations: 122.2 kB / 1.574 GB, free: 4.176 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5771, allocations: 334 kB / 1.575 GB, free: 3.844 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000444/0.5775, allocations: 233.2 kB / 1.575 GB, free: 3.613 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005868/0.5781, allocations: 424.5 kB / 1.575 GB, free: 3.125 MB / 1.264 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.002399/0.5805, allocations: 1.146 MB / 1.577 GB, free: 1.898 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.5805, allocations: 4 kB / 1.577 GB, free: 1.895 MB / 1.264 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001319/0.5818, allocations: 0.7696 MB / 1.577 GB, free: 1.117 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.5819, allocations: 8 kB / 1.577 GB, free: 1.109 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.5819, allocations: 11.94 kB / 1.577 GB, free: 1.098 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.5819, allocations: 8.438 kB / 1.577 GB, free: 1.09 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000539/0.5824, allocations: 147.8 kB / 1.577 GB, free: 0.9453 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/0.5824, allocations: 11.94 kB / 1.577 GB, free: 0.9336 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007676/0.5832, allocations: 55.95 kB / 1.578 GB, free: 0.8789 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-05/0.5833, allocations: 28 kB / 1.578 GB, free: 0.8516 MB / 1.264 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: 25 * 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 (74): * Single equations (assignments): 74 * 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.0004085/0.5837, allocations: 319.1 kB / 1.578 GB, free: 0.5312 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.5838, allocations: 103.3 kB / 1.578 GB, free: 440 kB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.584, allocations: 116.9 kB / 1.578 GB, free: 320 kB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.584, allocations: 8 kB / 1.578 GB, free: 312 kB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.584, allocations: 0 / 1.578 GB, free: 312 kB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006947/0.5847, allocations: 0.6674 MB / 1.579 GB, free: 15.55 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002493/0.5872, allocations: 1.561 MB / 1.58 GB, free: 13.89 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.5872, allocations: 4 kB / 1.58 GB, free: 13.89 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003659/0.5876, allocations: 76.41 kB / 1.58 GB, free: 13.81 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.5876, allocations: 15.94 kB / 1.58 GB, free: 13.8 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/0.5876, allocations: 19.98 kB / 1.58 GB, free: 13.78 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.595e-06/0.5876, allocations: 7.938 kB / 1.58 GB, free: 13.77 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.5877, allocations: 7.938 kB / 1.58 GB, free: 13.76 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.5887, allocations: 0.8259 MB / 1.581 GB, free: 12.87 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004037/0.5891, allocations: 175.2 kB / 1.581 GB, free: 12.7 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.5892, allocations: 15.94 kB / 1.581 GB, free: 12.68 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006161/0.5899, allocations: 42.78 kB / 1.581 GB, free: 12.64 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.5899, allocations: 35.83 kB / 1.581 GB, free: 12.61 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.095e-05/0.59, allocations: 23.98 kB / 1.581 GB, free: 12.59 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0009846/0.5909, allocations: 0.7116 MB / 1.582 GB, free: 11.86 MB / 1.279 GB Notification: Performance of sort global known variables: time 1e-07/0.5909, allocations: 0 / 1.582 GB, free: 11.86 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0007781/0.5917, allocations: 259.9 kB / 1.582 GB, free: 11.61 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.001579/0.5933, allocations: 1.474 MB / 1.584 GB, free: 10.06 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0009029/0.5942, allocations: 488.2 kB / 1.584 GB, free: 9.582 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5942, allocations: 0 / 1.584 GB, free: 9.582 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0002578/0.5945, allocations: 185.2 kB / 1.584 GB, free: 9.402 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/0.5969, allocations: 0.6119 MB / 1.585 GB, free: 8.801 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009981/0.6068, allocations: 7.641 MB / 1.593 GB, free: 0.7773 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007648/0.6076, allocations: 1.095 MB / 1.594 GB, free: 15.65 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0007606/0.6084, allocations: 252.4 kB / 1.594 GB, free: 15.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00044/0.6088, allocations: 343.3 kB / 1.594 GB, free: 15.07 MB / 1.295 GB Notification: Performance of SimCode: time 6.81e-07/0.6088, allocations: 4 kB / 1.594 GB, free: 15.06 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5998/1.209, allocations: 28.46 MB / 1.622 GB, free: 248.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.79, allocations: 5.922 kB / 1.622 GB, free: 248.2 MB / 1.295 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.900077138096094]