Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.002121/0.002121, allocations: 103.4 kB / 16.45 MB, free: 6.449 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.002461/0.002461, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.55/1.55, allocations: 230.6 MB / 252.8 MB, free: 9.145 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.454/3.454, allocations: 0.4899 GB / 0.7915 GB, free: 33.36 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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [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.002251/0.002251, allocations: 68.53 kB / 1.149 GB, free: 26.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4406/0.4428, allocations: 176.1 MB / 1.321 GB, free: 2.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2442/0.687, allocations: 194.3 MB / 1.511 GB, free: 15.84 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01099/0.6979, allocations: 5.758 MB / 1.517 GB, free: 10.07 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00179/0.6997, allocations: 59.5 kB / 1.517 GB, free: 10.01 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.7016, allocations: 0.6059 MB / 1.517 GB, free: 9.402 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005678/0.7073, allocations: 1.921 MB / 1.519 GB, free: 7.473 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004414/0.7117, allocations: 1.199 MB / 1.52 GB, free: 6.281 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.005697/0.7174, allocations: 2.945 MB / 1.523 GB, free: 3.332 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.7189, allocations: 0.8093 MB / 1.524 GB, free: 2.512 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003244/0.7221, allocations: 1.312 MB / 1.525 GB, free: 1.195 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002905/0.7251, allocations: 0.969 MB / 1.526 GB, free: 232 kB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002373/0.7253, allocations: 112 kB / 1.526 GB, free: 120 kB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003554/0.7288, allocations: 1.504 MB / 1.528 GB, free: 14.61 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005985/0.7294, allocations: 470.6 kB / 1.528 GB, free: 14.15 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0009596/0.7304, allocations: 0.6533 MB / 1.529 GB, free: 13.49 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003974/0.7344, allocations: 2.149 MB / 1.531 GB, free: 11.34 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7344, allocations: 4 kB / 1.531 GB, free: 11.33 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.442e-06/0.7344, allocations: 0 / 1.531 GB, free: 11.33 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.284e-05/0.7344, allocations: 0 / 1.531 GB, free: 11.33 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002934/0.7373, allocations: 1.56 MB / 1.532 GB, free: 9.715 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.7374, allocations: 11.98 kB / 1.532 GB, free: 9.703 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002123/0.7395, allocations: 323 kB / 1.533 GB, free: 9.387 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.741, allocations: 0.8521 MB / 1.534 GB, free: 8.492 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.709e-05/0.7411, allocations: 66 kB / 1.534 GB, free: 8.43 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.7412, allocations: 87.98 kB / 1.534 GB, free: 8.344 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.743, allocations: 0.9108 MB / 1.535 GB, free: 7.426 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.743, allocations: 4 kB / 1.535 GB, free: 7.422 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.574e-05/0.7431, allocations: 40 kB / 1.535 GB, free: 7.383 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.234e-05/0.7432, allocations: 30 kB / 1.535 GB, free: 7.352 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.7447, allocations: 0.8276 MB / 1.536 GB, free: 6.527 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.005798/0.7505, allocations: 3.518 MB / 1.539 GB, free: 2.789 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00085/0.7514, allocations: 482.6 kB / 1.539 GB, free: 2.305 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004882/0.7518, allocations: 278 kB / 1.54 GB, free: 2.031 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/0.7521, allocations: 97.53 kB / 1.54 GB, free: 1.918 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.7521, allocations: 46.98 kB / 1.54 GB, free: 1.863 MB / 1.232 GB Notification: Performance of pre-optimization done (n=47): time 3.367e-06/0.7521, allocations: 3.938 kB / 1.54 GB, free: 1.859 MB / 1.232 GB Notification: Performance of matching and sorting (n=49): time 0.004404/0.7565, allocations: 1.928 MB / 1.542 GB, free: 15.84 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.7566, allocations: 63.84 kB / 1.542 GB, free: 15.76 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.7577, allocations: 0.8019 MB / 1.543 GB, free: 14.95 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.953e-05/0.7577, allocations: 41.7 kB / 1.543 GB, free: 14.9 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004053/0.7581, allocations: 480.2 kB / 1.543 GB, free: 14.43 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.7583, allocations: 186.4 kB / 1.543 GB, free: 14.25 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/0.7585, allocations: 110.3 kB / 1.543 GB, free: 14.13 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.7587, allocations: 337.9 kB / 1.544 GB, free: 13.8 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004654/0.7591, allocations: 241.2 kB / 1.544 GB, free: 13.56 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005821/0.7597, allocations: 353.2 kB / 1.544 GB, free: 13.18 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.004011/0.7637, allocations: 1.526 MB / 1.546 GB, free: 11.6 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.7637, allocations: 4 kB / 1.546 GB, free: 11.6 MB / 1.248 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001473/0.7652, allocations: 0.7888 MB / 1.547 GB, free: 10.79 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.7652, allocations: 4 kB / 1.547 GB, free: 10.79 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.7652, allocations: 7.938 kB / 1.547 GB, free: 10.78 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003248/0.7656, allocations: 94 kB / 1.547 GB, free: 10.68 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006837/0.7662, allocations: 143.8 kB / 1.547 GB, free: 10.54 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003414/0.7697, allocations: 3.3 MB / 1.55 GB, free: 6.961 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000938/0.7706, allocations: 31.88 kB / 1.55 GB, free: 6.93 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.281e-05/0.7706, allocations: 24.06 kB / 1.55 GB, free: 6.906 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: 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005883/0.7712, allocations: 298.3 kB / 1.55 GB, free: 6.605 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.7714, allocations: 95.44 kB / 1.55 GB, free: 6.512 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.7716, allocations: 104.7 kB / 1.55 GB, free: 6.406 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.7716, allocations: 4 kB / 1.55 GB, free: 6.402 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.7716, allocations: 3.938 kB / 1.55 GB, free: 6.398 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001197/0.7728, allocations: 0.8427 MB / 1.551 GB, free: 5.465 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003313/0.7761, allocations: 1.783 MB / 1.553 GB, free: 3.582 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.7761, allocations: 4.406 kB / 1.553 GB, free: 3.578 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006333/0.7768, allocations: 131.8 kB / 1.553 GB, free: 3.449 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000233/0.777, allocations: 65 kB / 1.553 GB, free: 3.383 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/0.777, allocations: 16 kB / 1.553 GB, free: 3.367 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001867/0.7789, allocations: 1.789 MB / 1.555 GB, free: 1.434 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.7789, allocations: 4 kB / 1.555 GB, free: 1.43 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.7807, allocations: 1.078 MB / 1.556 GB, free: 300 kB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004286/0.7812, allocations: 240.4 kB / 1.556 GB, free: 40 kB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.7813, allocations: 16 kB / 1.556 GB, free: 24 kB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007357/0.782, allocations: 39.91 kB / 1.556 GB, free: 15.98 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.7821, allocations: 39.83 kB / 1.556 GB, free: 15.95 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.126e-05/0.7822, allocations: 32.17 kB / 1.556 GB, free: 15.91 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0008055/0.783, allocations: 0.5615 MB / 1.557 GB, free: 15.36 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/0.783, allocations: 0 / 1.557 GB, free: 15.36 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009716/0.784, allocations: 284 kB / 1.557 GB, free: 15.08 MB / 1.264 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 (45): * Single equations (assignments): 44 * 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.0003978/0.7844, allocations: 177.6 kB / 1.557 GB, free: 14.9 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001436/0.7858, allocations: 0.7881 MB / 1.558 GB, free: 14.08 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.7858, allocations: 4 kB / 1.558 GB, free: 14.08 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006275/0.7864, allocations: 407.1 kB / 1.559 GB, free: 13.67 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002773/0.7892, allocations: 0.6062 MB / 1.559 GB, free: 13.08 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/0.7924, allocations: 1.831 MB / 1.561 GB, free: 11.17 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008118/0.7932, allocations: 1.084 MB / 1.562 GB, free: 10.06 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0007414/0.7939, allocations: 215.7 kB / 1.562 GB, free: 9.844 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/0.7941, allocations: 71.44 kB / 1.562 GB, free: 9.773 MB / 1.264 GB Notification: Performance of SimCode: time 1.022e-06/0.7941, allocations: 0 / 1.562 GB, free: 9.773 MB / 1.264 GB Notification: Performance of Templates: time 0.03865/0.8328, allocations: 21.02 MB / 1.583 GB, free: 5.043 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.728477770928293]