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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00926/0.00926, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001841/0.001841, allocations: 185.4 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.463/1.463, 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 11.0.1-master/package.mo): time 2.887/2.887, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 64.12 kB / 1.054 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3723, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.9159/1.288, allocations: 181.9 MB / 1.385 GB, free: 6.312 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01015/1.298, allocations: 5.361 MB / 1.39 GB, free: 1.949 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001866/1.3, allocations: 38.75 kB / 1.39 GB, free: 1.934 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001662/1.302, allocations: 438.3 kB / 1.391 GB, free: 1.574 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006898/1.309, allocations: 1.671 MB / 1.392 GB, free: 284 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002951/1.312, allocations: 0.8099 MB / 1.393 GB, free: 15.65 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004735/1.317, allocations: 2.192 MB / 1.395 GB, free: 14.39 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001761/1.319, allocations: 0.689 MB / 1.396 GB, free: 13.95 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002381/1.321, allocations: 0.7589 MB / 1.397 GB, free: 13.5 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00268/1.324, allocations: 0.677 MB / 1.397 GB, free: 13.12 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000437/1.324, allocations: 75.25 kB / 1.397 GB, free: 13.12 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004019/1.328, allocations: 1.396 MB / 1.399 GB, free: 12.36 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006486/1.329, allocations: 322.9 kB / 1.399 GB, free: 12.14 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00129/1.33, allocations: 478.9 kB / 1.399 GB, free: 11.83 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004061/1.334, allocations: 1.665 MB / 1.401 GB, free: 10.77 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/1.334, allocations: 0 / 1.401 GB, free: 10.77 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.154e-06/1.334, allocations: 0 / 1.401 GB, free: 10.77 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.168e-05/1.334, allocations: 0 / 1.401 GB, free: 10.77 MB / 1.092 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.002996/1.337, allocations: 1.188 MB / 1.402 GB, free: 9.824 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/1.337, allocations: 9.875 kB / 1.402 GB, free: 9.824 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002156/1.338, allocations: 104.1 kB / 1.402 GB, free: 9.734 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002109/1.34, allocations: 270.7 kB / 1.403 GB, free: 9.617 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/1.341, allocations: 0.7195 MB / 1.403 GB, free: 9.039 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.911e-05/1.341, allocations: 40.81 kB / 1.403 GB, free: 9.023 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/1.341, allocations: 59.38 kB / 1.403 GB, free: 9.004 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/1.343, allocations: 0.5829 MB / 1.404 GB, free: 8.664 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/1.343, allocations: 0 / 1.404 GB, free: 8.664 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.148e-05/1.343, allocations: 25.09 kB / 1.404 GB, free: 8.645 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/1.343, allocations: 26.45 kB / 1.404 GB, free: 8.641 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009045/1.344, allocations: 0.5025 MB / 1.404 GB, free: 8.395 MB / 1.092 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.003703/1.347, allocations: 2.375 MB / 1.407 GB, free: 6.383 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008319/1.348, allocations: 430.8 kB / 1.407 GB, free: 6.152 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003452/1.349, allocations: 217.9 kB / 1.407 GB, free: 6.043 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001955/1.349, allocations: 96.12 kB / 1.407 GB, free: 5.945 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/1.349, allocations: 45.27 kB / 1.408 GB, free: 5.895 MB / 1.092 GB Notification: Performance of pre-optimization done (n=43): time 1.963e-06/1.349, allocations: 2.188 kB / 1.408 GB, free: 5.895 MB / 1.092 GB Notification: Performance of matching and sorting (n=48): time 0.003299/1.352, allocations: 1.437 MB / 1.409 GB, free: 5 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/1.352, allocations: 60.34 kB / 1.409 GB, free: 4.934 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007255/1.353, allocations: 0.5428 MB / 1.41 GB, free: 4.613 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.54e-05/1.353, allocations: 40.33 kB / 1.41 GB, free: 4.57 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/1.353, allocations: 326.2 kB / 1.41 GB, free: 4.281 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/1.353, allocations: 171.9 kB / 1.41 GB, free: 4.133 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/1.354, allocations: 89.25 kB / 1.41 GB, free: 4.074 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001606/1.354, allocations: 373.5 kB / 1.41 GB, free: 3.715 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/1.354, allocations: 175.2 kB / 1.411 GB, free: 3.625 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003697/1.354, allocations: 266.4 kB / 1.411 GB, free: 3.449 MB / 1.092 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.003465/1.358, allocations: 1.438 MB / 1.412 GB, free: 2.598 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.358, allocations: 0 / 1.412 GB, free: 2.598 MB / 1.092 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009961/1.359, allocations: 0.5256 MB / 1.413 GB, free: 2.32 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/1.359, allocations: 5.281 kB / 1.413 GB, free: 2.32 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/1.359, allocations: 6.391 kB / 1.413 GB, free: 2.316 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/1.359, allocations: 2.125 kB / 1.413 GB, free: 2.316 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004315/1.359, allocations: 95.88 kB / 1.413 GB, free: 2.297 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/1.36, allocations: 4.312 kB / 1.413 GB, free: 2.297 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007343/1.36, allocations: 21.77 kB / 1.413 GB, free: 2.285 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.164e-05/1.36, allocations: 20.12 kB / 1.413 GB, free: 2.277 MB / 1.092 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.0004193/1.361, allocations: 252.3 kB / 1.413 GB, free: 2.082 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/1.361, allocations: 67.5 kB / 1.413 GB, free: 2.047 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000191/1.361, allocations: 82.27 kB / 1.413 GB, free: 1.988 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/1.361, allocations: 5.656 kB / 1.413 GB, free: 1.988 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/1.361, allocations: 3.938 kB / 1.413 GB, free: 1.984 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007148/1.362, allocations: 0.5075 MB / 1.414 GB, free: 1.641 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002758/1.365, allocations: 1.601 MB / 1.415 GB, free: 440 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/1.365, allocations: 5.312 kB / 1.415 GB, free: 440 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005405/1.365, allocations: 116 kB / 1.416 GB, free: 412 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/1.365, allocations: 7.25 kB / 1.416 GB, free: 412 kB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.486e-05/1.365, allocations: 18.19 kB / 1.416 GB, free: 404 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.106e-05/1.365, allocations: 10.3 kB / 1.416 GB, free: 400 kB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/1.365, allocations: 15.41 kB / 1.416 GB, free: 392 kB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/1.367, allocations: 0.8937 MB / 1.416 GB, free: 15.74 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004175/1.367, allocations: 198.3 kB / 1.417 GB, free: 15.57 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/1.367, allocations: 17.98 kB / 1.417 GB, free: 15.56 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000628/1.368, allocations: 18.12 kB / 1.417 GB, free: 15.55 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.057e-05/1.368, allocations: 49.2 kB / 1.417 GB, free: 15.52 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.977e-05/1.368, allocations: 25.75 kB / 1.417 GB, free: 15.51 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005429/1.369, allocations: 402 kB / 1.417 GB, free: 15.28 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.71e-07/1.369, allocations: 0 / 1.417 GB, free: 15.28 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008459/1.369, allocations: 199 kB / 1.417 GB, free: 15.26 MB / 1.107 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.00193/1.371, allocations: 1.527 MB / 1.419 GB, free: 13.84 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0009135/1.372, allocations: 449.2 kB / 1.419 GB, free: 13.4 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.372, allocations: 4 kB / 1.419 GB, free: 13.4 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0003834/1.373, allocations: 232.8 kB / 1.419 GB, free: 13.17 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002613/1.375, allocations: 498.5 kB / 1.42 GB, free: 12.69 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008865/1.384, allocations: 5.455 MB / 1.425 GB, free: 7 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007958/1.385, allocations: 0.9772 MB / 1.426 GB, free: 5.996 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0007785/1.386, allocations: 161.8 kB / 1.426 GB, free: 5.836 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004498/1.386, allocations: 251.4 kB / 1.427 GB, free: 5.59 MB / 1.107 GB Notification: Performance of SimCode: time 8.92e-07/1.386, allocations: 0 / 1.427 GB, free: 5.59 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05031/1.437, allocations: 20.7 MB / 1.447 GB, free: 1.23 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.288/10.72, allocations: 11.62 kB / 1.447 GB, free: 1.223 MB / 1.123 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=50 --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