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.0008834/0.0008834, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009887/0.0009887, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.889/0.889, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 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 1.735/1.735, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.956e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5433/0.5433, allocations: 165.5 MB / 1.161 GB, free: 11.79 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.01113/0.5544, allocations: 11.96 MB / 1.173 GB, free: 3.762 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.5555, allocations: 40.31 kB / 1.173 GB, free: 3.742 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.5566, allocations: 439.9 kB / 1.173 GB, free: 3.48 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.002607/0.5592, allocations: 1.219 MB / 1.175 GB, free: 2.793 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.5609, allocations: 0.7752 MB / 1.175 GB, free: 2.387 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.002495/0.5634, allocations: 2.017 MB / 1.177 GB, free: 1.445 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000814/0.5642, allocations: 0.5849 MB / 1.178 GB, free: 1.16 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003707/0.5679, allocations: 2.229 MB / 1.18 GB, free: 152 kB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001348/0.5692, allocations: 0.6068 MB / 1.181 GB, free: 15.96 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.5694, allocations: 80.88 kB / 1.181 GB, free: 15.96 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.5708, allocations: 0.7358 MB / 1.181 GB, free: 15.7 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004065/0.5712, allocations: 417.9 kB / 1.182 GB, free: 15.52 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003947/0.5716, allocations: 348.8 kB / 1.182 GB, free: 15.38 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.002151/0.5738, allocations: 1.507 MB / 1.184 GB, free: 14.84 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.5738, allocations: 1.344 kB / 1.184 GB, free: 14.84 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5738, allocations: 0 / 1.184 GB, free: 14.84 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.714e-05/0.5738, allocations: 0 / 1.184 GB, free: 14.84 MB / 1.042 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.001541/0.5753, allocations: 1.175 MB / 1.185 GB, free: 14.05 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.5754, allocations: 10.22 kB / 1.185 GB, free: 14.05 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000108/0.5755, allocations: 123.9 kB / 1.185 GB, free: 13.96 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007359/0.5762, allocations: 221.9 kB / 1.185 GB, free: 13.89 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008332/0.577, allocations: 0.6065 MB / 1.186 GB, free: 13.52 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.301e-05/0.5771, allocations: 60.73 kB / 1.186 GB, free: 13.48 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.302e-05/0.5772, allocations: 79.86 kB / 1.186 GB, free: 13.46 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.5782, allocations: 1.055 MB / 1.187 GB, free: 12.8 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.5783, allocations: 9.188 kB / 1.187 GB, free: 12.79 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.873e-05/0.5783, allocations: 33.34 kB / 1.187 GB, free: 12.77 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/0.5783, allocations: 29.73 kB / 1.187 GB, free: 12.76 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007129/0.5791, allocations: 0.6191 MB / 1.188 GB, free: 12.55 MB / 1.042 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.003031/0.5821, allocations: 3.721 MB / 1.191 GB, free: 9.641 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005942/0.5827, allocations: 458.4 kB / 1.192 GB, free: 9.414 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/0.5829, allocations: 230.6 kB / 1.192 GB, free: 9.32 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/0.583, allocations: 30.02 kB / 1.192 GB, free: 9.312 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.5831, allocations: 37.84 kB / 1.192 GB, free: 9.27 MB / 1.042 GB Notification: Performance of pre-optimization done (n=43): time 3.466e-06/0.5831, allocations: 0.9688 kB / 1.192 GB, free: 9.27 MB / 1.042 GB Notification: Performance of matching and sorting (n=45): time 0.002089/0.5852, allocations: 1.537 MB / 1.193 GB, free: 8.402 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.5852, allocations: 111.9 kB / 1.194 GB, free: 8.273 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006533/0.5859, allocations: 0.728 MB / 1.194 GB, free: 7.957 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.5859, allocations: 37.17 kB / 1.194 GB, free: 7.918 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.5861, allocations: 415.8 kB / 1.195 GB, free: 7.586 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.5862, allocations: 170.2 kB / 1.195 GB, free: 7.453 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.5864, allocations: 117.1 kB / 1.195 GB, free: 7.391 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.5865, allocations: 384.8 kB / 1.195 GB, free: 7.047 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.5867, allocations: 188.6 kB / 1.196 GB, free: 6.98 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000431/0.5871, allocations: 0.5582 MB / 1.196 GB, free: 6.465 MB / 1.042 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.001452/0.5886, allocations: 1.103 MB / 1.197 GB, free: 5.887 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5886, allocations: 2.125 kB / 1.197 GB, free: 5.887 MB / 1.042 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007332/0.5893, allocations: 0.6709 MB / 1.198 GB, free: 5.602 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.5893, allocations: 7.656 kB / 1.198 GB, free: 5.602 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.5893, allocations: 5.906 kB / 1.198 GB, free: 5.602 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.5894, allocations: 14.84 kB / 1.198 GB, free: 5.598 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.5896, allocations: 132.5 kB / 1.198 GB, free: 5.578 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.5896, allocations: 15.19 kB / 1.198 GB, free: 5.574 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003483/0.59, allocations: 31.33 kB / 1.198 GB, free: 5.559 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-05/0.59, allocations: 26.03 kB / 1.198 GB, free: 5.555 MB / 1.042 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.0002952/0.5903, allocations: 277.4 kB / 1.198 GB, free: 5.359 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-05/0.5904, allocations: 83.45 kB / 1.198 GB, free: 5.316 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.5905, allocations: 93.19 kB / 1.198 GB, free: 5.258 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.5905, allocations: 8.406 kB / 1.198 GB, free: 5.254 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.5905, allocations: 1.312 kB / 1.198 GB, free: 5.254 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005029/0.591, allocations: 0.6969 MB / 1.199 GB, free: 4.695 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.5927, allocations: 1.521 MB / 1.201 GB, free: 3.766 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.5927, allocations: 2.812 kB / 1.201 GB, free: 3.766 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.593, allocations: 106.6 kB / 1.201 GB, free: 3.75 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.593, allocations: 6.719 kB / 1.201 GB, free: 3.75 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.593, allocations: 11.69 kB / 1.201 GB, free: 3.746 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.593, allocations: 11.42 kB / 1.201 GB, free: 3.742 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.593, allocations: 8.406 kB / 1.201 GB, free: 3.738 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007405/0.5938, allocations: 0.8548 MB / 1.202 GB, free: 3.227 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/0.594, allocations: 130 kB / 1.202 GB, free: 3.156 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.763e-05/0.594, allocations: 21.97 kB / 1.202 GB, free: 3.145 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.5942, allocations: 19.16 kB / 1.202 GB, free: 3.137 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.5943, allocations: 36.02 kB / 1.202 GB, free: 3.129 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.5943, allocations: 21.41 kB / 1.202 GB, free: 3.125 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0005285/0.5948, allocations: 0.5134 MB / 1.202 GB, free: 2.906 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5948, allocations: 0 / 1.202 GB, free: 2.906 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000554/0.5954, allocations: 201.2 kB / 1.203 GB, free: 2.887 MB / 1.042 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.001194/0.5966, allocations: 1.483 MB / 1.204 GB, free: 1.809 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0005406/0.5971, allocations: 464.3 kB / 1.204 GB, free: 1.656 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5971, allocations: 1.375 kB / 1.204 GB, free: 1.656 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.5973, allocations: 201.9 kB / 1.205 GB, free: 1.59 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.5985, allocations: 481.2 kB / 1.205 GB, free: 1.457 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005691/0.6042, allocations: 6.551 MB / 1.211 GB, free: 13.25 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.6045, allocations: 442 kB / 1.212 GB, free: 12.99 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.000514/0.605, allocations: 194.6 kB / 1.212 GB, free: 12.9 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/0.6052, allocations: 302.1 kB / 1.212 GB, free: 12.66 MB / 1.057 GB Notification: Performance of SimCode: time 7.81e-07/0.6052, allocations: 0 / 1.212 GB, free: 12.66 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03424/0.6395, allocations: 24.4 MB / 1.236 GB, free: 9.234 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.136/7.775, allocations: 6.812 kB / 1.236 GB, free: 9.23 MB / 1.073 GB " [Timeout remaining time 292] (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/jenkins/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: 11.762549615465105]