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.001321/0.001321, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001417/0.001417, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.395/1.395, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.75/2.75, allocations: 0.49 GB / 0.7923 GB, free: 1.5 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="cs",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.002151/0.002151, allocations: 63.91 kB / 1.15 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.938/0.9402, allocations: 176.1 MB / 1.321 GB, free: 24.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2368/1.177, allocations: 213.7 MB / 1.53 GB, free: 3.516 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01512/1.192, allocations: 9.927 MB / 1.54 GB, free: 9.57 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002218/1.194, allocations: 79.31 kB / 1.54 GB, free: 9.492 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002172/1.197, allocations: 0.7999 MB / 1.541 GB, free: 8.688 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00767/1.204, allocations: 2.921 MB / 1.544 GB, free: 5.754 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00374/1.208, allocations: 1.393 MB / 1.545 GB, free: 4.367 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.005769/1.214, allocations: 4.068 MB / 1.549 GB, free: 292 kB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001928/1.216, allocations: 1.114 MB / 1.55 GB, free: 15.13 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003727/1.219, allocations: 1.845 MB / 1.552 GB, free: 13.28 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002831/1.222, allocations: 1.303 MB / 1.553 GB, free: 11.98 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0003856/1.223, allocations: 144 kB / 1.553 GB, free: 11.84 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004989/1.228, allocations: 2.502 MB / 1.556 GB, free: 9.332 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0008844/1.228, allocations: 0.6193 MB / 1.556 GB, free: 8.711 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001644/1.23, allocations: 0.8634 MB / 1.557 GB, free: 7.844 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.005693/1.236, allocations: 3.021 MB / 1.56 GB, free: 4.812 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/1.236, allocations: 0 / 1.56 GB, free: 4.812 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.994e-06/1.236, allocations: 4 kB / 1.56 GB, free: 4.809 MB / 1.232 GB Notification: Performance of Transformations before backend: time 6.478e-05/1.236, allocations: 0 / 1.56 GB, free: 4.809 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004253/1.24, allocations: 1.941 MB / 1.562 GB, free: 2.809 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/1.24, allocations: 15.92 kB / 1.562 GB, free: 2.793 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.416e-05/1.24, allocations: 30.14 kB / 1.562 GB, free: 2.762 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002767/1.24, allocations: 168.8 kB / 1.562 GB, free: 2.586 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003314/1.244, allocations: 498.5 kB / 1.563 GB, free: 2.098 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002219/1.246, allocations: 1.136 MB / 1.564 GB, free: 0.918 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.178e-05/1.246, allocations: 82.14 kB / 1.564 GB, free: 0.8359 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/1.246, allocations: 112 kB / 1.564 GB, free: 0.7266 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/1.248, allocations: 1.153 MB / 1.565 GB, free: 15.54 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/1.248, allocations: 4 kB / 1.565 GB, free: 15.54 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/1.249, allocations: 48 kB / 1.565 GB, free: 15.49 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.144e-05/1.249, allocations: 42.12 kB / 1.565 GB, free: 15.45 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/1.25, allocations: 1.078 MB / 1.566 GB, free: 14.36 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006531/1.257, allocations: 4.433 MB / 1.571 GB, free: 9.594 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/1.258, allocations: 0.7585 MB / 1.571 GB, free: 8.828 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006623/1.259, allocations: 454.8 kB / 1.572 GB, free: 8.383 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004367/1.259, allocations: 300.3 kB / 1.572 GB, free: 8.035 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/1.259, allocations: 43.56 kB / 1.572 GB, free: 7.984 MB / 1.248 GB Notification: Performance of pre-optimization done (n=83): time 2.755e-06/1.259, allocations: 0 / 1.572 GB, free: 7.984 MB / 1.248 GB Notification: Performance of matching and sorting (n=89): time 0.005934/1.265, allocations: 2.862 MB / 1.575 GB, free: 5.031 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/1.265, allocations: 64.39 kB / 1.575 GB, free: 4.957 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/1.267, allocations: 0.9716 MB / 1.576 GB, free: 3.969 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/1.267, allocations: 45.7 kB / 1.576 GB, free: 3.918 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.000472/1.267, allocations: 0.5482 MB / 1.576 GB, free: 3.363 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003269/1.268, allocations: 333.1 kB / 1.577 GB, free: 3.035 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002473/1.268, allocations: 162.5 kB / 1.577 GB, free: 2.871 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.268, allocations: 338 kB / 1.577 GB, free: 2.535 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005366/1.268, allocations: 345.8 kB / 1.578 GB, free: 2.195 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006587/1.269, allocations: 485.9 kB / 1.578 GB, free: 1.684 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: 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.006197/1.275, allocations: 3.048 MB / 1.581 GB, free: 14.55 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.275, allocations: 0 / 1.581 GB, free: 14.55 MB / 1.264 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001758/1.277, allocations: 1.016 MB / 1.582 GB, free: 13.53 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/1.277, allocations: 14.28 kB / 1.582 GB, free: 13.52 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/1.277, allocations: 7.984 kB / 1.582 GB, free: 13.51 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/1.277, allocations: 4 kB / 1.582 GB, free: 13.51 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000749/1.278, allocations: 179.7 kB / 1.582 GB, free: 13.33 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/1.278, allocations: 11.94 kB / 1.582 GB, free: 13.32 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/1.279, allocations: 24 kB / 1.582 GB, free: 13.3 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.292e-05/1.279, allocations: 39.97 kB / 1.582 GB, free: 13.26 MB / 1.264 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.0006336/1.28, allocations: 377.7 kB / 1.583 GB, free: 12.88 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/1.28, allocations: 135.1 kB / 1.583 GB, free: 12.75 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/1.28, allocations: 148.3 kB / 1.583 GB, free: 12.6 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/1.28, allocations: 8 kB / 1.583 GB, free: 12.59 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/1.28, allocations: 4 kB / 1.583 GB, free: 12.59 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001572/1.282, allocations: 1.09 MB / 1.584 GB, free: 11.43 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005152/1.287, allocations: 3.048 MB / 1.587 GB, free: 8.195 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/1.287, allocations: 8 kB / 1.587 GB, free: 8.188 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007238/1.288, allocations: 171.7 kB / 1.587 GB, free: 8.02 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000398/1.288, allocations: 101.6 kB / 1.587 GB, free: 7.914 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-05/1.288, allocations: 28 kB / 1.587 GB, free: 7.887 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003011/1.291, allocations: 3.082 MB / 1.59 GB, free: 4.527 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/1.291, allocations: 15.94 kB / 1.59 GB, free: 4.512 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002671/1.294, allocations: 1.746 MB / 1.592 GB, free: 2.629 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006643/1.294, allocations: 312.2 kB / 1.592 GB, free: 2.305 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/1.295, allocations: 31.92 kB / 1.592 GB, free: 2.273 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/1.296, allocations: 45.86 kB / 1.592 GB, free: 2.23 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/1.296, allocations: 88.25 kB / 1.592 GB, free: 2.145 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/1.296, allocations: 47.97 kB / 1.592 GB, free: 2.098 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001105/1.297, allocations: 0.6956 MB / 1.593 GB, free: 1.395 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/1.297, allocations: 0 / 1.593 GB, free: 1.395 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.00137/1.298, allocations: 375.9 kB / 1.594 GB, free: 1.027 MB / 1.264 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.003291/1.302, allocations: 2.415 MB / 1.596 GB, free: 14.46 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001615/1.303, allocations: 0.8129 MB / 1.597 GB, free: 13.65 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/1.303, allocations: 4 kB / 1.597 GB, free: 13.65 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.00122/1.305, allocations: 0.65 MB / 1.597 GB, free: 12.97 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005051/1.31, allocations: 0.9207 MB / 1.598 GB, free: 12.07 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/1.324, allocations: 9.722 MB / 1.608 GB, free: 1.91 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/1.325, allocations: 1.253 MB / 1.609 GB, free: 0.625 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001182/1.327, allocations: 343 kB / 1.609 GB, free: 292 kB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007194/1.327, allocations: 471.3 kB / 1.61 GB, free: 15.82 MB / 1.295 GB Notification: Performance of SimCode: time 6.31e-07/1.327, allocations: 0 / 1.61 GB, free: 15.82 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07666/1.404, allocations: 38.63 MB / 1.647 GB, free: 9.73 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/13.61, allocations: 5.703 kB / 1.647 GB, free: 9.727 MB / 1.326 GB " [Timeout remaining time 286] (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.851356701983605]