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.006592/0.006592, allocations: 101.2 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.001564/0.001565, allocations: 196.8 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.299/2.299, allocations: 390.2 MB / 0.6648 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 71.89 kB / 0.9504 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2752, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.8164/1.092, allocations: 190.6 MB / 1.274 GB, free: 3.188 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008764/1.1, allocations: 5.731 MB / 1.279 GB, free: 3.121 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/1.102, allocations: 39.97 kB / 1.279 GB, free: 3.121 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001436/1.103, allocations: 0.5765 MB / 1.28 GB, free: 3.113 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004479/1.108, allocations: 1.843 MB / 1.282 GB, free: 3.035 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003625/1.111, allocations: 1.191 MB / 1.283 GB, free: 3.004 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004784/1.116, allocations: 2.951 MB / 1.286 GB, free: 2.996 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/1.118, allocations: 0.9478 MB / 1.287 GB, free: 2.926 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002175/1.12, allocations: 1.07 MB / 1.288 GB, free: 2.926 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002065/1.122, allocations: 0.9144 MB / 1.289 GB, free: 2.926 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002073/1.122, allocations: 108.1 kB / 1.289 GB, free: 2.926 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003311/1.125, allocations: 1.43 MB / 1.29 GB, free: 2.91 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005959/1.126, allocations: 461.9 kB / 1.29 GB, free: 2.906 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008865/1.127, allocations: 0.6528 MB / 1.291 GB, free: 2.906 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003818/1.131, allocations: 2.133 MB / 1.293 GB, free: 2.793 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.131, allocations: 1.094 kB / 1.293 GB, free: 2.793 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.104e-06/1.131, allocations: 0.8125 kB / 1.293 GB, free: 2.793 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.845e-05/1.131, allocations: 0 / 1.293 GB, free: 2.793 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002652/1.133, allocations: 1.51 MB / 1.295 GB, free: 2.02 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/1.133, allocations: 9.625 kB / 1.295 GB, free: 2.02 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001743/1.134, allocations: 143.9 kB / 1.295 GB, free: 1.98 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001952/1.136, allocations: 319.2 kB / 1.295 GB, free: 1.918 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/1.137, allocations: 0.853 MB / 1.296 GB, free: 1.594 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.306e-05/1.137, allocations: 65.81 kB / 1.296 GB, free: 1.59 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/1.137, allocations: 84.09 kB / 1.296 GB, free: 1.59 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/1.139, allocations: 0.9056 MB / 1.297 GB, free: 1.531 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/1.139, allocations: 0 / 1.297 GB, free: 1.531 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.648e-05/1.139, allocations: 41.19 kB / 1.297 GB, free: 1.531 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.921e-05/1.139, allocations: 32.5 kB / 1.297 GB, free: 1.531 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/1.14, allocations: 0.8315 MB / 1.298 GB, free: 1.52 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.005335/1.146, allocations: 3.509 MB / 1.301 GB, free: 16.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007113/1.147, allocations: 0.4897 MB / 1.302 GB, free: 16.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004264/1.147, allocations: 298.6 kB / 1.302 GB, free: 16.17 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001881/1.147, allocations: 106.9 kB / 1.302 GB, free: 16.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.148e-05/1.147, allocations: 50.5 kB / 1.302 GB, free: 16.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=47): time 1.833e-06/1.147, allocations: 2.688 kB / 1.302 GB, free: 16.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=49): time 0.003896/1.151, allocations: 1.92 MB / 1.304 GB, free: 15.36 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/1.151, allocations: 57.59 kB / 1.304 GB, free: 15.3 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009449/1.152, allocations: 0.8077 MB / 1.305 GB, free: 15.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.69e-05/1.152, allocations: 37.58 kB / 1.305 GB, free: 15.13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002971/1.153, allocations: 471.8 kB / 1.305 GB, free: 14.92 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/1.153, allocations: 172.6 kB / 1.306 GB, free: 14.81 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/1.153, allocations: 113.8 kB / 1.306 GB, free: 14.79 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.153, allocations: 330.2 kB / 1.306 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004374/1.154, allocations: 241.9 kB / 1.306 GB, free: 14.49 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005268/1.154, allocations: 356.8 kB / 1.307 GB, free: 14.39 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003817/1.158, allocations: 1.536 MB / 1.308 GB, free: 14.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/1.158, allocations: 1.062 kB / 1.308 GB, free: 14.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001385/1.159, allocations: 0.7916 MB / 1.309 GB, free: 14.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/1.159, allocations: 9 kB / 1.309 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/1.159, allocations: 3.562 kB / 1.309 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003027/1.16, allocations: 95.34 kB / 1.309 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006463/1.16, allocations: 146.6 kB / 1.309 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003238/1.164, allocations: 3.286 MB / 1.312 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009116/1.164, allocations: 27.38 kB / 1.312 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-05/1.165, allocations: 21.59 kB / 1.312 GB, free: 11.35 MB / 1.029 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.00058/1.165, allocations: 307.6 kB / 1.313 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002626/1.165, allocations: 95.69 kB / 1.313 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/1.166, allocations: 100.6 kB / 1.313 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/1.166, allocations: 12.28 kB / 1.313 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/1.166, allocations: 0 / 1.313 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00107/1.167, allocations: 0.8382 MB / 1.314 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002984/1.17, allocations: 1.795 MB / 1.315 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.17, allocations: 7.812 kB / 1.315 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000587/1.17, allocations: 126.5 kB / 1.316 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002192/1.171, allocations: 69.44 kB / 1.316 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-05/1.171, allocations: 17.16 kB / 1.316 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/1.172, allocations: 1.783 MB / 1.317 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/1.172, allocations: 10.69 kB / 1.317 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/1.174, allocations: 1.072 MB / 1.318 GB, free: 8.609 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005656/1.175, allocations: 232.7 kB / 1.319 GB, free: 8.473 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/1.175, allocations: 17.03 kB / 1.319 GB, free: 8.473 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006538/1.175, allocations: 28.39 kB / 1.319 GB, free: 8.473 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/1.175, allocations: 48.98 kB / 1.319 GB, free: 8.465 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.796e-05/1.176, allocations: 32.42 kB / 1.319 GB, free: 8.465 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007031/1.176, allocations: 0.5598 MB / 1.319 GB, free: 8.371 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.176, allocations: 0.9375 kB / 1.319 GB, free: 8.371 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00098/1.177, allocations: 277.4 kB / 1.32 GB, free: 8.371 MB / 1.029 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.002202/1.179, allocations: 1.711 MB / 1.321 GB, free: 7.535 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001306/1.181, allocations: 0.7981 MB / 1.322 GB, free: 7.301 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.181, allocations: 3.656 kB / 1.322 GB, free: 7.301 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005629/1.181, allocations: 422 kB / 1.322 GB, free: 7.176 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002688/1.184, allocations: 0.6123 MB / 1.323 GB, free: 7.098 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00888/1.193, allocations: 6.969 MB / 1.33 GB, free: 4.762 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000624/1.194, allocations: 1.084 MB / 1.331 GB, free: 4.047 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009011/1.195, allocations: 209.6 kB / 1.331 GB, free: 3.996 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003866/1.195, allocations: 348.3 kB / 1.331 GB, free: 3.984 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/1.195, allocations: 0 / 1.331 GB, free: 3.984 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06264/1.258, allocations: 28.5 MB / 1.359 GB, free: 11.39 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/14.03, allocations: 1.906 kB / 1.359 GB, free: 11.39 MB / 1.045 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