Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_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.001568/0.001568, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001877/0.001877, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.303/1.303, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.596/2.596, allocations: 461.9 MB / 0.7342 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 65.09 kB / 0.8985 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2725, allocations: 157.4 MB / 1.052 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.1848/0.4573, allocations: 188.4 MB / 1.236 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008389/0.4658, allocations: 5.798 MB / 1.242 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007009/0.4665, allocations: 35.75 kB / 1.242 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.4678, allocations: 0.4975 MB / 1.242 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003089/0.4709, allocations: 1.533 MB / 1.244 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002404/0.4733, allocations: 1.082 MB / 1.245 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.4978/0.9711, allocations: 3.542 MB / 1.248 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.9723, allocations: 0.7425 MB / 1.249 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.9738, allocations: 0.9041 MB / 1.25 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001467/0.9753, allocations: 0.8418 MB / 1.251 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.9754, allocations: 51.78 kB / 1.251 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.9778, allocations: 1.728 MB / 1.253 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003471/0.9782, allocations: 360.4 kB / 1.253 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005239/0.9787, allocations: 0.5354 MB / 1.253 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002183/0.9809, allocations: 2.051 MB / 1.255 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.9809, allocations: 0 / 1.255 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9809, allocations: 4 kB / 1.255 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.9809, allocations: 2.625 kB / 1.255 GB, free: 3.918 MB / 0.9981 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.002195/0.9831, allocations: 1.431 MB / 1.257 GB, free: 19.19 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.9832, allocations: 15.31 kB / 1.257 GB, free: 19.19 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001463/0.9833, allocations: 128.6 kB / 1.257 GB, free: 19.15 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00262/0.986, allocations: 414.5 kB / 1.257 GB, free: 19.08 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.9872, allocations: 0.7547 MB / 1.258 GB, free: 18.77 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003411/0.9875, allocations: 113.9 kB / 1.258 GB, free: 18.77 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.9876, allocations: 77.92 kB / 1.258 GB, free: 18.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.9895, allocations: 0.9903 MB / 1.259 GB, free: 18.67 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.9895, allocations: 0 / 1.259 GB, free: 18.67 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.822e-05/0.9896, allocations: 36.91 kB / 1.259 GB, free: 18.66 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.721e-05/0.9897, allocations: 29.3 kB / 1.259 GB, free: 18.66 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.9916, allocations: 0.8878 MB / 1.26 GB, free: 18.64 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.006025/0.9976, allocations: 3.503 MB / 1.264 GB, free: 17.33 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.9994, allocations: 0.6202 MB / 1.264 GB, free: 17.29 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009366/1, allocations: 336.8 kB / 1.264 GB, free: 17.28 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002191/1.001, allocations: 109 kB / 1.265 GB, free: 17.18 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/1.001, allocations: 42.95 kB / 1.265 GB, free: 17.14 MB / 1.014 GB Notification: Performance of pre-optimization done (n=39): time 1.643e-06/1.001, allocations: 0 / 1.265 GB, free: 17.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=41): time 0.008251/1.009, allocations: 2.418 MB / 1.267 GB, free: 16.54 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/1.009, allocations: 55.59 kB / 1.267 GB, free: 16.47 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/1.01, allocations: 0.7967 MB / 1.268 GB, free: 16.34 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.06e-05/1.01, allocations: 36.58 kB / 1.268 GB, free: 16.31 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003259/1.011, allocations: 449.9 kB / 1.268 GB, free: 16.12 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/1.011, allocations: 143.5 kB / 1.268 GB, free: 16.03 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/1.011, allocations: 110.5 kB / 1.269 GB, free: 16 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001107/1.011, allocations: 325.8 kB / 1.269 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000923/1.012, allocations: 304.4 kB / 1.269 GB, free: 15.69 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009862/1.013, allocations: 418.2 kB / 1.27 GB, free: 15.59 MB / 1.014 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.005386/1.019, allocations: 1.899 MB / 1.271 GB, free: 15.33 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/1.019, allocations: 1.406 kB / 1.271 GB, free: 15.33 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003261/1.022, allocations: 1.051 MB / 1.272 GB, free: 15.21 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/1.022, allocations: 7.844 kB / 1.272 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.022, allocations: 3.625 kB / 1.272 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005921/1.022, allocations: 187.4 kB / 1.273 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006988/1.023, allocations: 146.9 kB / 1.273 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003589/1.027, allocations: 2.091 MB / 1.275 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009802/1.028, allocations: 82.62 kB / 1.275 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-05/1.028, allocations: 22.14 kB / 1.275 GB, free: 13.89 MB / 1.014 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.0003991/1.028, allocations: 281.9 kB / 1.275 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/1.028, allocations: 88.23 kB / 1.275 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/1.029, allocations: 93.27 kB / 1.275 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/1.029, allocations: 7.031 kB / 1.275 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.029, allocations: 0 / 1.275 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00276/1.031, allocations: 0.8995 MB / 1.276 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004974/1.036, allocations: 2.112 MB / 1.278 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/1.036, allocations: 5.281 kB / 1.278 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006367/1.037, allocations: 130.8 kB / 1.278 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005179/1.037, allocations: 190.4 kB / 1.279 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.039e-05/1.038, allocations: 14.69 kB / 1.279 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003394/1.041, allocations: 2.034 MB / 1.281 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/1.041, allocations: 3.625 kB / 1.281 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003993/1.045, allocations: 1.442 MB / 1.282 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004521/1.045, allocations: 231.4 kB / 1.282 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/1.046, allocations: 16.77 kB / 1.282 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000924/1.046, allocations: 91.98 kB / 1.282 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.024e-05/1.047, allocations: 38.23 kB / 1.282 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.872e-05/1.047, allocations: 28.27 kB / 1.282 GB, free: 11.27 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007054/1.047, allocations: 0.5526 MB / 1.283 GB, free: 11.18 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.047, allocations: 0 / 1.283 GB, free: 11.18 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009732/1.048, allocations: 280.8 kB / 1.283 GB, free: 11.17 MB / 1.014 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.004271/1.053, allocations: 2.075 MB / 1.285 GB, free: 10.29 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001974/1.055, allocations: 0.8122 MB / 1.286 GB, free: 10.16 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.055, allocations: 2.75 kB / 1.286 GB, free: 10.16 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009044/1.056, allocations: 455.2 kB / 1.286 GB, free: 10.04 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002317/1.058, allocations: 0.528 MB / 1.287 GB, free: 10.01 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/1.074, allocations: 8.267 MB / 1.295 GB, free: 6.953 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006005/1.074, allocations: 1.044 MB / 1.296 GB, free: 6.242 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009513/1.075, allocations: 208.1 kB / 1.296 GB, free: 6.191 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004176/1.076, allocations: 315.8 kB / 1.297 GB, free: 6.184 MB / 1.014 GB Notification: Performance of SimCode: time 7.11e-07/1.076, allocations: 1.094 kB / 1.297 GB, free: 6.184 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05408/1.13, allocations: 26.57 MB / 1.323 GB, free: 292 kB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003699/1.13, allocations: 333.1 kB / 1.323 GB, free: 15.9 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.354/3.484, allocations: 0 / 1.323 GB, free: 15.9 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches