Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.001916/0.001916, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002462/0.002462, allocations: 211.5 kB / 22.24 MB, free: 5.262 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.557/1.557, allocations: 230.6 MB / 256 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.046/3.046, allocations: 475.9 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") [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.002148/0.002148, allocations: 69.22 kB / 1.117 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3959, allocations: 170 MB / 1.283 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2361/0.632, allocations: 168.4 MB / 1.448 GB, free: 2.871 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0128/0.6448, allocations: 5.406 MB / 1.453 GB, free: 13.45 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002147/0.6469, allocations: 55.56 kB / 1.453 GB, free: 13.4 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002098/0.649, allocations: 0.5435 MB / 1.453 GB, free: 12.85 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.006029/0.6551, allocations: 1.68 MB / 1.455 GB, free: 11.16 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004468/0.6595, allocations: 1.237 MB / 1.456 GB, free: 9.934 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004834/0.6644, allocations: 2.597 MB / 1.459 GB, free: 7.336 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001768/0.6661, allocations: 0.7474 MB / 1.459 GB, free: 6.57 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002855/0.669, allocations: 1.109 MB / 1.461 GB, free: 5.457 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002863/0.6718, allocations: 0.8871 MB / 1.461 GB, free: 4.574 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004224/0.6723, allocations: 108 kB / 1.462 GB, free: 4.469 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003349/0.6756, allocations: 1.294 MB / 1.463 GB, free: 3.172 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0009124/0.6765, allocations: 0.5102 MB / 1.463 GB, free: 2.66 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001449/0.678, allocations: 0.5329 MB / 1.464 GB, free: 2.125 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004503/0.6825, allocations: 2.145 MB / 1.466 GB, free: 15.97 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6825, allocations: 0 / 1.466 GB, free: 15.97 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.744e-06/0.6825, allocations: 0 / 1.466 GB, free: 15.97 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.698e-05/0.6825, allocations: 4 kB / 1.466 GB, free: 15.96 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.003549/0.6861, allocations: 1.488 MB / 1.467 GB, free: 14.44 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.6861, allocations: 12.03 kB / 1.467 GB, free: 14.43 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003307/0.6895, allocations: 478.7 kB / 1.468 GB, free: 13.96 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00212/0.6916, allocations: 0.7838 MB / 1.469 GB, free: 13.15 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.413e-05/0.6916, allocations: 66 kB / 1.469 GB, free: 13.09 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.6918, allocations: 84 kB / 1.469 GB, free: 13 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00288/0.6947, allocations: 1.555 MB / 1.47 GB, free: 11.33 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.297e-05/0.6948, allocations: 7.938 kB / 1.47 GB, free: 11.32 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.6949, allocations: 36 kB / 1.47 GB, free: 11.29 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.195e-05/0.6949, allocations: 37.98 kB / 1.47 GB, free: 11.25 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002718/0.6976, allocations: 1.062 MB / 1.471 GB, free: 10.19 MB / 1.17 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.007633/0.7053, allocations: 3.137 MB / 1.474 GB, free: 6.977 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/0.7074, allocations: 0.7248 MB / 1.475 GB, free: 6.242 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.7085, allocations: 380.5 kB / 1.476 GB, free: 5.867 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.7086, allocations: 24.7 kB / 1.476 GB, free: 5.844 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.7086, allocations: 42.56 kB / 1.476 GB, free: 5.793 MB / 1.17 GB Notification: Performance of pre-optimization done (n=43): time 2.195e-06/0.7087, allocations: 0 / 1.476 GB, free: 5.793 MB / 1.17 GB Notification: Performance of matching and sorting (n=45): time 0.006663/0.7153, allocations: 2.097 MB / 1.478 GB, free: 3.664 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.7154, allocations: 63.41 kB / 1.478 GB, free: 3.59 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.7165, allocations: 0.6643 MB / 1.478 GB, free: 2.914 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.7166, allocations: 37.7 kB / 1.478 GB, free: 2.871 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005984/0.7172, allocations: 0.5154 MB / 1.479 GB, free: 2.348 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002541/0.7175, allocations: 170.5 kB / 1.479 GB, free: 2.18 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003042/0.7178, allocations: 122.3 kB / 1.479 GB, free: 2.055 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002587/0.7181, allocations: 378.8 kB / 1.48 GB, free: 1.676 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.7191, allocations: 373 kB / 1.48 GB, free: 1.309 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.7203, allocations: 0.5456 MB / 1.48 GB, free: 0.6992 MB / 1.17 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.006575/0.7269, allocations: 2.185 MB / 1.483 GB, free: 14.46 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.7269, allocations: 0 / 1.483 GB, free: 14.46 MB / 1.186 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002551/0.7295, allocations: 0.9695 MB / 1.483 GB, free: 13.49 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.7295, allocations: 8 kB / 1.483 GB, free: 13.48 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.7295, allocations: 8 kB / 1.483 GB, free: 13.48 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.202e-05/0.7295, allocations: 8 kB / 1.484 GB, free: 13.47 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.7307, allocations: 195.8 kB / 1.484 GB, free: 13.28 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.397e-05/0.7307, allocations: 7.938 kB / 1.484 GB, free: 13.27 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.7319, allocations: 79.81 kB / 1.484 GB, free: 13.19 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.523e-05/0.732, allocations: 24 kB / 1.484 GB, free: 13.17 MB / 1.186 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 (73): * Single equations (assignments): 73 * 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.0007952/0.7328, allocations: 309.5 kB / 1.484 GB, free: 12.86 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000345/0.7332, allocations: 83.53 kB / 1.484 GB, free: 12.77 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002951/0.7335, allocations: 91.12 kB / 1.484 GB, free: 12.68 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.7335, allocations: 4 kB / 1.484 GB, free: 12.68 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/0.7335, allocations: 3.938 kB / 1.484 GB, free: 12.67 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002251/0.7357, allocations: 1.023 MB / 1.485 GB, free: 11.56 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005395/0.7411, allocations: 1.88 MB / 1.487 GB, free: 9.605 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.7411, allocations: 4.406 kB / 1.487 GB, free: 9.602 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009125/0.742, allocations: 171.7 kB / 1.487 GB, free: 9.434 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.7421, allocations: 8 kB / 1.487 GB, free: 9.426 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.436e-05/0.7421, allocations: 16 kB / 1.487 GB, free: 9.41 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.7421, allocations: 4 kB / 1.487 GB, free: 9.406 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.7421, allocations: 4 kB / 1.487 GB, free: 9.402 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003516/0.7456, allocations: 1.415 MB / 1.489 GB, free: 7.926 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006025/0.7462, allocations: 163.5 kB / 1.489 GB, free: 7.766 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.7464, allocations: 12 kB / 1.489 GB, free: 7.754 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009753/0.7474, allocations: 69.02 kB / 1.489 GB, free: 7.688 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.7475, allocations: 39.88 kB / 1.489 GB, free: 7.648 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.601e-05/0.7476, allocations: 27.98 kB / 1.489 GB, free: 7.621 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006886/0.7483, allocations: 463 kB / 1.489 GB, free: 7.172 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.7483, allocations: 0 / 1.489 GB, free: 7.172 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001049/0.7493, allocations: 259.9 kB / 1.49 GB, free: 6.918 MB / 1.186 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 (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.0004387/0.7498, allocations: 199.2 kB / 1.49 GB, free: 6.711 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00234/0.7521, allocations: 0.7911 MB / 1.491 GB, free: 5.918 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.7521, allocations: 0 / 1.491 GB, free: 5.918 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.7532, allocations: 385 kB / 1.491 GB, free: 5.543 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002256/0.7555, allocations: 464.6 kB / 1.491 GB, free: 5.105 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00567/0.7611, allocations: 2.163 MB / 1.494 GB, free: 2.863 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007211/0.7618, allocations: 0.5118 MB / 1.494 GB, free: 2.32 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001021/0.7629, allocations: 234.3 kB / 1.494 GB, free: 2.086 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003287/0.7632, allocations: 71.42 kB / 1.494 GB, free: 2.016 MB / 1.186 GB Notification: Performance of SimCode: time 1.242e-06/0.7632, allocations: 0 / 1.494 GB, free: 2.016 MB / 1.186 GB Notification: Performance of Templates: time 0.05364/0.8168, allocations: 19.78 MB / 1.514 GB, free: 14.68 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.538053693249822]