Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.001255/0.001255, allocations: 109.4 kB / 16.46 MB, free: 6.035 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.00129/0.00129, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.417/1.417, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] 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 3.079/3.079, allocations: 497.2 MB / 0.7811 GB, free: 33.5 MB / 0.6231 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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 69.88 kB / 1.134 GB, free: 33.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3546, allocations: 173.9 MB / 1.304 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2397/0.5943, allocations: 210.8 MB / 1.51 GB, free: 13.98 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01576/0.6101, allocations: 9.9 MB / 1.519 GB, free: 4.07 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00228/0.6124, allocations: 63.69 kB / 1.52 GB, free: 4.008 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002543/0.6149, allocations: 0.8155 MB / 1.52 GB, free: 3.188 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00804/0.623, allocations: 2.917 MB / 1.523 GB, free: 264 kB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003864/0.6268, allocations: 1.389 MB / 1.525 GB, free: 14.88 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.005871/0.6327, allocations: 4.06 MB / 1.529 GB, free: 10.79 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001871/0.6346, allocations: 1.122 MB / 1.53 GB, free: 9.637 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004116/0.6387, allocations: 1.837 MB / 1.531 GB, free: 7.793 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003361/0.642, allocations: 1.292 MB / 1.533 GB, free: 6.504 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0004068/0.6424, allocations: 144 kB / 1.533 GB, free: 6.363 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005244/0.6477, allocations: 2.502 MB / 1.535 GB, free: 3.855 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0008349/0.6485, allocations: 0.627 MB / 1.536 GB, free: 3.227 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001256/0.6498, allocations: 0.8595 MB / 1.537 GB, free: 2.363 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004941/0.6547, allocations: 3.018 MB / 1.54 GB, free: 15.34 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6547, allocations: 0 / 1.54 GB, free: 15.34 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.492e-06/0.6547, allocations: 0 / 1.54 GB, free: 15.34 MB / 1.248 GB Notification: Performance of Transformations before backend: time 2.835e-05/0.6548, allocations: 0 / 1.54 GB, free: 15.34 MB / 1.248 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.00313/0.6579, allocations: 1.937 MB / 1.542 GB, free: 13.34 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.6579, allocations: 16.61 kB / 1.542 GB, free: 13.32 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002106/0.6581, allocations: 168.7 kB / 1.542 GB, free: 13.15 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003072/0.6612, allocations: 494.5 kB / 1.542 GB, free: 12.66 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002188/0.6634, allocations: 1.144 MB / 1.543 GB, free: 11.48 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.29e-05/0.6635, allocations: 90.12 kB / 1.543 GB, free: 11.39 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/0.6637, allocations: 112 kB / 1.543 GB, free: 11.28 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/0.6657, allocations: 1.149 MB / 1.545 GB, free: 10.1 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.6657, allocations: 4 kB / 1.545 GB, free: 10.09 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.6658, allocations: 40 kB / 1.545 GB, free: 10.05 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.14e-05/0.6659, allocations: 50.12 kB / 1.545 GB, free: 10 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.6677, allocations: 1.07 MB / 1.546 GB, free: 8.926 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00698/0.6747, allocations: 4.433 MB / 1.55 GB, free: 4.156 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.6759, allocations: 0.7667 MB / 1.551 GB, free: 3.383 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006734/0.6766, allocations: 458.8 kB / 1.551 GB, free: 2.934 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004484/0.677, allocations: 292.3 kB / 1.552 GB, free: 2.594 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.535e-05/0.6771, allocations: 55.5 kB / 1.552 GB, free: 2.527 MB / 1.248 GB Notification: Performance of pre-optimization done (n=83): time 2.926e-06/0.6771, allocations: 0 / 1.552 GB, free: 2.527 MB / 1.248 GB Notification: Performance of matching and sorting (n=89): time 0.00616/0.6832, allocations: 2.87 MB / 1.554 GB, free: 15.57 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.6833, allocations: 60.41 kB / 1.554 GB, free: 15.5 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.6846, allocations: 0.9755 MB / 1.555 GB, free: 14.51 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 9.224e-05/0.6847, allocations: 45.7 kB / 1.555 GB, free: 14.46 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004734/0.6852, allocations: 0.5482 MB / 1.556 GB, free: 13.91 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003111/0.6855, allocations: 333 kB / 1.556 GB, free: 13.58 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/0.6858, allocations: 158.6 kB / 1.556 GB, free: 13.41 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.6859, allocations: 341.9 kB / 1.557 GB, free: 13.07 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005412/0.6865, allocations: 341.8 kB / 1.557 GB, free: 12.74 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006729/0.6871, allocations: 488.7 kB / 1.558 GB, free: 12.23 MB / 1.264 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.006087/0.6932, allocations: 3.034 MB / 1.561 GB, free: 9.109 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.6932, allocations: 4 kB / 1.561 GB, free: 9.105 MB / 1.264 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001682/0.6949, allocations: 1.02 MB / 1.562 GB, free: 8.078 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.6949, allocations: 4 kB / 1.562 GB, free: 8.074 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.6949, allocations: 4 kB / 1.562 GB, free: 8.07 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/0.695, allocations: 8 kB / 1.562 GB, free: 8.062 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007411/0.6957, allocations: 183.7 kB / 1.562 GB, free: 7.883 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/0.6957, allocations: 8.312 kB / 1.562 GB, free: 7.875 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009305/0.6967, allocations: 31.98 kB / 1.562 GB, free: 7.844 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.914e-05/0.6967, allocations: 32 kB / 1.562 GB, free: 7.812 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.0006186/0.6974, allocations: 383.7 kB / 1.562 GB, free: 7.43 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/0.6976, allocations: 135.1 kB / 1.562 GB, free: 7.297 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.6979, allocations: 148.3 kB / 1.562 GB, free: 7.148 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.6979, allocations: 8 kB / 1.562 GB, free: 7.141 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.6979, allocations: 0 / 1.562 GB, free: 7.141 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001567/0.6994, allocations: 1.098 MB / 1.564 GB, free: 5.969 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004989/0.7044, allocations: 3.047 MB / 1.566 GB, free: 2.746 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.7044, allocations: 12 kB / 1.566 GB, free: 2.734 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007098/0.7052, allocations: 155.8 kB / 1.567 GB, free: 2.582 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003713/0.7055, allocations: 114.2 kB / 1.567 GB, free: 2.465 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.015e-05/0.7056, allocations: 28 kB / 1.567 GB, free: 2.438 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002742/0.7083, allocations: 3.087 MB / 1.57 GB, free: 15.07 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.688e-06/0.7083, allocations: 11.94 kB / 1.57 GB, free: 15.06 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002658/0.711, allocations: 1.738 MB / 1.571 GB, free: 13.19 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008607/0.7119, allocations: 320.2 kB / 1.572 GB, free: 12.86 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001876/0.712, allocations: 31.94 kB / 1.572 GB, free: 12.83 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008804/0.7129, allocations: 39.94 kB / 1.572 GB, free: 12.79 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.7131, allocations: 88.09 kB / 1.572 GB, free: 12.7 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.112e-05/0.7132, allocations: 47.98 kB / 1.572 GB, free: 12.66 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001024/0.7142, allocations: 0.6956 MB / 1.573 GB, free: 11.95 MB / 1.279 GB Notification: Performance of sort global known variables: time 7e-08/0.7142, allocations: 0 / 1.573 GB, free: 11.95 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001234/0.7154, allocations: 368 kB / 1.573 GB, free: 11.59 MB / 1.279 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.003569/0.719, allocations: 2.419 MB / 1.575 GB, free: 9.023 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001498/0.7205, allocations: 0.816 MB / 1.576 GB, free: 8.207 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.7205, allocations: 0 / 1.576 GB, free: 8.207 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.7215, allocations: 0.6611 MB / 1.577 GB, free: 7.523 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004145/0.7257, allocations: 0.9161 MB / 1.578 GB, free: 6.625 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/0.7395, allocations: 9.722 MB / 1.587 GB, free: 12.46 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009977/0.7405, allocations: 1.249 MB / 1.588 GB, free: 11.19 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001264/0.7418, allocations: 343 kB / 1.589 GB, free: 10.85 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006442/0.7424, allocations: 475.3 kB / 1.589 GB, free: 10.38 MB / 1.295 GB Notification: Performance of SimCode: time 9.22e-07/0.7424, allocations: 0 / 1.589 GB, free: 10.38 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7158/1.458, allocations: 38.6 MB / 1.627 GB, free: 309.2 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/14.27, allocations: 4.953 kB / 1.627 GB, free: 309.2 MB / 1.311 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.79344216827303]