Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001808/0.001808, allocations: 105.9 kB / 16.45 MB, free: 6.453 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.002418/0.002418, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.608/1.608, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.383/3.383, allocations: 0.4899 GB / 0.7915 GB, free: 33.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [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.003746/0.003746, allocations: 67 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4643/0.4681, allocations: 176.1 MB / 1.321 GB, free: 2.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2577/0.7258, allocations: 194 MB / 1.511 GB, free: 92 kB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01184/0.7376, allocations: 5.721 MB / 1.516 GB, free: 10.36 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00196/0.7396, allocations: 55.5 kB / 1.516 GB, free: 10.3 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001881/0.7415, allocations: 0.5981 MB / 1.517 GB, free: 9.699 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004995/0.7465, allocations: 1.668 MB / 1.519 GB, free: 8.023 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00357/0.75, allocations: 1.219 MB / 1.52 GB, free: 6.812 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003875/0.7539, allocations: 2.519 MB / 1.522 GB, free: 4.285 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.7552, allocations: 0.8208 MB / 1.523 GB, free: 3.445 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002661/0.7579, allocations: 1.242 MB / 1.524 GB, free: 2.199 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001848/0.7597, allocations: 0.8758 MB / 1.525 GB, free: 1.328 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.7599, allocations: 104 kB / 1.525 GB, free: 1.227 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003468/0.7633, allocations: 1.582 MB / 1.527 GB, free: 15.64 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006267/0.764, allocations: 0.4947 MB / 1.527 GB, free: 15.14 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0008276/0.7648, allocations: 0.6261 MB / 1.528 GB, free: 14.52 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.00395/0.7687, allocations: 2.118 MB / 1.53 GB, free: 12.39 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.7687, allocations: 0 / 1.53 GB, free: 12.39 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7687, allocations: 0 / 1.53 GB, free: 12.39 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.245e-05/0.7688, allocations: 0 / 1.53 GB, free: 12.39 MB / 1.232 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.002954/0.7717, allocations: 1.511 MB / 1.531 GB, free: 10.82 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.7718, allocations: 15.98 kB / 1.531 GB, free: 10.81 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002205/0.774, allocations: 334.9 kB / 1.532 GB, free: 10.48 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/0.7756, allocations: 0.8201 MB / 1.532 GB, free: 9.621 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.377e-05/0.7757, allocations: 69.94 kB / 1.533 GB, free: 9.551 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.7758, allocations: 80 kB / 1.533 GB, free: 9.473 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/0.7779, allocations: 1.074 MB / 1.534 GB, free: 8.359 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/0.7779, allocations: 7.938 kB / 1.534 GB, free: 8.352 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.911e-05/0.778, allocations: 40 kB / 1.534 GB, free: 8.312 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.893e-05/0.7781, allocations: 30 kB / 1.534 GB, free: 8.281 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.7798, allocations: 0.8314 MB / 1.535 GB, free: 7.449 MB / 1.232 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.006639/0.7864, allocations: 4.42 MB / 1.539 GB, free: 2.723 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007001/0.7871, allocations: 352.9 kB / 1.539 GB, free: 2.371 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003407/0.7874, allocations: 207 kB / 1.539 GB, free: 2.168 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002073/0.7876, allocations: 101.1 kB / 1.54 GB, free: 2.051 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.7877, allocations: 38.56 kB / 1.54 GB, free: 2.004 MB / 1.232 GB Notification: Performance of pre-optimization done (n=36): time 1.954e-06/0.7877, allocations: 0 / 1.54 GB, free: 2.004 MB / 1.232 GB Notification: Performance of matching and sorting (n=38): time 0.002872/0.7906, allocations: 1.366 MB / 1.541 GB, free: 0.5859 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.7906, allocations: 55.41 kB / 1.541 GB, free: 0.5195 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.7921, allocations: 0.9967 MB / 1.542 GB, free: 15.5 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.504e-05/0.7922, allocations: 37.7 kB / 1.542 GB, free: 15.46 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.000438/0.7926, allocations: 0.4963 MB / 1.542 GB, free: 14.96 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.7927, allocations: 146.7 kB / 1.543 GB, free: 14.81 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/0.793, allocations: 126.2 kB / 1.543 GB, free: 14.68 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.7931, allocations: 334 kB / 1.543 GB, free: 14.35 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005047/0.7937, allocations: 233.2 kB / 1.543 GB, free: 14.12 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000685/0.7943, allocations: 423.8 kB / 1.544 GB, free: 13.63 MB / 1.248 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.002744/0.7971, allocations: 1.215 MB / 1.545 GB, free: 12.32 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.7971, allocations: 0 / 1.545 GB, free: 12.32 MB / 1.248 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001514/0.7986, allocations: 0.7662 MB / 1.546 GB, free: 11.55 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/0.7986, allocations: 8.094 kB / 1.546 GB, free: 11.54 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.7986, allocations: 8 kB / 1.546 GB, free: 11.53 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.647e-05/0.7987, allocations: 11.94 kB / 1.546 GB, free: 11.52 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005942/0.7993, allocations: 147.8 kB / 1.546 GB, free: 11.38 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/0.7993, allocations: 11.94 kB / 1.546 GB, free: 11.36 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009007/0.8002, allocations: 51.95 kB / 1.546 GB, free: 11.31 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-05/0.8002, allocations: 31.98 kB / 1.546 GB, free: 11.28 MB / 1.248 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.0004921/0.8007, allocations: 313.5 kB / 1.546 GB, free: 10.96 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.8009, allocations: 107.3 kB / 1.546 GB, free: 10.86 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.8012, allocations: 105 kB / 1.546 GB, free: 10.76 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.8012, allocations: 4 kB / 1.546 GB, free: 10.75 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.8012, allocations: 4 kB / 1.546 GB, free: 10.75 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008138/0.802, allocations: 0.6869 MB / 1.547 GB, free: 9.977 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/0.8046, allocations: 1.565 MB / 1.549 GB, free: 8.305 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.8046, allocations: 8.031 kB / 1.549 GB, free: 8.297 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000415/0.8051, allocations: 91.77 kB / 1.549 GB, free: 8.207 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/0.8051, allocations: 4 kB / 1.549 GB, free: 8.203 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.8051, allocations: 12 kB / 1.549 GB, free: 8.191 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.309e-05/0.8051, allocations: 15.92 kB / 1.549 GB, free: 8.176 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.8051, allocations: 4 kB / 1.549 GB, free: 8.172 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.8063, allocations: 0.8372 MB / 1.549 GB, free: 7.27 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003884/0.8067, allocations: 240.4 kB / 1.55 GB, free: 7.016 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.8068, allocations: 24.02 kB / 1.55 GB, free: 6.992 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006729/0.8075, allocations: 42.16 kB / 1.55 GB, free: 6.953 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.866e-05/0.8076, allocations: 39.83 kB / 1.55 GB, free: 6.914 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.105e-05/0.8076, allocations: 23.98 kB / 1.55 GB, free: 6.891 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001175/0.8088, allocations: 0.7155 MB / 1.551 GB, free: 6.164 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.8088, allocations: 0 / 1.551 GB, free: 6.164 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0009572/0.8098, allocations: 251.9 kB / 1.551 GB, free: 5.918 MB / 1.248 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.0004356/0.8102, allocations: 195 kB / 1.551 GB, free: 5.715 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001026/0.8112, allocations: 496.3 kB / 1.551 GB, free: 5.23 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.8112, allocations: 0 / 1.551 GB, free: 5.23 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0002829/0.8115, allocations: 185 kB / 1.552 GB, free: 5.051 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002735/0.8142, allocations: 0.6251 MB / 1.552 GB, free: 4.434 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/0.8175, allocations: 1.869 MB / 1.554 GB, free: 2.484 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009057/0.8184, allocations: 1.106 MB / 1.555 GB, free: 1.348 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008314/0.8192, allocations: 252.4 kB / 1.555 GB, free: 1.098 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.8194, allocations: 71.42 kB / 1.555 GB, free: 1.027 MB / 1.248 GB Notification: Performance of SimCode: time 1.292e-06/0.8194, allocations: 0 / 1.555 GB, free: 1.027 MB / 1.248 GB Notification: Performance of Templates: time 0.03771/0.8571, allocations: 20.14 MB / 1.575 GB, free: 13.16 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.744564588647336]