Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.005507/0.005507, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001291/0.00129, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.248/1.248, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.035/2.035, allocations: 390.3 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 67.89 kB / 0.9504 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8273/0.8286, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2274/1.056, allocations: 190.6 MB / 1.274 GB, free: 15.07 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009634/1.066, allocations: 5.743 MB / 1.279 GB, free: 9.316 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/1.067, allocations: 43.75 kB / 1.279 GB, free: 9.273 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001734/1.069, allocations: 0.6059 MB / 1.28 GB, free: 8.664 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004851/1.074, allocations: 1.91 MB / 1.282 GB, free: 6.746 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003327/1.077, allocations: 1.195 MB / 1.283 GB, free: 5.559 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00423/1.081, allocations: 2.955 MB / 1.286 GB, free: 2.598 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001774/1.083, allocations: 0.9537 MB / 1.287 GB, free: 1.633 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002308/1.086, allocations: 1.098 MB / 1.288 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002228/1.088, allocations: 0.9159 MB / 1.289 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003864/1.088, allocations: 112 kB / 1.289 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00319/1.091, allocations: 1.434 MB / 1.29 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005939/1.092, allocations: 462.8 kB / 1.291 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0008887/1.093, allocations: 0.6495 MB / 1.291 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003035/1.096, allocations: 2.138 MB / 1.293 GB, free: 10.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.096, allocations: 0 / 1.293 GB, free: 10.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.234e-06/1.096, allocations: 3.938 kB / 1.293 GB, free: 10.81 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.529e-05/1.096, allocations: 0 / 1.293 GB, free: 10.81 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002448/1.099, allocations: 1.515 MB / 1.295 GB, free: 9.246 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/1.099, allocations: 12.03 kB / 1.295 GB, free: 9.234 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001771/1.099, allocations: 139.2 kB / 1.295 GB, free: 9.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/1.101, allocations: 314.3 kB / 1.295 GB, free: 8.781 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/1.102, allocations: 0.8552 MB / 1.296 GB, free: 7.883 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.763e-05/1.102, allocations: 62 kB / 1.296 GB, free: 7.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/1.102, allocations: 80 kB / 1.296 GB, free: 7.742 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/1.104, allocations: 0.9169 MB / 1.297 GB, free: 6.816 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/1.104, allocations: 0 / 1.297 GB, free: 6.816 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.963e-05/1.104, allocations: 36 kB / 1.297 GB, free: 6.781 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-05/1.104, allocations: 37.98 kB / 1.297 GB, free: 6.746 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/1.105, allocations: 0.8237 MB / 1.298 GB, free: 5.922 MB / 1.029 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.004954/1.11, allocations: 3.502 MB / 1.301 GB, free: 2.199 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007679/1.111, allocations: 0.4936 MB / 1.302 GB, free: 1.699 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004424/1.111, allocations: 295 kB / 1.302 GB, free: 1.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/1.112, allocations: 101.5 kB / 1.302 GB, free: 1.293 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/1.112, allocations: 46.88 kB / 1.302 GB, free: 1.238 MB / 1.029 GB Notification: Performance of pre-optimization done (n=47): time 2.635e-06/1.112, allocations: 0 / 1.302 GB, free: 1.238 MB / 1.029 GB Notification: Performance of matching and sorting (n=49): time 0.003861/1.115, allocations: 1.923 MB / 1.304 GB, free: 15.21 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/1.116, allocations: 59.84 kB / 1.304 GB, free: 15.14 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009557/1.116, allocations: 0.8097 MB / 1.305 GB, free: 14.32 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.251e-05/1.117, allocations: 37.7 kB / 1.305 GB, free: 14.28 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/1.117, allocations: 467.4 kB / 1.306 GB, free: 13.82 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/1.117, allocations: 177.5 kB / 1.306 GB, free: 13.64 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/1.117, allocations: 110.2 kB / 1.306 GB, free: 13.53 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001413/1.117, allocations: 333.9 kB / 1.306 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004313/1.118, allocations: 245.2 kB / 1.306 GB, free: 12.96 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000496/1.118, allocations: 353.2 kB / 1.307 GB, free: 12.57 MB / 1.045 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00353/1.122, allocations: 1.534 MB / 1.308 GB, free: 10.99 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.122, allocations: 0 / 1.308 GB, free: 10.99 MB / 1.045 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0013/1.123, allocations: 0.7922 MB / 1.309 GB, free: 10.18 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/1.123, allocations: 4 kB / 1.309 GB, free: 10.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/1.123, allocations: 4 kB / 1.309 GB, free: 10.17 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003054/1.124, allocations: 97.94 kB / 1.309 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006272/1.124, allocations: 143.8 kB / 1.309 GB, free: 9.934 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002903/1.127, allocations: 3.289 MB / 1.312 GB, free: 6.363 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006919/1.128, allocations: 31.92 kB / 1.312 GB, free: 6.332 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/1.128, allocations: 28.05 kB / 1.312 GB, free: 6.305 MB / 1.045 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004474/1.128, allocations: 302 kB / 1.313 GB, free: 6 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/1.128, allocations: 94.88 kB / 1.313 GB, free: 5.906 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/1.129, allocations: 100.7 kB / 1.313 GB, free: 5.809 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/1.129, allocations: 8 kB / 1.313 GB, free: 5.801 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.129, allocations: 0 / 1.313 GB, free: 5.801 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009869/1.13, allocations: 0.8465 MB / 1.314 GB, free: 4.863 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002633/1.132, allocations: 1.786 MB / 1.316 GB, free: 2.973 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/1.132, allocations: 8.344 kB / 1.316 GB, free: 2.965 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005649/1.133, allocations: 127.9 kB / 1.316 GB, free: 2.84 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002136/1.133, allocations: 64.8 kB / 1.316 GB, free: 2.773 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/1.133, allocations: 19.94 kB / 1.316 GB, free: 2.754 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/1.135, allocations: 1.785 MB / 1.317 GB, free: 0.832 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.135, allocations: 4 kB / 1.317 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/1.136, allocations: 1.066 MB / 1.319 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003206/1.137, allocations: 240 kB / 1.319 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.173e-05/1.137, allocations: 16 kB / 1.319 GB, free: 15.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006184/1.137, allocations: 30.59 kB / 1.319 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/1.137, allocations: 51.81 kB / 1.319 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.792e-05/1.137, allocations: 27.98 kB / 1.319 GB, free: 15.33 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006462/1.138, allocations: 0.5615 MB / 1.319 GB, free: 14.77 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/1.138, allocations: 0 / 1.319 GB, free: 14.77 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007711/1.139, allocations: 276 kB / 1.32 GB, free: 14.5 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.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 (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002039/1.141, allocations: 1.713 MB / 1.321 GB, free: 12.73 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001221/1.142, allocations: 0.7926 MB / 1.322 GB, free: 11.91 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.142, allocations: 8.188 kB / 1.322 GB, free: 11.9 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005443/1.143, allocations: 414.3 kB / 1.323 GB, free: 11.48 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/1.145, allocations: 0.6173 MB / 1.323 GB, free: 10.88 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009212/1.154, allocations: 6.963 MB / 1.33 GB, free: 3.625 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000736/1.155, allocations: 1.084 MB / 1.331 GB, free: 2.512 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0007608/1.156, allocations: 211.7 kB / 1.331 GB, free: 2.301 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004484/1.156, allocations: 347.3 kB / 1.332 GB, free: 1.961 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/1.156, allocations: 0 / 1.332 GB, free: 1.961 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06073/1.217, allocations: 28.02 MB / 1.359 GB, free: 6.453 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/13.48, allocations: 5.578 kB / 1.359 GB, free: 6.453 MB / 1.092 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches