Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.001251/0.001251, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.001329/0.001329, allocations: 222.2 kB / 22.26 MB, free: 5.211 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 MB, free: 8 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.987/2.987, allocations: 0.505 GB / 0.8101 GB, free: 22.06 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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.00186/0.00186, allocations: 72.14 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3058, allocations: 180.2 MB / 1.353 GB, free: 8.402 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2046/0.5104, allocations: 191.3 MB / 1.54 GB, free: 8.434 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01628/0.5267, allocations: 13.25 MB / 1.553 GB, free: 11.14 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009966/0.5277, allocations: 43.62 kB / 1.553 GB, free: 11.1 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.5291, allocations: 437.1 kB / 1.553 GB, free: 10.67 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.003009/0.5321, allocations: 1.229 MB / 1.554 GB, free: 9.438 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.001855/0.5339, allocations: 0.7426 MB / 1.555 GB, free: 8.699 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.002747/0.5367, allocations: 2.059 MB / 1.557 GB, free: 6.633 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.5377, allocations: 0.6177 MB / 1.558 GB, free: 5.992 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004239/0.542, allocations: 2.059 MB / 1.56 GB, free: 3.926 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/0.5438, allocations: 0.6983 MB / 1.56 GB, free: 3.23 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002487/0.544, allocations: 80 kB / 1.56 GB, free: 3.152 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001772/0.5458, allocations: 0.9276 MB / 1.561 GB, free: 2.223 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0005075/0.5463, allocations: 394.8 kB / 1.562 GB, free: 1.836 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0008112/0.5471, allocations: 0.5015 MB / 1.562 GB, free: 1.332 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.002453/0.5496, allocations: 1.506 MB / 1.564 GB, free: 15.82 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5496, allocations: 0 / 1.564 GB, free: 15.82 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5496, allocations: 0 / 1.564 GB, free: 15.82 MB / 1.264 GB Notification: Performance of Transformations before backend: time 5.185e-05/0.5496, allocations: 0 / 1.564 GB, free: 15.82 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002328/0.5519, allocations: 1.186 MB / 1.565 GB, free: 14.6 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.552, allocations: 8.031 kB / 1.565 GB, free: 14.59 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001923/0.5522, allocations: 126.5 kB / 1.565 GB, free: 14.46 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.5534, allocations: 219.1 kB / 1.565 GB, free: 14.25 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.5547, allocations: 0.6116 MB / 1.566 GB, free: 13.6 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.009e-05/0.5547, allocations: 61.94 kB / 1.566 GB, free: 13.54 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.5548, allocations: 75.98 kB / 1.566 GB, free: 13.47 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.5563, allocations: 0.9327 MB / 1.567 GB, free: 12.45 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.5563, allocations: 3.938 kB / 1.567 GB, free: 12.45 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.999e-05/0.5564, allocations: 39.94 kB / 1.567 GB, free: 12.41 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-05/0.5564, allocations: 29.31 kB / 1.567 GB, free: 12.38 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.5574, allocations: 0.6177 MB / 1.567 GB, free: 11.76 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.004654/0.5621, allocations: 4.61 MB / 1.572 GB, free: 6.844 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007485/0.5628, allocations: 457.3 kB / 1.572 GB, free: 6.371 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003341/0.5631, allocations: 232.1 kB / 1.573 GB, free: 6.137 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/0.5633, allocations: 23.97 kB / 1.573 GB, free: 6.113 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.5633, allocations: 42.55 kB / 1.573 GB, free: 6.062 MB / 1.264 GB Notification: Performance of pre-optimization done (n=43): time 1.693e-06/0.5633, allocations: 4 kB / 1.573 GB, free: 6.059 MB / 1.264 GB Notification: Performance of matching and sorting (n=45): time 0.002676/0.566, allocations: 1.546 MB / 1.574 GB, free: 4.477 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.5661, allocations: 110.8 kB / 1.574 GB, free: 4.344 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008356/0.5669, allocations: 0.7155 MB / 1.575 GB, free: 3.617 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 4.501e-05/0.5669, allocations: 37.95 kB / 1.575 GB, free: 3.574 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003193/0.5673, allocations: 424.5 kB / 1.575 GB, free: 3.152 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.5674, allocations: 166.6 kB / 1.576 GB, free: 2.988 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.5676, allocations: 118.3 kB / 1.576 GB, free: 2.867 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.5677, allocations: 330 kB / 1.576 GB, free: 2.539 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003011/0.568, allocations: 185.2 kB / 1.576 GB, free: 2.355 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004648/0.5685, allocations: 421 kB / 1.577 GB, free: 1.852 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00214/0.5706, allocations: 1.106 MB / 1.578 GB, free: 0.6602 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.5706, allocations: 64 / 1.578 GB, free: 0.6602 MB / 1.264 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009996/0.5716, allocations: 0.6797 MB / 1.578 GB, free: 15.97 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.5716, allocations: 10.5 kB / 1.578 GB, free: 15.96 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.5716, allocations: 8 kB / 1.578 GB, free: 15.96 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.5717, allocations: 8 kB / 1.578 GB, free: 15.95 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004388/0.5721, allocations: 128.4 kB / 1.578 GB, free: 15.82 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.5721, allocations: 11.98 kB / 1.578 GB, free: 15.81 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004832/0.5726, allocations: 31.95 kB / 1.578 GB, free: 15.78 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.216e-05/0.5726, allocations: 31.98 kB / 1.579 GB, free: 15.75 MB / 1.279 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * 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.0003382/0.573, allocations: 273.5 kB / 1.579 GB, free: 15.47 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.5731, allocations: 87.42 kB / 1.579 GB, free: 15.39 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.5733, allocations: 87.67 kB / 1.579 GB, free: 15.3 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.5733, allocations: 4 kB / 1.579 GB, free: 15.29 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.5733, allocations: 4 kB / 1.579 GB, free: 15.29 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007107/0.574, allocations: 0.6964 MB / 1.58 GB, free: 14.51 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/0.5764, allocations: 1.617 MB / 1.581 GB, free: 12.79 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.5764, allocations: 4 kB / 1.581 GB, free: 12.79 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004376/0.5768, allocations: 108.3 kB / 1.581 GB, free: 12.68 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.5768, allocations: 7.938 kB / 1.581 GB, free: 12.67 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/0.5769, allocations: 16 kB / 1.581 GB, free: 12.66 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.044e-06/0.5769, allocations: 11.98 kB / 1.581 GB, free: 12.64 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.5769, allocations: 7.938 kB / 1.581 GB, free: 12.64 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.578, allocations: 0.869 MB / 1.582 GB, free: 11.7 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002904/0.5782, allocations: 131.4 kB / 1.582 GB, free: 11.57 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.96e-05/0.5783, allocations: 15.98 kB / 1.582 GB, free: 11.56 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004143/0.5788, allocations: 16 kB / 1.582 GB, free: 11.54 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.89e-05/0.5788, allocations: 47.81 kB / 1.582 GB, free: 11.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/0.5789, allocations: 20 kB / 1.582 GB, free: 11.48 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0006023/0.5795, allocations: 0.5107 MB / 1.583 GB, free: 10.97 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5795, allocations: 0 / 1.583 GB, free: 10.97 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0006538/0.5801, allocations: 199.9 kB / 1.583 GB, free: 10.77 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.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 (45): * Single equations (assignments): 45 * 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.001648/0.5818, allocations: 1.493 MB / 1.585 GB, free: 9.211 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0007383/0.5825, allocations: 456.8 kB / 1.585 GB, free: 8.766 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.5825, allocations: 0 / 1.585 GB, free: 8.766 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0002924/0.5828, allocations: 208.2 kB / 1.585 GB, free: 8.562 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/0.5847, allocations: 481.5 kB / 1.586 GB, free: 8.105 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008509/0.5932, allocations: 6.652 MB / 1.592 GB, free: 1.051 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000666/0.5939, allocations: 1.024 MB / 1.593 GB, free: 0 / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0005828/0.5945, allocations: 199.1 kB / 1.593 GB, free: 15.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004046/0.5949, allocations: 307.3 kB / 1.594 GB, free: 15.5 MB / 1.295 GB Notification: Performance of SimCode: time 4.81e-07/0.5949, allocations: 0 / 1.594 GB, free: 15.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6218/1.217, allocations: 22.76 MB / 1.616 GB, free: 257.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/12.57, allocations: 7.688 kB / 1.616 GB, free: 257.9 MB / 1.295 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.7136165718548]