Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_9_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.004884/0.004884, allocations: 100.2 kB / 15.73 MB, free: 6.012 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.00107/0.00107, allocations: 197.3 kB / 16.68 MB, free: 5.934 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.219/1.219, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.195/2.195, allocations: 390.3 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 67.91 kB / 0.9504 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6886/0.6898, allocations: 140.4 MB / 1.087 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1983/0.8881, allocations: 181.9 MB / 1.265 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008789/0.897, allocations: 5.366 MB / 1.27 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/0.8984, allocations: 35.81 kB / 1.27 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001628/0.9001, allocations: 441.4 kB / 1.271 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00495/0.9051, allocations: 1.668 MB / 1.272 GB, free: 288 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002223/0.9073, allocations: 0.8061 MB / 1.273 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002823/0.9102, allocations: 2.195 MB / 1.275 GB, free: 13.27 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.9114, allocations: 0.6813 MB / 1.276 GB, free: 12.58 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001542/0.9129, allocations: 0.7471 MB / 1.277 GB, free: 11.83 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001866/0.9148, allocations: 0.682 MB / 1.277 GB, free: 11.16 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000194/0.915, allocations: 76 kB / 1.277 GB, free: 11.08 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002743/0.9178, allocations: 1.399 MB / 1.279 GB, free: 9.68 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004189/0.9182, allocations: 315.2 kB / 1.279 GB, free: 9.371 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007895/0.919, allocations: 477.8 kB / 1.28 GB, free: 8.902 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002771/0.9218, allocations: 1.652 MB / 1.281 GB, free: 7.246 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.9218, allocations: 8 kB / 1.281 GB, free: 7.238 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.592e-06/0.9218, allocations: 0 / 1.281 GB, free: 7.238 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.416e-05/0.9219, allocations: 0 / 1.281 GB, free: 7.238 MB / 1.014 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.002087/0.924, allocations: 1.188 MB / 1.282 GB, free: 5.996 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.924, allocations: 12.03 kB / 1.282 GB, free: 5.984 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001361/0.9241, allocations: 102.5 kB / 1.282 GB, free: 5.875 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00185/0.926, allocations: 266.7 kB / 1.283 GB, free: 5.613 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.9272, allocations: 0.7138 MB / 1.283 GB, free: 4.859 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.935e-05/0.9273, allocations: 45.31 kB / 1.283 GB, free: 4.816 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.9274, allocations: 60 kB / 1.284 GB, free: 4.758 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009794/0.9284, allocations: 0.5804 MB / 1.284 GB, free: 4.168 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.9284, allocations: 0 / 1.284 GB, free: 4.168 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.809e-05/0.9285, allocations: 28 kB / 1.284 GB, free: 4.141 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.434e-05/0.9285, allocations: 21.31 kB / 1.284 GB, free: 4.121 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008562/0.9294, allocations: 0.497 MB / 1.285 GB, free: 3.625 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003171/0.9325, allocations: 2.38 MB / 1.287 GB, free: 1.055 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007699/0.9333, allocations: 430.8 kB / 1.287 GB, free: 0.625 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/0.9337, allocations: 220.7 kB / 1.288 GB, free: 416 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001719/0.9338, allocations: 101.1 kB / 1.288 GB, free: 296 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.9339, allocations: 38.56 kB / 1.288 GB, free: 248 kB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 1.513e-06/0.9339, allocations: 0 / 1.288 GB, free: 248 kB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.0028/0.9367, allocations: 1.441 MB / 1.289 GB, free: 14.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.9367, allocations: 59.78 kB / 1.289 GB, free: 14.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005755/0.9373, allocations: 0.5383 MB / 1.29 GB, free: 14.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.341e-05/0.9374, allocations: 33.7 kB / 1.29 GB, free: 14.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.9376, allocations: 328.6 kB / 1.29 GB, free: 13.76 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.9377, allocations: 173.5 kB / 1.29 GB, free: 13.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.9379, allocations: 86.25 kB / 1.29 GB, free: 13.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.938, allocations: 374.7 kB / 1.291 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/0.9383, allocations: 177 kB / 1.291 GB, free: 12.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000367/0.9387, allocations: 268.8 kB / 1.291 GB, free: 12.66 MB / 1.029 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.003196/0.9419, allocations: 1.44 MB / 1.292 GB, free: 11.17 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.9419, allocations: 7.938 kB / 1.292 GB, free: 11.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008562/0.9428, allocations: 0.5264 MB / 1.293 GB, free: 10.63 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.9428, allocations: 12.16 kB / 1.293 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.9428, allocations: 3.984 kB / 1.293 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.9429, allocations: 4 kB / 1.293 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.9433, allocations: 95.89 kB / 1.293 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.9433, allocations: 4 kB / 1.293 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005986/0.9439, allocations: 15.88 kB / 1.293 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.156e-05/0.9439, allocations: 19.98 kB / 1.293 GB, free: 10.48 MB / 1.029 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.0003289/0.9443, allocations: 253.6 kB / 1.293 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.9444, allocations: 71.25 kB / 1.293 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/0.9446, allocations: 78.45 kB / 1.294 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.9446, allocations: 4 kB / 1.294 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.9446, allocations: 0 / 1.294 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006837/0.9453, allocations: 0.5144 MB / 1.294 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/0.9477, allocations: 1.588 MB / 1.296 GB, free: 7.816 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.9477, allocations: 4 kB / 1.296 GB, free: 7.812 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005043/0.9482, allocations: 120.4 kB / 1.296 GB, free: 7.695 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.377e-06/0.9482, allocations: 11.94 kB / 1.296 GB, free: 7.684 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/0.9483, allocations: 16 kB / 1.296 GB, free: 7.668 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.287e-06/0.9483, allocations: 11.94 kB / 1.296 GB, free: 7.656 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.9483, allocations: 7.938 kB / 1.296 GB, free: 7.648 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.9494, allocations: 0.8984 MB / 1.297 GB, free: 6.672 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002984/0.9497, allocations: 200.2 kB / 1.297 GB, free: 6.457 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.958e-05/0.9498, allocations: 16 kB / 1.297 GB, free: 6.441 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005299/0.9504, allocations: 19.98 kB / 1.297 GB, free: 6.422 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.924e-05/0.9505, allocations: 51.77 kB / 1.297 GB, free: 6.371 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.267e-05/0.9505, allocations: 20 kB / 1.297 GB, free: 6.352 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004314/0.951, allocations: 394.8 kB / 1.297 GB, free: 5.969 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/0.951, allocations: 4 kB / 1.297 GB, free: 5.965 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006608/0.9516, allocations: 196 kB / 1.297 GB, free: 5.773 MB / 1.029 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.001672/0.9533, allocations: 1.537 MB / 1.299 GB, free: 4.16 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007736/0.9541, allocations: 445.5 kB / 1.299 GB, free: 3.727 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.9541, allocations: 4 kB / 1.299 GB, free: 3.723 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003684/0.9545, allocations: 231.6 kB / 1.3 GB, free: 3.496 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/0.9566, allocations: 492.9 kB / 1.3 GB, free: 3.027 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007107/0.9637, allocations: 5.461 MB / 1.305 GB, free: 13.33 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005651/0.9643, allocations: 0.9811 MB / 1.306 GB, free: 12.32 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0006068/0.9649, allocations: 169.8 kB / 1.307 GB, free: 12.15 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003553/0.9653, allocations: 247.4 kB / 1.307 GB, free: 11.91 MB / 1.045 GB Notification: Performance of SimCode: time 7.72e-07/0.9653, allocations: 4 kB / 1.307 GB, free: 11.9 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.746/6.711, allocations: 20.36 MB / 1.327 GB, free: 7.93 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.389/15.1, allocations: 0 / 1.327 GB, free: 7.93 MB / 1.061 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches