Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_latest_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.008173/0.008173, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001853/0.001853, allocations: 196.8 kB / 16.68 MB, free: 5.926 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.665/2.665, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002382/0.002382, allocations: 63.91 kB / 1.054 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8808/0.8832, allocations: 157.4 MB / 1.207 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2083/1.092, allocations: 190.6 MB / 1.393 GB, free: 14.26 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01022/1.102, allocations: 5.74 MB / 1.399 GB, free: 8.512 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/1.104, allocations: 39.75 kB / 1.399 GB, free: 8.473 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001906/1.106, allocations: 0.5825 MB / 1.4 GB, free: 7.887 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005212/1.111, allocations: 1.843 MB / 1.401 GB, free: 6.035 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003388/1.114, allocations: 1.184 MB / 1.403 GB, free: 4.855 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004353/1.119, allocations: 2.954 MB / 1.405 GB, free: 1.891 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001834/1.12, allocations: 0.9537 MB / 1.406 GB, free: 0.9258 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002693/1.123, allocations: 1.066 MB / 1.407 GB, free: 15.85 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002462/1.126, allocations: 0.9161 MB / 1.408 GB, free: 14.94 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0004266/1.126, allocations: 108 kB / 1.408 GB, free: 14.84 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003891/1.13, allocations: 1.43 MB / 1.41 GB, free: 13.4 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0007806/1.131, allocations: 462.8 kB / 1.41 GB, free: 12.95 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001502/1.132, allocations: 0.6495 MB / 1.411 GB, free: 12.3 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004466/1.137, allocations: 2.138 MB / 1.413 GB, free: 10.15 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.137, allocations: 0 / 1.413 GB, free: 10.15 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.623e-06/1.137, allocations: 0 / 1.413 GB, free: 10.15 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.404e-05/1.137, allocations: 0 / 1.413 GB, free: 10.15 MB / 1.139 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.003327/1.14, allocations: 1.511 MB / 1.414 GB, free: 8.59 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/1.14, allocations: 16.02 kB / 1.414 GB, free: 8.574 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001688/1.14, allocations: 143.2 kB / 1.415 GB, free: 8.426 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/1.142, allocations: 306.4 kB / 1.415 GB, free: 8.125 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/1.144, allocations: 0.8591 MB / 1.416 GB, free: 7.223 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.059e-05/1.144, allocations: 66 kB / 1.416 GB, free: 7.156 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/1.144, allocations: 80 kB / 1.416 GB, free: 7.078 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/1.146, allocations: 0.9091 MB / 1.417 GB, free: 6.164 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/1.146, allocations: 0 / 1.417 GB, free: 6.164 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.922e-05/1.146, allocations: 36 kB / 1.417 GB, free: 6.129 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.819e-05/1.146, allocations: 34 kB / 1.417 GB, free: 6.098 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/1.148, allocations: 0.8314 MB / 1.418 GB, free: 5.262 MB / 1.139 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.005885/1.154, allocations: 3.509 MB / 1.421 GB, free: 1.535 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008318/1.154, allocations: 0.4964 MB / 1.422 GB, free: 1.031 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000439/1.155, allocations: 295.3 kB / 1.422 GB, free: 0.7422 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001869/1.155, allocations: 101.5 kB / 1.422 GB, free: 0.625 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.504e-05/1.155, allocations: 39 kB / 1.422 GB, free: 0.5742 MB / 1.139 GB Notification: Performance of pre-optimization done (n=47): time 2.084e-06/1.155, allocations: 0 / 1.422 GB, free: 0.5742 MB / 1.139 GB Notification: Performance of matching and sorting (n=49): time 0.004404/1.159, allocations: 1.919 MB / 1.424 GB, free: 14.56 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/1.16, allocations: 55.84 kB / 1.424 GB, free: 14.5 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/1.161, allocations: 0.8135 MB / 1.425 GB, free: 13.68 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.903e-05/1.161, allocations: 37.7 kB / 1.425 GB, free: 13.63 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004257/1.161, allocations: 471.4 kB / 1.425 GB, free: 13.16 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/1.162, allocations: 173.5 kB / 1.425 GB, free: 12.99 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002566/1.162, allocations: 114.2 kB / 1.425 GB, free: 12.88 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001239/1.162, allocations: 329.9 kB / 1.426 GB, free: 12.55 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004392/1.162, allocations: 245.1 kB / 1.426 GB, free: 12.3 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005835/1.163, allocations: 357.2 kB / 1.426 GB, free: 11.92 MB / 1.154 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.003653/1.167, allocations: 1.534 MB / 1.428 GB, free: 10.33 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/1.167, allocations: 0 / 1.428 GB, free: 10.33 MB / 1.154 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001406/1.168, allocations: 0.7845 MB / 1.429 GB, free: 9.535 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/1.168, allocations: 7.984 kB / 1.429 GB, free: 9.527 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.168, allocations: 4 kB / 1.429 GB, free: 9.523 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002969/1.168, allocations: 98 kB / 1.429 GB, free: 9.422 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000624/1.169, allocations: 143.8 kB / 1.429 GB, free: 9.281 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003374/1.172, allocations: 3.294 MB / 1.432 GB, free: 5.703 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000797/1.173, allocations: 31.83 kB / 1.432 GB, free: 5.672 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.754e-05/1.173, allocations: 20 kB / 1.432 GB, free: 5.652 MB / 1.154 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.000541/1.174, allocations: 307 kB / 1.432 GB, free: 5.344 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/1.174, allocations: 86.97 kB / 1.433 GB, free: 5.258 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/1.174, allocations: 104.7 kB / 1.433 GB, free: 5.156 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/1.174, allocations: 4 kB / 1.433 GB, free: 5.152 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/1.174, allocations: 7.984 kB / 1.433 GB, free: 5.145 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001077/1.175, allocations: 0.8465 MB / 1.433 GB, free: 4.207 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002843/1.178, allocations: 1.787 MB / 1.435 GB, free: 2.32 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/1.178, allocations: 4 kB / 1.435 GB, free: 2.316 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006495/1.179, allocations: 128.4 kB / 1.435 GB, free: 2.191 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002201/1.179, allocations: 72.8 kB / 1.435 GB, free: 2.117 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/1.179, allocations: 16 kB / 1.435 GB, free: 2.102 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/1.181, allocations: 1.773 MB / 1.437 GB, free: 192 kB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/1.181, allocations: 7.938 kB / 1.437 GB, free: 184 kB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/1.182, allocations: 1.066 MB / 1.438 GB, free: 15.06 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003794/1.183, allocations: 240 kB / 1.438 GB, free: 14.8 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/1.183, allocations: 15.98 kB / 1.438 GB, free: 14.79 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007029/1.184, allocations: 28.17 kB / 1.438 GB, free: 14.76 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.93e-05/1.184, allocations: 47.83 kB / 1.438 GB, free: 14.71 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.724e-05/1.184, allocations: 31.98 kB / 1.439 GB, free: 14.68 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000808/1.185, allocations: 0.5576 MB / 1.439 GB, free: 14.13 MB / 1.17 GB Notification: Performance of sort global known variables: time 3.1e-07/1.185, allocations: 4 kB / 1.439 GB, free: 14.12 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009442/1.186, allocations: 280 kB / 1.439 GB, free: 13.85 MB / 1.17 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.002326/1.188, allocations: 1.716 MB / 1.441 GB, free: 12.07 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001341/1.189, allocations: 0.8048 MB / 1.442 GB, free: 11.24 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.189, allocations: 64 / 1.442 GB, free: 11.24 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0005844/1.19, allocations: 418.1 kB / 1.442 GB, free: 10.82 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002521/1.192, allocations: 0.6132 MB / 1.443 GB, free: 10.23 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/1.203, allocations: 6.967 MB / 1.45 GB, free: 2.969 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009172/1.204, allocations: 1.084 MB / 1.451 GB, free: 1.852 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008513/1.205, allocations: 215.7 kB / 1.451 GB, free: 1.637 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004821/1.205, allocations: 343.3 kB / 1.451 GB, free: 1.301 MB / 1.17 GB Notification: Performance of SimCode: time 5.21e-07/1.205, allocations: 3.938 kB / 1.451 GB, free: 1.297 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06431/1.27, allocations: 28.49 MB / 1.479 GB, free: 5.277 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/14.33, allocations: 13.2 kB / 1.479 GB, free: 5.266 MB / 1.201 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches