Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 111.1 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.869/2.869, allocations: 489.3 MB / 0.7687 GB, free: 3.766 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 67.89 kB / 1.103 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9815/0.9834, allocations: 163.8 MB / 1.263 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2403/1.224, allocations: 190.7 MB / 1.449 GB, free: 8.566 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01053/1.234, allocations: 5.753 MB / 1.454 GB, free: 3.824 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001642/1.236, allocations: 39.75 kB / 1.454 GB, free: 3.785 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001714/1.238, allocations: 0.5824 MB / 1.455 GB, free: 3.199 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004426/1.242, allocations: 1.614 MB / 1.457 GB, free: 1.578 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003367/1.246, allocations: 1.215 MB / 1.458 GB, free: 380 kB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003904/1.25, allocations: 2.562 MB / 1.46 GB, free: 13.8 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/1.251, allocations: 0.8862 MB / 1.461 GB, free: 12.9 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002672/1.254, allocations: 1.203 MB / 1.462 GB, free: 11.7 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002051/1.256, allocations: 0.7981 MB / 1.463 GB, free: 10.9 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002262/1.256, allocations: 100 kB / 1.463 GB, free: 10.8 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003347/1.259, allocations: 1.528 MB / 1.465 GB, free: 9.273 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005282/1.26, allocations: 402.9 kB / 1.465 GB, free: 8.879 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008667/1.261, allocations: 0.5872 MB / 1.466 GB, free: 8.289 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003885/1.265, allocations: 2.032 MB / 1.468 GB, free: 6.25 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/1.265, allocations: 0 / 1.468 GB, free: 6.25 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.944e-06/1.265, allocations: 0 / 1.468 GB, free: 6.25 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.908e-05/1.265, allocations: 0 / 1.468 GB, free: 6.25 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002577/1.267, allocations: 1.474 MB / 1.469 GB, free: 4.723 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/1.267, allocations: 8.031 kB / 1.469 GB, free: 4.715 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002649/1.27, allocations: 414.9 kB / 1.47 GB, free: 4.309 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/1.271, allocations: 0.8112 MB / 1.47 GB, free: 3.457 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.999e-05/1.272, allocations: 58 kB / 1.47 GB, free: 3.402 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/1.272, allocations: 75.98 kB / 1.47 GB, free: 3.328 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/1.274, allocations: 0.9905 MB / 1.471 GB, free: 2.316 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/1.274, allocations: 0 / 1.471 GB, free: 2.316 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-05/1.274, allocations: 32 kB / 1.471 GB, free: 2.285 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-05/1.274, allocations: 26 kB / 1.471 GB, free: 2.262 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/1.276, allocations: 0.8783 MB / 1.472 GB, free: 1.383 MB / 1.154 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.00627/1.282, allocations: 3.487 MB / 1.476 GB, free: 13.71 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/1.284, allocations: 0.6086 MB / 1.476 GB, free: 13.1 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007966/1.285, allocations: 325.3 kB / 1.477 GB, free: 12.78 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002046/1.285, allocations: 101.4 kB / 1.477 GB, free: 12.66 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/1.285, allocations: 39.22 kB / 1.477 GB, free: 12.61 MB / 1.17 GB Notification: Performance of pre-optimization done (n=39): time 2.675e-06/1.285, allocations: 4 kB / 1.477 GB, free: 12.61 MB / 1.17 GB Notification: Performance of matching and sorting (n=41): time 0.008433/1.293, allocations: 2.406 MB / 1.479 GB, free: 10.12 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/1.293, allocations: 59.41 kB / 1.479 GB, free: 10.05 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/1.295, allocations: 0.798 MB / 1.48 GB, free: 9.246 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.2e-05/1.295, allocations: 33.7 kB / 1.48 GB, free: 9.207 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003924/1.295, allocations: 464.4 kB / 1.48 GB, free: 8.746 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/1.295, allocations: 150.7 kB / 1.481 GB, free: 8.598 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/1.295, allocations: 106.2 kB / 1.481 GB, free: 8.488 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.296, allocations: 326 kB / 1.481 GB, free: 8.164 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008197/1.296, allocations: 300.9 kB / 1.481 GB, free: 7.871 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009077/1.297, allocations: 412.1 kB / 1.482 GB, free: 7.434 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.005525/1.303, allocations: 1.885 MB / 1.483 GB, free: 5.496 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.303, allocations: 0 / 1.483 GB, free: 5.496 MB / 1.17 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003314/1.306, allocations: 1.039 MB / 1.485 GB, free: 4.445 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/1.306, allocations: 8 kB / 1.485 GB, free: 4.438 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/1.306, allocations: 11.97 kB / 1.485 GB, free: 4.426 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006402/1.307, allocations: 188.7 kB / 1.485 GB, free: 4.238 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006885/1.308, allocations: 147.8 kB / 1.485 GB, free: 4.094 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004152/1.312, allocations: 2.224 MB / 1.487 GB, free: 1.727 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009983/1.313, allocations: 55.89 kB / 1.487 GB, free: 1.672 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-05/1.313, allocations: 20 kB / 1.487 GB, free: 1.652 MB / 1.17 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: 12 * 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 (59): * Single equations (assignments): 58 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0005054/1.313, allocations: 275.5 kB / 1.487 GB, free: 1.375 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/1.314, allocations: 91.42 kB / 1.487 GB, free: 1.285 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/1.314, allocations: 100.2 kB / 1.488 GB, free: 1.188 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/1.314, allocations: 4 kB / 1.488 GB, free: 1.184 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.314, allocations: 0 / 1.488 GB, free: 1.184 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00291/1.317, allocations: 0.9065 MB / 1.488 GB, free: 248 kB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005417/1.322, allocations: 2.091 MB / 1.49 GB, free: 14.05 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/1.322, allocations: 4 kB / 1.49 GB, free: 14.05 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006453/1.323, allocations: 132.2 kB / 1.491 GB, free: 13.92 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005882/1.324, allocations: 184.7 kB / 1.491 GB, free: 13.73 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.401e-05/1.324, allocations: 12 kB / 1.491 GB, free: 13.72 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003906/1.327, allocations: 2.199 MB / 1.493 GB, free: 11.38 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/1.327, allocations: 7.938 kB / 1.493 GB, free: 11.38 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00403/1.332, allocations: 1.413 MB / 1.494 GB, free: 9.898 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000511/1.332, allocations: 240.4 kB / 1.495 GB, free: 9.645 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/1.332, allocations: 20.05 kB / 1.495 GB, free: 9.625 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000811/1.333, allocations: 63.81 kB / 1.495 GB, free: 9.562 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/1.333, allocations: 35.91 kB / 1.495 GB, free: 9.527 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-05/1.333, allocations: 31.97 kB / 1.495 GB, free: 9.496 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007968/1.334, allocations: 0.5498 MB / 1.495 GB, free: 8.949 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.064e-06/1.334, allocations: 0 / 1.495 GB, free: 8.949 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000907/1.335, allocations: 283.9 kB / 1.495 GB, free: 8.672 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (37): * Single equations (assignments): 36 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000508/1.335, allocations: 205.3 kB / 1.496 GB, free: 8.473 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002104/1.338, allocations: 0.8054 MB / 1.496 GB, free: 7.656 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/1.338, allocations: 4 kB / 1.496 GB, free: 7.652 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009855/1.339, allocations: 451.6 kB / 1.497 GB, free: 7.199 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/1.341, allocations: 0.5408 MB / 1.497 GB, free: 6.668 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/1.346, allocations: 1.992 MB / 1.499 GB, free: 4.598 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007274/1.346, allocations: 1.036 MB / 1.5 GB, free: 3.535 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002571/1.347, allocations: 75.42 kB / 1.5 GB, free: 3.461 MB / 1.186 GB Notification: Performance of SimCode: time 7.21e-07/1.347, allocations: 0 / 1.5 GB, free: 3.461 MB / 1.186 GB Notification: Performance of Templates: time 0.02843/1.375, allocations: 18.97 MB / 1.519 GB, free: 0.6016 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.T,volSte.T Variables in the result:gain.y,time,volDyn.T,volDyn.ports[1].m_flow,volSte.T [Calling sys.exit(0), Time elapsed: 14.4449052431155]