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.001257/0.001257, allocations: 111 kB / 16.46 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.001348/0.001348, allocations: 213.7 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.377/1.377, allocations: 230.6 MB / 252.8 MB, free: 8.965 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 2.994/2.994, allocations: 0.49 GB / 0.7916 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) [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.001924/0.001924, allocations: 73.48 kB / 1.149 GB, free: 26.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3088, allocations: 176.1 MB / 1.321 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2331/0.5419, allocations: 213.7 MB / 1.53 GB, free: 12.84 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01481/0.5567, allocations: 9.921 MB / 1.539 GB, free: 2.898 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001844/0.5585, allocations: 83.31 kB / 1.539 GB, free: 2.816 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002014/0.5605, allocations: 0.8116 MB / 1.54 GB, free: 2 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.006933/0.5675, allocations: 2.925 MB / 1.543 GB, free: 15.06 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003843/0.5713, allocations: 1.394 MB / 1.544 GB, free: 13.68 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.005907/0.5772, allocations: 4.06 MB / 1.548 GB, free: 9.602 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/0.5789, allocations: 1.122 MB / 1.549 GB, free: 8.445 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00383/0.5827, allocations: 1.849 MB / 1.551 GB, free: 6.59 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002632/0.5853, allocations: 1.305 MB / 1.552 GB, free: 5.289 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002649/0.5856, allocations: 148 kB / 1.553 GB, free: 5.145 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004758/0.5904, allocations: 2.502 MB / 1.555 GB, free: 2.637 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0007884/0.5911, allocations: 0.6154 MB / 1.556 GB, free: 2.02 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001257/0.5924, allocations: 0.8595 MB / 1.556 GB, free: 1.156 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.005763/0.5982, allocations: 3.017 MB / 1.559 GB, free: 14.13 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.5982, allocations: 4 kB / 1.559 GB, free: 14.12 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.514e-06/0.5982, allocations: 0 / 1.559 GB, free: 14.12 MB / 1.264 GB Notification: Performance of Transformations before backend: time 6.115e-05/0.5982, allocations: 0 / 1.559 GB, free: 14.12 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.003807/0.602, allocations: 1.945 MB / 1.561 GB, free: 12.12 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.6021, allocations: 15.98 kB / 1.561 GB, free: 12.11 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002225/0.6023, allocations: 164.8 kB / 1.562 GB, free: 11.93 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003255/0.6056, allocations: 494.5 kB / 1.562 GB, free: 11.45 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002066/0.6076, allocations: 1.148 MB / 1.563 GB, free: 10.26 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.809e-05/0.6077, allocations: 82.14 kB / 1.563 GB, free: 10.18 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/0.6079, allocations: 108 kB / 1.563 GB, free: 10.07 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/0.6099, allocations: 1.153 MB / 1.564 GB, free: 8.887 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.6099, allocations: 3.984 kB / 1.564 GB, free: 8.883 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.61, allocations: 47.94 kB / 1.564 GB, free: 8.836 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.011e-05/0.6101, allocations: 38.14 kB / 1.564 GB, free: 8.797 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.6118, allocations: 1.078 MB / 1.566 GB, free: 7.711 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00609/0.6179, allocations: 4.445 MB / 1.57 GB, free: 2.93 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.6191, allocations: 0.7545 MB / 1.571 GB, free: 2.164 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006499/0.6197, allocations: 458.2 kB / 1.571 GB, free: 1.715 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004074/0.6202, allocations: 292.3 kB / 1.571 GB, free: 1.375 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.6202, allocations: 43.56 kB / 1.571 GB, free: 1.324 MB / 1.264 GB Notification: Performance of pre-optimization done (n=83): time 2.244e-06/0.6202, allocations: 0 / 1.571 GB, free: 1.324 MB / 1.264 GB Notification: Performance of matching and sorting (n=89): time 0.005547/0.6257, allocations: 2.866 MB / 1.574 GB, free: 14.37 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.6258, allocations: 64.41 kB / 1.574 GB, free: 14.3 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.627, allocations: 0.9716 MB / 1.575 GB, free: 13.31 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 7.562e-05/0.6271, allocations: 49.7 kB / 1.575 GB, free: 13.25 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004436/0.6275, allocations: 0.5443 MB / 1.576 GB, free: 12.7 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002973/0.6278, allocations: 337 kB / 1.576 GB, free: 12.37 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002452/0.6281, allocations: 154.6 kB / 1.576 GB, free: 12.21 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.6282, allocations: 341.9 kB / 1.577 GB, free: 11.88 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005429/0.6288, allocations: 341.8 kB / 1.577 GB, free: 11.54 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006514/0.6294, allocations: 485.9 kB / 1.577 GB, free: 11.02 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.006109/0.6355, allocations: 3.043 MB / 1.58 GB, free: 7.898 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.6355, allocations: 4 kB / 1.58 GB, free: 7.895 MB / 1.279 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00159/0.6371, allocations: 1.016 MB / 1.581 GB, free: 6.871 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.6371, allocations: 8 kB / 1.581 GB, free: 6.863 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.6371, allocations: 4 kB / 1.581 GB, free: 6.859 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.6372, allocations: 4 kB / 1.581 GB, free: 6.855 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007493/0.6379, allocations: 188.1 kB / 1.582 GB, free: 6.672 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.829e-05/0.6379, allocations: 11.94 kB / 1.582 GB, free: 6.66 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009396/0.6389, allocations: 23.98 kB / 1.582 GB, free: 6.637 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.062e-05/0.6389, allocations: 32 kB / 1.582 GB, free: 6.605 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.0005712/0.6395, allocations: 381.5 kB / 1.582 GB, free: 6.223 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/0.6397, allocations: 135.1 kB / 1.582 GB, free: 6.09 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003159/0.64, allocations: 144.3 kB / 1.582 GB, free: 5.945 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.64, allocations: 11.98 kB / 1.582 GB, free: 5.934 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-05/0.6401, allocations: 8 kB / 1.582 GB, free: 5.926 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001604/0.6417, allocations: 1.086 MB / 1.583 GB, free: 4.766 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004966/0.6466, allocations: 3.051 MB / 1.586 GB, free: 1.535 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.6466, allocations: 11.94 kB / 1.586 GB, free: 1.523 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007394/0.6474, allocations: 163.8 kB / 1.586 GB, free: 1.363 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003727/0.6478, allocations: 102.4 kB / 1.587 GB, free: 1.258 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-05/0.6478, allocations: 35.94 kB / 1.587 GB, free: 1.223 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002977/0.6508, allocations: 3.086 MB / 1.59 GB, free: 13.86 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.394e-05/0.6508, allocations: 15.92 kB / 1.59 GB, free: 13.84 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002833/0.6537, allocations: 1.738 MB / 1.591 GB, free: 11.97 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006465/0.6543, allocations: 320.2 kB / 1.592 GB, free: 11.64 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.6545, allocations: 31.94 kB / 1.592 GB, free: 11.61 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008948/0.6553, allocations: 34.05 kB / 1.592 GB, free: 11.57 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.6555, allocations: 92.09 kB / 1.592 GB, free: 11.48 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.748e-05/0.6556, allocations: 48.12 kB / 1.592 GB, free: 11.44 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0009815/0.6566, allocations: 0.6956 MB / 1.592 GB, free: 10.73 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/0.6566, allocations: 0 / 1.592 GB, free: 10.73 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001178/0.6577, allocations: 368 kB / 1.593 GB, free: 10.38 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.003043/0.6608, allocations: 2.417 MB / 1.595 GB, free: 7.812 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001424/0.6622, allocations: 0.8121 MB / 1.596 GB, free: 6.996 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.6622, allocations: 4 kB / 1.596 GB, free: 6.992 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0009979/0.6632, allocations: 0.6496 MB / 1.597 GB, free: 6.316 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004258/0.6675, allocations: 0.9317 MB / 1.598 GB, free: 5.398 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6274/1.295, allocations: 9.709 MB / 1.607 GB, free: 278.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007984/1.296, allocations: 1.253 MB / 1.608 GB, free: 277.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001211/1.297, allocations: 339.9 kB / 1.609 GB, free: 277.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006106/1.298, allocations: 476.2 kB / 1.609 GB, free: 277.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.122e-06/1.298, allocations: 0 / 1.609 GB, free: 277.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07823/1.376, allocations: 38.6 MB / 1.647 GB, free: 260.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/13.14, allocations: 1.719 kB / 1.647 GB, free: 260.9 MB / 1.295 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 19.409899052930996]