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.006764/0.006764, allocations: 100.1 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.001551/0.001551, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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.297/2.297, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 63.28 kB / 0.9504 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2597, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.8114/1.071, allocations: 181.9 MB / 1.265 GB, free: 3.184 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.013/1.084, allocations: 5.359 MB / 1.27 GB, free: 3.145 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001724/1.086, allocations: 37.95 kB / 1.27 GB, free: 3.145 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00185/1.088, allocations: 435.8 kB / 1.271 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007208/1.095, allocations: 1.681 MB / 1.272 GB, free: 3.07 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003671/1.099, allocations: 0.795 MB / 1.273 GB, free: 3.055 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005266/1.104, allocations: 2.202 MB / 1.275 GB, free: 3.047 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001778/1.106, allocations: 0.6838 MB / 1.276 GB, free: 2.992 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002695/1.109, allocations: 0.7623 MB / 1.277 GB, free: 2.992 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003499/1.112, allocations: 0.6949 MB / 1.277 GB, free: 2.984 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005307/1.113, allocations: 76.22 kB / 1.277 GB, free: 2.984 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00689/1.12, allocations: 1.399 MB / 1.279 GB, free: 2.969 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009581/1.121, allocations: 323.8 kB / 1.279 GB, free: 2.965 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001844/1.122, allocations: 469 kB / 1.28 GB, free: 2.965 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005725/1.128, allocations: 1.663 MB / 1.281 GB, free: 2.875 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/1.128, allocations: 1.5 kB / 1.281 GB, free: 2.875 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.726e-06/1.128, allocations: 0 / 1.281 GB, free: 2.875 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.391e-05/1.128, allocations: 0.8438 kB / 1.281 GB, free: 2.875 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.004398/1.133, allocations: 1.188 MB / 1.282 GB, free: 2.191 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.898e-05/1.133, allocations: 9.859 kB / 1.282 GB, free: 2.191 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003281/1.133, allocations: 100.9 kB / 1.282 GB, free: 2.152 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002542/1.136, allocations: 271.6 kB / 1.283 GB, free: 2.109 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/1.137, allocations: 0.7092 MB / 1.283 GB, free: 1.816 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.849e-05/1.137, allocations: 47.28 kB / 1.283 GB, free: 1.816 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/1.138, allocations: 58.31 kB / 1.284 GB, free: 1.816 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/1.139, allocations: 0.5894 MB / 1.284 GB, free: 1.766 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/1.139, allocations: 1.062 kB / 1.284 GB, free: 1.766 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.118e-05/1.139, allocations: 23.34 kB / 1.284 GB, free: 1.766 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.838e-05/1.139, allocations: 23.42 kB / 1.284 GB, free: 1.766 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/1.14, allocations: 0.501 MB / 1.285 GB, free: 1.758 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.004253/1.144, allocations: 2.37 MB / 1.287 GB, free: 16.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008244/1.145, allocations: 432.3 kB / 1.287 GB, free: 16.65 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003538/1.146, allocations: 220.9 kB / 1.288 GB, free: 16.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001997/1.146, allocations: 98.28 kB / 1.288 GB, free: 16.55 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/1.146, allocations: 36.98 kB / 1.288 GB, free: 16.51 MB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 3.256e-06/1.146, allocations: 2.375 kB / 1.288 GB, free: 16.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=48): time 0.003324/1.149, allocations: 1.441 MB / 1.289 GB, free: 16.1 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/1.149, allocations: 60.39 kB / 1.289 GB, free: 16.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007899/1.15, allocations: 0.5415 MB / 1.29 GB, free: 15.92 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.879e-05/1.15, allocations: 36.36 kB / 1.29 GB, free: 15.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/1.15, allocations: 332.5 kB / 1.29 GB, free: 15.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/1.151, allocations: 171.3 kB / 1.29 GB, free: 15.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/1.151, allocations: 86.84 kB / 1.29 GB, free: 15.61 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001753/1.151, allocations: 374.2 kB / 1.291 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/1.151, allocations: 173.8 kB / 1.291 GB, free: 15.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003865/1.152, allocations: 260.4 kB / 1.291 GB, free: 15.23 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.003393/1.155, allocations: 1.446 MB / 1.293 GB, free: 14.97 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.155, allocations: 0 / 1.293 GB, free: 14.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009078/1.156, allocations: 0.5396 MB / 1.293 GB, free: 14.89 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.156, allocations: 4.969 kB / 1.293 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/1.156, allocations: 5.188 kB / 1.293 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/1.156, allocations: 4.781 kB / 1.293 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/1.156, allocations: 93.27 kB / 1.293 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/1.157, allocations: 4.094 kB / 1.293 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006622/1.157, allocations: 20.52 kB / 1.293 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/1.157, allocations: 17.08 kB / 1.293 GB, free: 14.88 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.0003868/1.158, allocations: 248.9 kB / 1.293 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/1.158, allocations: 66.44 kB / 1.293 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/1.158, allocations: 79.83 kB / 1.294 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/1.158, allocations: 5.281 kB / 1.294 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/1.158, allocations: 0 / 1.294 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007165/1.159, allocations: 0.5097 MB / 1.294 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002733/1.161, allocations: 1.595 MB / 1.296 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/1.161, allocations: 6.094 kB / 1.296 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005343/1.162, allocations: 113.7 kB / 1.296 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.25e-05/1.162, allocations: 8.438 kB / 1.296 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.785e-05/1.162, allocations: 16.41 kB / 1.296 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.718e-06/1.162, allocations: 7.906 kB / 1.296 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/1.162, allocations: 10.62 kB / 1.296 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/1.163, allocations: 0.8974 MB / 1.297 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003967/1.164, allocations: 200.9 kB / 1.297 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/1.164, allocations: 18 kB / 1.297 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005818/1.165, allocations: 22.17 kB / 1.297 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.837e-05/1.165, allocations: 42.97 kB / 1.297 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.113e-05/1.165, allocations: 28.03 kB / 1.297 GB, free: 13.61 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005387/1.165, allocations: 396 kB / 1.297 GB, free: 13.52 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.165, allocations: 0.875 kB / 1.297 GB, free: 13.52 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008345/1.166, allocations: 196.5 kB / 1.298 GB, free: 13.52 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.001909/1.168, allocations: 1.539 MB / 1.299 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008128/1.169, allocations: 452.8 kB / 1.299 GB, free: 12.63 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/1.169, allocations: 1.188 kB / 1.299 GB, free: 12.63 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003603/1.169, allocations: 233 kB / 1.3 GB, free: 12.63 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/1.172, allocations: 490.6 kB / 1.3 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008159/1.18, allocations: 5.469 MB / 1.305 GB, free: 10.49 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000705/1.18, allocations: 0.9752 MB / 1.306 GB, free: 9.781 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000744/1.181, allocations: 168.4 kB / 1.307 GB, free: 9.734 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00037/1.182, allocations: 249.5 kB / 1.307 GB, free: 9.727 MB / 1.029 GB Notification: Performance of SimCode: time 7.21e-07/1.182, allocations: 0 / 1.307 GB, free: 9.727 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04807/1.23, allocations: 20.7 MB / 1.327 GB, free: 7.867 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.465/9.695, allocations: 8.344 kB / 1.327 GB, free: 7.863 MB / 1.029 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