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.001361/0.001361, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001539/0.001539, allocations: 166.6 kB / 22.46 MB, free: 5.359 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.552/1.552, allocations: 177.1 MB / 202.8 MB, free: 9.195 MB / 190.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 3.003/3.003, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.831e-05/2.992e-05, allocations: 5.938 kB / 1 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.9521/0.9521, allocations: 168.2 MB / 1.164 GB, free: 45.04 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009015/0.9612, allocations: 5.396 MB / 1.17 GB, free: 44.94 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001546/0.9627, allocations: 53.78 kB / 1.17 GB, free: 44.94 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.9643, allocations: 0.5459 MB / 1.17 GB, free: 44.93 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004161/0.9684, allocations: 1.713 MB / 1.172 GB, free: 44.8 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003409/0.9718, allocations: 1.272 MB / 1.173 GB, free: 44.73 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003179/0.975, allocations: 2.552 MB / 1.176 GB, free: 44.27 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.976, allocations: 0.7103 MB / 1.176 GB, free: 44.18 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002484/0.9785, allocations: 1.548 MB / 1.178 GB, free: 44.03 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/0.9803, allocations: 0.7612 MB / 1.179 GB, free: 43.95 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002932/0.9806, allocations: 100.5 kB / 1.179 GB, free: 43.95 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003151/0.9837, allocations: 1.27 MB / 1.18 GB, free: 43.83 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005777/0.9843, allocations: 0.5164 MB / 1.18 GB, free: 43.77 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006604/0.985, allocations: 448.5 kB / 1.181 GB, free: 43.73 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003668/0.9886, allocations: 2.142 MB / 1.183 GB, free: 43.54 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.9886, allocations: 2.25 kB / 1.183 GB, free: 43.54 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9886, allocations: 2.531 kB / 1.183 GB, free: 43.54 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.17e-05/0.9887, allocations: 0 / 1.183 GB, free: 43.54 MB / 1.076 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.002609/0.9913, allocations: 1.426 MB / 1.184 GB, free: 42.8 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.9913, allocations: 9.094 kB / 1.184 GB, free: 42.8 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002178/0.9935, allocations: 345.3 kB / 1.185 GB, free: 42.73 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.995, allocations: 0.7348 MB / 1.185 GB, free: 42.48 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.343e-05/0.995, allocations: 66.19 kB / 1.185 GB, free: 42.48 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.9952, allocations: 83.31 kB / 1.186 GB, free: 42.48 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/0.9973, allocations: 1.476 MB / 1.187 GB, free: 41.83 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/0.9973, allocations: 1.891 kB / 1.187 GB, free: 41.83 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-05/0.9974, allocations: 37.19 kB / 1.187 GB, free: 41.83 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.445e-05/0.9974, allocations: 38.92 kB / 1.187 GB, free: 41.82 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.999, allocations: 0.8252 MB / 1.188 GB, free: 41.81 MB / 1.076 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.004766/1.004, allocations: 3.067 MB / 1.191 GB, free: 40.55 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006248/1.004, allocations: 357 kB / 1.191 GB, free: 40.52 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/1.005, allocations: 208.8 kB / 1.191 GB, free: 40.51 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001486/1.005, allocations: 22.77 kB / 1.191 GB, free: 40.51 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/1.005, allocations: 43.03 kB / 1.191 GB, free: 40.47 MB / 1.076 GB Notification: Performance of pre-optimization done (n=36): time 1.974e-06/1.005, allocations: 0 / 1.191 GB, free: 40.47 MB / 1.076 GB Notification: Performance of matching and sorting (n=38): time 0.002509/1.007, allocations: 1.244 MB / 1.193 GB, free: 40.11 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/1.007, allocations: 55.38 kB / 1.193 GB, free: 40.04 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/1.009, allocations: 0.7269 MB / 1.193 GB, free: 39.9 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/1.009, allocations: 37.11 kB / 1.193 GB, free: 39.87 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/1.009, allocations: 0.5163 MB / 1.194 GB, free: 39.55 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/1.009, allocations: 145 kB / 1.194 GB, free: 39.44 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/1.009, allocations: 124.4 kB / 1.194 GB, free: 39.37 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001117/1.009, allocations: 378.4 kB / 1.195 GB, free: 39.03 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005091/1.01, allocations: 237 kB / 1.195 GB, free: 38.96 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005888/1.01, allocations: 474.2 kB / 1.195 GB, free: 38.61 MB / 1.076 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.002681/1.013, allocations: 1.146 MB / 1.196 GB, free: 38.09 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/1.013, allocations: 5.688 kB / 1.196 GB, free: 38.08 MB / 1.076 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001524/1.015, allocations: 0.7533 MB / 1.197 GB, free: 37.82 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/1.015, allocations: 8.562 kB / 1.197 GB, free: 37.82 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/1.015, allocations: 5.875 kB / 1.197 GB, free: 37.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.107e-05/1.015, allocations: 8.625 kB / 1.197 GB, free: 37.82 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006106/1.015, allocations: 143.2 kB / 1.197 GB, free: 37.82 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.988e-05/1.015, allocations: 14.39 kB / 1.197 GB, free: 37.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009001/1.016, allocations: 55.92 kB / 1.197 GB, free: 37.81 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.649e-05/1.016, allocations: 30.2 kB / 1.197 GB, free: 37.8 MB / 1.076 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.0005266/1.017, allocations: 316 kB / 1.198 GB, free: 37.61 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/1.017, allocations: 86.3 kB / 1.198 GB, free: 37.56 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/1.017, allocations: 80.41 kB / 1.198 GB, free: 37.51 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/1.017, allocations: 5.922 kB / 1.198 GB, free: 37.51 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/1.017, allocations: 2.062 kB / 1.198 GB, free: 37.51 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006224/1.018, allocations: 0.6763 MB / 1.198 GB, free: 36.96 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/1.02, allocations: 1.341 MB / 1.2 GB, free: 36.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.02, allocations: 4.344 kB / 1.2 GB, free: 36.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000411/1.02, allocations: 84.09 kB / 1.2 GB, free: 36.26 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/1.02, allocations: 10.44 kB / 1.2 GB, free: 36.26 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/1.021, allocations: 12.42 kB / 1.2 GB, free: 36.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/1.021, allocations: 9.609 kB / 1.2 GB, free: 36.25 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/1.021, allocations: 6.203 kB / 1.2 GB, free: 36.25 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/1.022, allocations: 0.8135 MB / 1.201 GB, free: 35.76 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002982/1.022, allocations: 133.8 kB / 1.201 GB, free: 35.7 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/1.022, allocations: 16.98 kB / 1.201 GB, free: 35.69 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006409/1.023, allocations: 32.16 kB / 1.201 GB, free: 35.68 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/1.023, allocations: 38.08 kB / 1.201 GB, free: 35.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.215e-05/1.023, allocations: 27.72 kB / 1.201 GB, free: 35.67 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007678/1.024, allocations: 0.5034 MB / 1.201 GB, free: 35.46 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.01e-07/1.024, allocations: 0 / 1.201 GB, free: 35.46 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00104/1.025, allocations: 250.3 kB / 1.202 GB, free: 35.44 MB / 1.076 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.0004021/1.025, allocations: 202.7 kB / 1.202 GB, free: 35.32 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001037/1.026, allocations: 484.9 kB / 1.202 GB, free: 35.2 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.026, allocations: 2.938 kB / 1.202 GB, free: 35.2 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002918/1.026, allocations: 189.5 kB / 1.203 GB, free: 35.15 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/1.028, allocations: 445.1 kB / 1.203 GB, free: 35.06 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/1.031, allocations: 1.721 MB / 1.205 GB, free: 34.12 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006274/1.032, allocations: 0.5006 MB / 1.205 GB, free: 33.96 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0006933/1.032, allocations: 210 kB / 1.205 GB, free: 33.92 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/1.033, allocations: 63.36 kB / 1.205 GB, free: 33.91 MB / 1.076 GB Notification: Performance of SimCode: time 4.21e-07/1.033, allocations: 3.188 kB / 1.205 GB, free: 33.91 MB / 1.076 GB Notification: Performance of Templates: time 0.02942/1.062, allocations: 15.44 MB / 1.22 GB, free: 32.19 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins/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: 10.090348944067955]