Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.001386/0.001386, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.001547/0.001547, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.538/1.538, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.327/3.327, allocations: 0.4899 GB / 0.7915 GB, free: 33.41 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.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") [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.00214/0.00214, allocations: 67.97 kB / 1.149 GB, free: 26.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4617/0.4639, allocations: 176.1 MB / 1.321 GB, free: 2.785 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2979/0.7618, allocations: 213.7 MB / 1.53 GB, free: 12.25 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.0199/0.7817, allocations: 9.911 MB / 1.54 GB, free: 2.324 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003254/0.7849, allocations: 83.25 kB / 1.54 GB, free: 2.242 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.00301/0.788, allocations: 0.8077 MB / 1.541 GB, free: 1.43 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01044/0.7984, allocations: 2.922 MB / 1.543 GB, free: 14.5 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.004958/0.8034, allocations: 1.399 MB / 1.545 GB, free: 13.11 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.008398/0.8118, allocations: 4.056 MB / 1.549 GB, free: 9.031 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002386/0.8141, allocations: 1.118 MB / 1.55 GB, free: 7.879 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005405/0.8195, allocations: 1.857 MB / 1.552 GB, free: 6.016 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004475/0.824, allocations: 1.312 MB / 1.553 GB, free: 4.711 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.000425/0.8244, allocations: 144 kB / 1.553 GB, free: 4.57 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00759/0.832, allocations: 2.498 MB / 1.555 GB, free: 2.066 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001181/0.8332, allocations: 0.6231 MB / 1.556 GB, free: 1.441 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001946/0.8352, allocations: 0.8556 MB / 1.557 GB, free: 0.582 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.008412/0.8436, allocations: 3.017 MB / 1.56 GB, free: 13.55 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 9.848e-06/0.8436, allocations: 0 / 1.56 GB, free: 13.55 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8436, allocations: 0 / 1.56 GB, free: 13.55 MB / 1.264 GB Notification: Performance of Transformations before backend: time 4.563e-05/0.8436, allocations: 0 / 1.56 GB, free: 13.55 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004463/0.8481, allocations: 1.945 MB / 1.562 GB, free: 11.55 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.8481, allocations: 11.98 kB / 1.562 GB, free: 11.54 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003519/0.8517, allocations: 494.5 kB / 1.562 GB, free: 11.05 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002465/0.8541, allocations: 1.144 MB / 1.563 GB, free: 9.867 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.986e-05/0.8542, allocations: 90.12 kB / 1.563 GB, free: 9.777 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/0.8544, allocations: 112 kB / 1.564 GB, free: 9.668 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.8567, allocations: 1.145 MB / 1.565 GB, free: 8.492 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/0.8568, allocations: 3.938 kB / 1.565 GB, free: 8.488 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.8569, allocations: 48 kB / 1.565 GB, free: 8.441 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.32e-05/0.8569, allocations: 42.12 kB / 1.565 GB, free: 8.398 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/0.8589, allocations: 1.074 MB / 1.566 GB, free: 7.316 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007862/0.8668, allocations: 4.435 MB / 1.57 GB, free: 2.547 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.8681, allocations: 0.766 MB / 1.571 GB, free: 1.77 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000694/0.8688, allocations: 458.5 kB / 1.571 GB, free: 1.32 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004662/0.8692, allocations: 288.3 kB / 1.572 GB, free: 0.9844 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.321e-05/0.8693, allocations: 51.5 kB / 1.572 GB, free: 0.9258 MB / 1.264 GB Notification: Performance of pre-optimization done (n=83): time 5.149e-06/0.8693, allocations: 3.984 kB / 1.572 GB, free: 0.9219 MB / 1.264 GB Notification: Performance of matching and sorting (n=89): time 0.006538/0.8758, allocations: 2.866 MB / 1.574 GB, free: 13.97 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.8759, allocations: 60.41 kB / 1.575 GB, free: 13.9 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.8774, allocations: 0.9716 MB / 1.575 GB, free: 12.91 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.8775, allocations: 41.7 kB / 1.576 GB, free: 12.86 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005807/0.878, allocations: 0.5521 MB / 1.576 GB, free: 12.3 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003854/0.8784, allocations: 333.1 kB / 1.576 GB, free: 11.98 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003493/0.8788, allocations: 154.6 kB / 1.577 GB, free: 11.82 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0002349/0.879, allocations: 341.9 kB / 1.577 GB, free: 11.48 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006593/0.8797, allocations: 341.8 kB / 1.577 GB, free: 11.14 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007338/0.8804, allocations: 485.9 kB / 1.578 GB, free: 10.63 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 (bou.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006722/0.8871, allocations: 3.044 MB / 1.581 GB, free: 7.504 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.8871, allocations: 4 kB / 1.581 GB, free: 7.5 MB / 1.279 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0021/0.8892, allocations: 1.016 MB / 1.582 GB, free: 6.477 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.8893, allocations: 4 kB / 1.582 GB, free: 6.473 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.8893, allocations: 7.938 kB / 1.582 GB, free: 6.465 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.044e-05/0.8893, allocations: 8.375 kB / 1.582 GB, free: 6.457 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007871/0.8901, allocations: 183.7 kB / 1.582 GB, free: 6.277 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.8901, allocations: 4 kB / 1.582 GB, free: 6.273 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.8912, allocations: 28 kB / 1.582 GB, free: 6.246 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.193e-05/0.8913, allocations: 35.98 kB / 1.582 GB, free: 6.211 MB / 1.279 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.0007835/0.8921, allocations: 381.4 kB / 1.582 GB, free: 5.828 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003005/0.8924, allocations: 135.1 kB / 1.582 GB, free: 5.695 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003429/0.8927, allocations: 148.3 kB / 1.582 GB, free: 5.547 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.8928, allocations: 12 kB / 1.582 GB, free: 5.535 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.827e-05/0.8928, allocations: 0 / 1.582 GB, free: 5.535 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001884/0.8947, allocations: 1.098 MB / 1.584 GB, free: 4.363 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005351/0.9, allocations: 3.043 MB / 1.587 GB, free: 1.141 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.906e-05/0.9, allocations: 8 kB / 1.587 GB, free: 1.133 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007167/0.9007, allocations: 160.6 kB / 1.587 GB, free: 0.9766 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003888/0.9011, allocations: 109.6 kB / 1.587 GB, free: 0.8633 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.597e-05/0.9012, allocations: 31.94 kB / 1.587 GB, free: 0.832 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003869/0.9051, allocations: 3.09 MB / 1.59 GB, free: 13.46 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.367e-05/0.9051, allocations: 11.94 kB / 1.59 GB, free: 13.45 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003231/0.9083, allocations: 1.746 MB / 1.592 GB, free: 11.57 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009064/0.9092, allocations: 312.2 kB / 1.592 GB, free: 11.25 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/0.9094, allocations: 35.92 kB / 1.592 GB, free: 11.21 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009251/0.9103, allocations: 42.23 kB / 1.592 GB, free: 11.18 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.9105, allocations: 88.09 kB / 1.592 GB, free: 11.09 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.31e-05/0.9106, allocations: 43.98 kB / 1.592 GB, free: 11.05 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001059/0.9116, allocations: 0.6956 MB / 1.593 GB, free: 10.34 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/0.9116, allocations: 0 / 1.593 GB, free: 10.34 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.00129/0.9129, allocations: 376 kB / 1.593 GB, free: 9.977 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.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 (85): * Single equations (assignments): 83 * 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): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00058/0.9135, allocations: 232.4 kB / 1.593 GB, free: 9.742 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.9151, allocations: 0.8043 MB / 1.594 GB, free: 8.934 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/0.9151, allocations: 8.75 kB / 1.594 GB, free: 8.926 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.9162, allocations: 0.6496 MB / 1.595 GB, free: 8.25 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004415/0.9206, allocations: 0.9223 MB / 1.596 GB, free: 7.344 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005343/0.9259, allocations: 2.821 MB / 1.598 GB, free: 4.371 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/0.9272, allocations: 1.249 MB / 1.6 GB, free: 3.094 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001557/0.9288, allocations: 339 kB / 1.6 GB, free: 2.758 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003465/0.9291, allocations: 103.4 kB / 1.6 GB, free: 2.656 MB / 1.295 GB Notification: Performance of SimCode: time 2.024e-06/0.9291, allocations: 0 / 1.6 GB, free: 2.656 MB / 1.295 GB Notification: Performance of Templates: time 0.9432/1.872, allocations: 28.83 MB / 1.628 GB, free: 272.5 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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: 11.651472650002688]