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.001504/0.001504, allocations: 114.3 kB / 18.94 MB, free: 2.781 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.001712/0.001712, allocations: 217.6 kB / 22.26 MB, free: 5.164 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.387/1.387, allocations: 230.6 MB / 256 MB, free: 8.008 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.079/3.079, allocations: 0.5096 GB / 0.8147 GB, free: 17.27 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: translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [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.001905/0.001905, allocations: 62.47 kB / 1.184 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3277, allocations: 181.4 MB / 1.361 GB, free: 152 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.217/0.5447, allocations: 191.3 MB / 1.548 GB, free: 168 kB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.0165/0.5612, allocations: 13.26 MB / 1.561 GB, free: 2.875 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008845/0.5621, allocations: 43.62 kB / 1.561 GB, free: 2.832 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.5633, allocations: 445.1 kB / 1.562 GB, free: 2.395 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.002587/0.5659, allocations: 1.225 MB / 1.563 GB, free: 1.164 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.5675, allocations: 0.7407 MB / 1.564 GB, free: 436 kB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.002358/0.5699, allocations: 2.051 MB / 1.566 GB, free: 14.37 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008858/0.5708, allocations: 0.6255 MB / 1.566 GB, free: 13.72 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003828/0.5746, allocations: 2.051 MB / 1.568 GB, free: 11.66 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001413/0.576, allocations: 0.7005 MB / 1.569 GB, free: 10.96 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.5761, allocations: 80 kB / 1.569 GB, free: 10.88 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.5777, allocations: 0.9237 MB / 1.57 GB, free: 9.957 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0003981/0.5781, allocations: 402.8 kB / 1.57 GB, free: 9.562 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0005073/0.5786, allocations: 0.4976 MB / 1.571 GB, free: 9.062 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.001835/0.5804, allocations: 1.502 MB / 1.572 GB, free: 7.555 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5804, allocations: 0 / 1.572 GB, free: 7.555 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.654e-06/0.5804, allocations: 0 / 1.572 GB, free: 7.555 MB / 1.264 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.5805, allocations: 0 / 1.572 GB, free: 7.555 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.001786/0.5822, allocations: 1.19 MB / 1.573 GB, free: 6.332 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.5823, allocations: 8.031 kB / 1.573 GB, free: 6.324 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.5834, allocations: 223.1 kB / 1.574 GB, free: 6.105 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.5845, allocations: 0.6116 MB / 1.574 GB, free: 5.469 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.608e-05/0.5846, allocations: 58 kB / 1.574 GB, free: 5.414 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.5847, allocations: 76 kB / 1.574 GB, free: 5.34 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.586, allocations: 0.9249 MB / 1.575 GB, free: 4.328 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.586, allocations: 7.938 kB / 1.575 GB, free: 4.32 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.829e-05/0.5861, allocations: 43.94 kB / 1.575 GB, free: 4.277 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.763e-05/0.5861, allocations: 29.3 kB / 1.575 GB, free: 4.25 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009813/0.5871, allocations: 0.6177 MB / 1.576 GB, free: 3.633 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.004513/0.5916, allocations: 4.615 MB / 1.58 GB, free: 14.71 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007526/0.5924, allocations: 456.2 kB / 1.581 GB, free: 14.23 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/0.5927, allocations: 232.7 kB / 1.581 GB, free: 14 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/0.5928, allocations: 19.98 kB / 1.581 GB, free: 13.98 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.5929, allocations: 42.5 kB / 1.581 GB, free: 13.93 MB / 1.279 GB Notification: Performance of pre-optimization done (n=43): time 1.393e-06/0.5929, allocations: 4 kB / 1.581 GB, free: 13.93 MB / 1.279 GB Notification: Performance of matching and sorting (n=45): time 0.002617/0.5955, allocations: 1.551 MB / 1.583 GB, free: 12.34 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/0.5956, allocations: 106.8 kB / 1.583 GB, free: 12.21 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008304/0.5964, allocations: 0.7155 MB / 1.583 GB, free: 11.48 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 4.512e-05/0.5964, allocations: 41.95 kB / 1.583 GB, free: 11.44 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/0.5968, allocations: 428.5 kB / 1.584 GB, free: 11.01 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.5969, allocations: 170.6 kB / 1.584 GB, free: 10.84 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.5971, allocations: 110.3 kB / 1.584 GB, free: 10.73 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.5972, allocations: 334 kB / 1.584 GB, free: 10.4 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.5975, allocations: 185.2 kB / 1.585 GB, free: 10.22 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004929/0.598, allocations: 421 kB / 1.585 GB, free: 9.711 MB / 1.279 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.002208/0.6002, allocations: 1.105 MB / 1.586 GB, free: 8.52 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.6002, allocations: 4 kB / 1.586 GB, free: 8.516 MB / 1.279 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009947/0.6012, allocations: 0.6678 MB / 1.587 GB, free: 7.84 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.6012, allocations: 11.94 kB / 1.587 GB, free: 7.828 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.6012, allocations: 11.98 kB / 1.587 GB, free: 7.816 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.6013, allocations: 8 kB / 1.587 GB, free: 7.809 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004243/0.6017, allocations: 128.4 kB / 1.587 GB, free: 7.684 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.6017, allocations: 11.94 kB / 1.587 GB, free: 7.672 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004688/0.6022, allocations: 35.94 kB / 1.587 GB, free: 7.637 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-05/0.6022, allocations: 28 kB / 1.587 GB, free: 7.609 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.0003418/0.6026, allocations: 269.6 kB / 1.587 GB, free: 7.336 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.6027, allocations: 87.42 kB / 1.587 GB, free: 7.25 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.6029, allocations: 91.66 kB / 1.587 GB, free: 7.156 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.6029, allocations: 8 kB / 1.587 GB, free: 7.148 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.6029, allocations: 0 / 1.587 GB, free: 7.148 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007505/0.6036, allocations: 0.7041 MB / 1.588 GB, free: 6.359 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002427/0.6061, allocations: 1.61 MB / 1.59 GB, free: 4.648 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.6061, allocations: 8.438 kB / 1.59 GB, free: 4.641 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004533/0.6065, allocations: 103.9 kB / 1.59 GB, free: 4.539 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.6065, allocations: 11.94 kB / 1.59 GB, free: 4.527 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.6066, allocations: 16 kB / 1.59 GB, free: 4.512 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.6066, allocations: 7.938 kB / 1.59 GB, free: 4.504 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.6066, allocations: 12 kB / 1.59 GB, free: 4.492 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.6078, allocations: 0.8772 MB / 1.591 GB, free: 3.551 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002949/0.608, allocations: 135.4 kB / 1.591 GB, free: 3.418 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.064e-05/0.6081, allocations: 12 kB / 1.591 GB, free: 3.406 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000406/0.6085, allocations: 20.64 kB / 1.591 GB, free: 3.387 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.6086, allocations: 39.83 kB / 1.591 GB, free: 3.348 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.6086, allocations: 23.98 kB / 1.591 GB, free: 3.324 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0006104/0.6093, allocations: 0.5068 MB / 1.591 GB, free: 2.82 MB / 1.279 GB Notification: Performance of sort global known variables: time 9e-08/0.6093, allocations: 0 / 1.591 GB, free: 2.82 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0006405/0.6099, allocations: 203.9 kB / 1.592 GB, free: 2.621 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.0004178/0.6103, allocations: 185 kB / 1.592 GB, free: 2.441 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0007473/0.6111, allocations: 456.8 kB / 1.592 GB, free: 1.996 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6111, allocations: 0 / 1.592 GB, free: 1.996 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0003084/0.6114, allocations: 212.8 kB / 1.592 GB, free: 1.789 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/0.6133, allocations: 474.1 kB / 1.593 GB, free: 1.34 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.6157, allocations: 1.683 MB / 1.595 GB, free: 15.57 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006751/0.6164, allocations: 1.032 MB / 1.596 GB, free: 14.52 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0005057/0.6169, allocations: 203 kB / 1.596 GB, free: 14.31 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.6171, allocations: 59.44 kB / 1.596 GB, free: 14.25 MB / 1.295 GB Notification: Performance of SimCode: time 3e-07/0.6171, allocations: 0 / 1.596 GB, free: 14.25 MB / 1.295 GB Notification: Performance of Templates: time 0.6086/1.226, allocations: 15.57 MB / 1.611 GB, free: 250 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 800] 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: 9.520522286649793]