Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007475/0.007475, allocations: 96.7 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00217/0.00217, allocations: 198.6 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.238/1.238, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.488/2.488, allocations: 482.6 MB / 0.755 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 67.89 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2531, allocations: 162.3 MB / 1.242 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.6301/0.8833, allocations: 181.9 MB / 1.42 GB, free: 12.35 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.007168/0.8905, allocations: 5.366 MB / 1.425 GB, free: 7.984 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004021/0.8909, allocations: 34.97 kB / 1.425 GB, free: 7.973 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0009054/0.8919, allocations: 442.5 kB / 1.425 GB, free: 7.609 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002935/0.8948, allocations: 1.674 MB / 1.427 GB, free: 6.309 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.8962, allocations: 0.8066 MB / 1.428 GB, free: 5.688 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002026/0.8983, allocations: 2.206 MB / 1.43 GB, free: 4.41 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007275/0.899, allocations: 0.678 MB / 1.43 GB, free: 3.984 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.9002, allocations: 0.9317 MB / 1.431 GB, free: 3.438 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.9015, allocations: 0.691 MB / 1.432 GB, free: 3.035 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 9.388e-05/0.9016, allocations: 76.78 kB / 1.432 GB, free: 3.035 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/0.9034, allocations: 1.382 MB / 1.433 GB, free: 2.285 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002863/0.9037, allocations: 323.6 kB / 1.434 GB, free: 2.066 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0004278/0.9042, allocations: 470.4 kB / 1.434 GB, free: 1.77 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.906, allocations: 1.672 MB / 1.436 GB, free: 0.5625 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.906, allocations: 4 kB / 1.436 GB, free: 0.5586 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.444e-06/0.906, allocations: 0 / 1.436 GB, free: 0.5586 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.906, allocations: 3.938 kB / 1.436 GB, free: 0.5547 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001558/0.9076, allocations: 1.206 MB / 1.437 GB, free: 15.29 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.9076, allocations: 8.031 kB / 1.437 GB, free: 15.29 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000113/0.9078, allocations: 102.5 kB / 1.437 GB, free: 15.18 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001595/0.9094, allocations: 275.2 kB / 1.437 GB, free: 14.91 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000985/0.9104, allocations: 0.7183 MB / 1.438 GB, free: 14.15 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.072e-05/0.9104, allocations: 45.31 kB / 1.438 GB, free: 14.11 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.59e-05/0.9105, allocations: 56 kB / 1.438 GB, free: 14.05 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009116/0.9114, allocations: 0.5843 MB / 1.439 GB, free: 13.46 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.9114, allocations: 0 / 1.439 GB, free: 13.46 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.521e-05/0.9115, allocations: 24 kB / 1.439 GB, free: 13.43 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.163e-05/0.9115, allocations: 25.3 kB / 1.439 GB, free: 13.41 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008149/0.9124, allocations: 0.5048 MB / 1.439 GB, free: 12.91 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002846/0.9152, allocations: 2.535 MB / 1.442 GB, free: 10.14 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007203/0.9159, allocations: 421.1 kB / 1.442 GB, free: 9.727 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003212/0.9163, allocations: 224.8 kB / 1.442 GB, free: 9.504 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001576/0.9164, allocations: 93.09 kB / 1.442 GB, free: 9.395 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.9165, allocations: 42.56 kB / 1.443 GB, free: 9.344 MB / 1.139 GB Notification: Performance of pre-optimization done (n=43): time 1.413e-06/0.9165, allocations: 0 / 1.443 GB, free: 9.344 MB / 1.139 GB Notification: Performance of matching and sorting (n=48): time 0.002541/0.919, allocations: 1.463 MB / 1.444 GB, free: 7.828 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.9191, allocations: 55.84 kB / 1.444 GB, free: 7.762 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005707/0.9197, allocations: 0.5383 MB / 1.445 GB, free: 7.211 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.98e-05/0.9197, allocations: 37.7 kB / 1.445 GB, free: 7.168 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/0.9199, allocations: 329.1 kB / 1.445 GB, free: 6.844 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.9201, allocations: 182.4 kB / 1.445 GB, free: 6.664 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.9202, allocations: 86.22 kB / 1.445 GB, free: 6.574 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.9204, allocations: 374.7 kB / 1.446 GB, free: 6.199 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.9207, allocations: 181 kB / 1.446 GB, free: 6.02 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.921, allocations: 252.8 kB / 1.446 GB, free: 5.75 MB / 1.139 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.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: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003082/0.9241, allocations: 1.447 MB / 1.447 GB, free: 4.25 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.9241, allocations: 0.75 kB / 1.447 GB, free: 4.25 MB / 1.139 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007863/0.9249, allocations: 0.5307 MB / 1.448 GB, free: 3.711 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.925, allocations: 4 kB / 1.448 GB, free: 3.707 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.925, allocations: 7.938 kB / 1.448 GB, free: 3.699 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.925, allocations: 0 / 1.448 GB, free: 3.699 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.9254, allocations: 95.94 kB / 1.448 GB, free: 3.605 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.9254, allocations: 4 kB / 1.448 GB, free: 3.602 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004919/0.9259, allocations: 25.2 kB / 1.448 GB, free: 3.578 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/0.9259, allocations: 27.92 kB / 1.448 GB, free: 3.551 MB / 1.139 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * 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.0002677/0.9262, allocations: 245.7 kB / 1.448 GB, free: 3.301 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.9263, allocations: 71.58 kB / 1.448 GB, free: 3.23 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.9264, allocations: 78.45 kB / 1.448 GB, free: 3.148 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.9265, allocations: 8 kB / 1.448 GB, free: 3.141 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.9265, allocations: 0 / 1.448 GB, free: 3.141 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006758/0.9271, allocations: 0.5067 MB / 1.449 GB, free: 2.605 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/0.9293, allocations: 1.589 MB / 1.45 GB, free: 0.8945 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.9293, allocations: 8.125 kB / 1.45 GB, free: 0.8867 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004743/0.9298, allocations: 111.9 kB / 1.451 GB, free: 0.7773 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.9298, allocations: 8 kB / 1.451 GB, free: 0.7695 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.514e-05/0.9298, allocations: 16 kB / 1.451 GB, free: 0.7539 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.9298, allocations: 11.94 kB / 1.451 GB, free: 0.7422 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.9298, allocations: 11.94 kB / 1.451 GB, free: 0.7305 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.931, allocations: 0.9107 MB / 1.451 GB, free: 15.74 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000229/0.9312, allocations: 196.6 kB / 1.452 GB, free: 15.53 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.819e-05/0.9313, allocations: 16 kB / 1.452 GB, free: 15.52 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004657/0.9318, allocations: 28.25 kB / 1.452 GB, free: 15.49 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.46e-05/0.9319, allocations: 47.77 kB / 1.452 GB, free: 15.45 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.9319, allocations: 24 kB / 1.452 GB, free: 15.42 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004193/0.9323, allocations: 394.8 kB / 1.452 GB, free: 15.04 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9323, allocations: 4 kB / 1.452 GB, free: 15.04 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005329/0.9329, allocations: 199.9 kB / 1.452 GB, free: 14.84 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.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 (49): * Single equations (assignments): 49 * 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 Backend phase and start with SimCode phase: time 0.00163/0.9345, allocations: 1.54 MB / 1.454 GB, free: 13.22 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0007004/0.9352, allocations: 445.2 kB / 1.454 GB, free: 12.79 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.9352, allocations: 3.938 kB / 1.454 GB, free: 12.79 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003392/0.9356, allocations: 241 kB / 1.455 GB, free: 12.55 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/0.9375, allocations: 500 kB / 1.455 GB, free: 12.08 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006423/0.944, allocations: 5.491 MB / 1.46 GB, free: 6.348 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000562/0.9445, allocations: 0.9811 MB / 1.461 GB, free: 5.336 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0004381/0.945, allocations: 157.9 kB / 1.461 GB, free: 5.18 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003268/0.9453, allocations: 251.3 kB / 1.462 GB, free: 4.938 MB / 1.154 GB Notification: Performance of SimCode: time 2.71e-07/0.9453, allocations: 0 / 1.462 GB, free: 4.938 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.153/4.098, allocations: 20.37 MB / 1.482 GB, free: 0.9062 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.32/13.42, allocations: 7.266 kB / 1.482 GB, free: 0.9062 MB / 1.17 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches