Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.001647/0.001647, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.001964/0.001964, allocations: 207.1 kB / 22.99 MB, free: 4.965 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.547/1.547, allocations: 230.6 MB / 256.8 MB, free: 7.812 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 3.258/3.258, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [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.00211/0.00211, allocations: 71.64 kB / 1.187 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.333, allocations: 181.9 MB / 1.365 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.223/0.556, allocations: 168.5 MB / 1.529 GB, free: 4.461 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.0109/0.5669, allocations: 5.425 MB / 1.534 GB, free: 15.03 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.5684, allocations: 63.5 kB / 1.534 GB, free: 14.96 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001888/0.5703, allocations: 0.5358 MB / 1.535 GB, free: 14.43 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.005701/0.576, allocations: 1.931 MB / 1.537 GB, free: 12.49 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003491/0.5795, allocations: 1.2 MB / 1.538 GB, free: 11.29 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004523/0.584, allocations: 3.006 MB / 1.541 GB, free: 8.277 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.5855, allocations: 0.8126 MB / 1.542 GB, free: 7.445 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002783/0.5883, allocations: 1.328 MB / 1.543 GB, free: 6.113 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002223/0.5905, allocations: 0.98 MB / 1.544 GB, free: 5.137 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002344/0.5908, allocations: 124 kB / 1.544 GB, free: 5.016 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002745/0.5935, allocations: 1.192 MB / 1.545 GB, free: 3.82 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006947/0.5942, allocations: 0.5843 MB / 1.546 GB, free: 3.234 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0008292/0.595, allocations: 0.6069 MB / 1.547 GB, free: 2.625 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003469/0.5985, allocations: 2.305 MB / 1.549 GB, free: 320 kB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5985, allocations: 4 kB / 1.549 GB, free: 316 kB / 1.232 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5985, allocations: 4 kB / 1.549 GB, free: 312 kB / 1.232 GB Notification: Performance of Transformations before backend: time 2.533e-05/0.5985, allocations: 0 / 1.549 GB, free: 312 kB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002839/0.6014, allocations: 1.59 MB / 1.55 GB, free: 14.68 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.6014, allocations: 8.031 kB / 1.55 GB, free: 14.67 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001993/0.6034, allocations: 338.9 kB / 1.551 GB, free: 14.34 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/0.6051, allocations: 0.8422 MB / 1.551 GB, free: 13.46 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.173e-05/0.6052, allocations: 77.98 kB / 1.552 GB, free: 13.39 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.6054, allocations: 100 kB / 1.552 GB, free: 13.29 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002258/0.6076, allocations: 1.537 MB / 1.553 GB, free: 11.64 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/0.6077, allocations: 3.938 kB / 1.553 GB, free: 11.64 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.94e-05/0.6078, allocations: 40 kB / 1.553 GB, free: 11.6 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-05/0.6078, allocations: 45.94 kB / 1.553 GB, free: 11.55 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00181/0.6096, allocations: 0.9837 MB / 1.554 GB, free: 10.57 MB / 1.248 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.005815/0.6154, allocations: 2.726 MB / 1.557 GB, free: 7.789 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009691/0.6164, allocations: 0.5589 MB / 1.557 GB, free: 7.223 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005605/0.617, allocations: 326.5 kB / 1.558 GB, free: 6.898 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.6171, allocations: 28.42 kB / 1.558 GB, free: 6.871 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/0.6172, allocations: 42.98 kB / 1.558 GB, free: 6.82 MB / 1.248 GB Notification: Performance of pre-optimization done (n=53): time 2.615e-06/0.6172, allocations: 0 / 1.558 GB, free: 6.82 MB / 1.248 GB Notification: Performance of matching and sorting (n=55): time 0.004193/0.6214, allocations: 1.896 MB / 1.56 GB, free: 4.875 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.6214, allocations: 55.91 kB / 1.56 GB, free: 4.809 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009146/0.6223, allocations: 0.6957 MB / 1.56 GB, free: 4.105 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.196e-05/0.6224, allocations: 41.7 kB / 1.56 GB, free: 4.059 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004533/0.6229, allocations: 0.5428 MB / 1.561 GB, free: 3.508 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/0.6231, allocations: 210.2 kB / 1.561 GB, free: 3.301 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/0.6233, allocations: 130.6 kB / 1.561 GB, free: 3.168 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002297/0.6235, allocations: 386.8 kB / 1.562 GB, free: 2.781 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005252/0.624, allocations: 281.8 kB / 1.562 GB, free: 2.504 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007305/0.6248, allocations: 488.4 kB / 1.562 GB, free: 1.965 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.004138/0.6289, allocations: 1.673 MB / 1.564 GB, free: 248 kB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.6289, allocations: 0 / 1.564 GB, free: 248 kB / 1.248 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001733/0.6306, allocations: 0.9172 MB / 1.565 GB, free: 15.31 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.6307, allocations: 11.94 kB / 1.565 GB, free: 15.3 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.6307, allocations: 4 kB / 1.565 GB, free: 15.29 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002182/0.6309, allocations: 90.52 kB / 1.565 GB, free: 15.2 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007268/0.6316, allocations: 167.7 kB / 1.565 GB, free: 15.03 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004014/0.6356, allocations: 4.253 MB / 1.569 GB, free: 10.47 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008639/0.6365, allocations: 36.3 kB / 1.569 GB, free: 10.44 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.606e-05/0.6366, allocations: 28 kB / 1.569 GB, free: 10.41 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: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006001/0.6372, allocations: 345.5 kB / 1.57 GB, free: 10.06 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.6373, allocations: 91.42 kB / 1.57 GB, free: 9.973 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.6375, allocations: 99.66 kB / 1.57 GB, free: 9.875 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.6375, allocations: 4 kB / 1.57 GB, free: 9.871 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6375, allocations: 0 / 1.57 GB, free: 9.871 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001173/0.6387, allocations: 0.7599 MB / 1.571 GB, free: 9.062 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/0.6419, allocations: 1.697 MB / 1.572 GB, free: 7.285 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.6419, allocations: 8.031 kB / 1.572 GB, free: 7.277 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006713/0.6426, allocations: 139.8 kB / 1.572 GB, free: 7.141 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000109/0.6427, allocations: 48.7 kB / 1.572 GB, free: 7.09 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.915e-05/0.6427, allocations: 16 kB / 1.572 GB, free: 7.074 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/0.6441, allocations: 1.476 MB / 1.574 GB, free: 5.492 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.6441, allocations: 8.062 kB / 1.574 GB, free: 5.484 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/0.646, allocations: 1.199 MB / 1.575 GB, free: 4.23 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004797/0.6465, allocations: 159.4 kB / 1.575 GB, free: 4.074 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.822e-05/0.6466, allocations: 12 kB / 1.575 GB, free: 4.062 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006621/0.6472, allocations: 38.64 kB / 1.575 GB, free: 4.027 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.6474, allocations: 55.8 kB / 1.575 GB, free: 3.973 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.817e-05/0.6474, allocations: 31.98 kB / 1.575 GB, free: 3.941 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0006473/0.6481, allocations: 483 kB / 1.576 GB, free: 3.473 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.6481, allocations: 0 / 1.576 GB, free: 3.473 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009468/0.649, allocations: 303.9 kB / 1.576 GB, free: 3.176 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003553/0.6494, allocations: 176.9 kB / 1.576 GB, free: 2.996 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001625/0.651, allocations: 0.9877 MB / 1.577 GB, free: 1.965 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.651, allocations: 0 / 1.577 GB, free: 1.965 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006805/0.6517, allocations: 434.4 kB / 1.578 GB, free: 1.527 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002272/0.654, allocations: 0.5244 MB / 1.578 GB, free: 1.016 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003627/0.6576, allocations: 2.204 MB / 1.58 GB, free: 14.74 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006982/0.6583, allocations: 0.5737 MB / 1.581 GB, free: 14.13 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/0.6585, allocations: 75.38 kB / 1.581 GB, free: 14.06 MB / 1.279 GB Notification: Performance of SimCode: time 9.52e-07/0.6585, allocations: 0 / 1.581 GB, free: 14.06 MB / 1.279 GB Notification: Performance of Templates: time 0.03524/0.6938, allocations: 25.75 MB / 1.606 GB, free: 4.391 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.C[1],volSte.C[1] Variables in the result:gain.y,time,volDyn.C[1],volDyn.ports[1].m_flow,volSte.C[1] [Calling sys.exit(0), Time elapsed: 15.876584331970662]