Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.005165/0.005165, allocations: 99.31 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.001184/0.001184, allocations: 186.3 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.372/2.372, allocations: 390.3 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 66.44 kB / 0.9504 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.277, allocations: 140.4 MB / 1.088 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.8621/1.139, allocations: 190.6 MB / 1.274 GB, free: 3.199 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01096/1.15, allocations: 5.733 MB / 1.279 GB, free: 3.133 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0026/1.153, allocations: 41.81 kB / 1.279 GB, free: 3.133 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002186/1.155, allocations: 0.5748 MB / 1.28 GB, free: 3.125 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006052/1.161, allocations: 1.627 MB / 1.281 GB, free: 3.055 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004725/1.166, allocations: 1.223 MB / 1.283 GB, free: 3.02 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005278/1.171, allocations: 2.562 MB / 1.285 GB, free: 3.012 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002009/1.173, allocations: 0.8739 MB / 1.286 GB, free: 2.945 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003078/1.176, allocations: 1.062 MB / 1.287 GB, free: 2.941 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002867/1.179, allocations: 0.8133 MB / 1.288 GB, free: 2.938 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005117/1.18, allocations: 95.41 kB / 1.288 GB, free: 2.938 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004439/1.184, allocations: 1.545 MB / 1.289 GB, free: 2.922 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009974/1.185, allocations: 403.3 kB / 1.29 GB, free: 2.918 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001982/1.187, allocations: 0.5859 MB / 1.29 GB, free: 2.918 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005581/1.193, allocations: 2.02 MB / 1.292 GB, free: 2.805 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.193, allocations: 1.75 kB / 1.292 GB, free: 2.805 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.244e-06/1.193, allocations: 1.594 kB / 1.292 GB, free: 2.805 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.731e-05/1.193, allocations: 0.5156 kB / 1.292 GB, free: 2.805 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.004701/1.198, allocations: 1.426 MB / 1.294 GB, free: 2.039 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/1.198, allocations: 9.781 kB / 1.294 GB, free: 2.039 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003763/1.198, allocations: 125.5 kB / 1.294 GB, free: 2 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003172/1.201, allocations: 419.6 kB / 1.294 GB, free: 1.941 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00228/1.204, allocations: 0.7992 MB / 1.295 GB, free: 1.629 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-05/1.204, allocations: 58.19 kB / 1.295 GB, free: 1.625 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002258/1.204, allocations: 71.17 kB / 1.295 GB, free: 1.625 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002571/1.206, allocations: 0.9841 MB / 1.296 GB, free: 1.535 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/1.207, allocations: 1.531 kB / 1.296 GB, free: 1.535 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/1.207, allocations: 34.58 kB / 1.296 GB, free: 1.535 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.996e-05/1.207, allocations: 28.44 kB / 1.296 GB, free: 1.531 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002337/1.209, allocations: 0.8796 MB / 1.297 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.008141/1.217, allocations: 3.477 MB / 1.3 GB, free: 16.22 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/1.219, allocations: 0.605 MB / 1.301 GB, free: 16.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008199/1.22, allocations: 337.3 kB / 1.301 GB, free: 16.19 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002735/1.22, allocations: 109.8 kB / 1.301 GB, free: 16.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.635e-05/1.22, allocations: 40.25 kB / 1.301 GB, free: 16.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=39): time 5.039e-06/1.22, allocations: 3.984 kB / 1.301 GB, free: 16.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=41): time 0.008928/1.229, allocations: 2.389 MB / 1.304 GB, free: 15.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/1.229, allocations: 60.25 kB / 1.304 GB, free: 15.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/1.231, allocations: 0.7985 MB / 1.305 GB, free: 15.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001583/1.231, allocations: 38.23 kB / 1.305 GB, free: 15.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003505/1.231, allocations: 450.2 kB / 1.305 GB, free: 15.08 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/1.231, allocations: 145.2 kB / 1.305 GB, free: 14.99 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/1.232, allocations: 107.9 kB / 1.305 GB, free: 14.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.232, allocations: 329.1 kB / 1.306 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008665/1.233, allocations: 297.4 kB / 1.306 GB, free: 14.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/1.234, allocations: 414.1 kB / 1.306 GB, free: 14.56 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.005675/1.239, allocations: 1.872 MB / 1.308 GB, free: 14.35 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/1.239, allocations: 0.9688 kB / 1.308 GB, free: 14.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00349/1.243, allocations: 1.034 MB / 1.309 GB, free: 14.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/1.243, allocations: 5.625 kB / 1.309 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/1.243, allocations: 5.062 kB / 1.309 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006604/1.244, allocations: 192.6 kB / 1.309 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007557/1.244, allocations: 144.2 kB / 1.31 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004318/1.249, allocations: 2.239 MB / 1.312 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/1.25, allocations: 45.22 kB / 1.312 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/1.25, allocations: 22.53 kB / 1.312 GB, free: 12.84 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 (59): * Single equations (assignments): 58 * 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 prepare postOptimizeDAE: time 0.0007609/1.251, allocations: 277.6 kB / 1.312 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003516/1.251, allocations: 88 kB / 1.312 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/1.252, allocations: 97.02 kB / 1.312 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/1.252, allocations: 8.969 kB / 1.312 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/1.252, allocations: 1.062 kB / 1.312 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00302/1.255, allocations: 0.8889 MB / 1.313 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006517/1.261, allocations: 2.103 MB / 1.315 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/1.261, allocations: 2.719 kB / 1.315 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006629/1.262, allocations: 131.5 kB / 1.315 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005894/1.263, allocations: 189.7 kB / 1.315 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.801e-05/1.263, allocations: 13.25 kB / 1.315 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003874/1.267, allocations: 2.183 MB / 1.318 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/1.267, allocations: 4.125 kB / 1.318 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004245/1.271, allocations: 1.41 MB / 1.319 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009481/1.272, allocations: 237.5 kB / 1.319 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003483/1.272, allocations: 13.67 kB / 1.319 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/1.273, allocations: 66.77 kB / 1.319 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/1.274, allocations: 40.94 kB / 1.319 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/1.274, allocations: 32.72 kB / 1.319 GB, free: 10.12 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001096/1.275, allocations: 0.5539 MB / 1.32 GB, free: 10.03 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.275, allocations: 0 / 1.32 GB, free: 10.03 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001561/1.276, allocations: 270.5 kB / 1.32 GB, free: 10.02 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 (37): * Single equations (assignments): 36 * 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.004948/1.281, allocations: 2.08 MB / 1.322 GB, free: 9.137 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002313/1.284, allocations: 0.8079 MB / 1.323 GB, free: 9 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/1.284, allocations: 2.656 kB / 1.323 GB, free: 9 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/1.285, allocations: 459.2 kB / 1.323 GB, free: 8.887 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003453/1.288, allocations: 0.5418 MB / 1.324 GB, free: 8.785 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01805/1.306, allocations: 7.641 MB / 1.331 GB, free: 6.395 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009435/1.307, allocations: 1.044 MB / 1.332 GB, free: 5.684 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001123/1.309, allocations: 201.5 kB / 1.333 GB, free: 5.633 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005482/1.309, allocations: 318.5 kB / 1.333 GB, free: 5.625 MB / 1.029 GB Notification: Performance of SimCode: time 6.81e-07/1.309, allocations: 1.844 kB / 1.333 GB, free: 5.625 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06349/1.373, allocations: 28.32 MB / 1.361 GB, free: 11.64 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/14.33, allocations: 7.328 kB / 1.361 GB, free: 11.64 MB / 1.045 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches