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.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.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.00161/0.00161, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.52/1.52, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.632/2.632, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.001271, allocations: 62 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2381, allocations: 157.4 MB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.1727/0.4109, allocations: 190.6 MB / 1.239 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007524/0.4184, allocations: 5.732 MB / 1.245 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008859/0.4193, allocations: 43.81 kB / 1.245 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.4206, allocations: 0.5824 MB / 1.245 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003081/0.4237, allocations: 1.614 MB / 1.247 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.4337/0.8575, allocations: 1.207 MB / 1.248 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002981/0.8604, allocations: 2.561 MB / 1.25 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/0.8617, allocations: 0.8798 MB / 1.251 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0017/0.8634, allocations: 1.033 MB / 1.252 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001543/0.865, allocations: 0.814 MB / 1.253 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002104/0.8652, allocations: 93.88 kB / 1.253 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/0.8675, allocations: 1.541 MB / 1.255 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004086/0.8679, allocations: 405 kB / 1.255 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006275/0.8686, allocations: 0.5848 MB / 1.256 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002205/0.8708, allocations: 2.003 MB / 1.258 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.8708, allocations: 1 kB / 1.258 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.8708, allocations: 2.906 kB / 1.258 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.8708, allocations: 0.8125 kB / 1.258 GB, free: 4.219 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.00193/0.8727, allocations: 1.441 MB / 1.259 GB, free: 19.47 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.8728, allocations: 8.844 kB / 1.259 GB, free: 19.47 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000133/0.8729, allocations: 124.3 kB / 1.259 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002354/0.8753, allocations: 411.8 kB / 1.26 GB, free: 19.38 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.8764, allocations: 0.7619 MB / 1.26 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003276/0.8768, allocations: 112.9 kB / 1.26 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-05/0.8769, allocations: 75.5 kB / 1.261 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.8785, allocations: 0.9907 MB / 1.261 GB, free: 18.98 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.8785, allocations: 4.078 kB / 1.261 GB, free: 18.98 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-05/0.8786, allocations: 35.75 kB / 1.262 GB, free: 18.98 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.871e-05/0.8786, allocations: 32.19 kB / 1.262 GB, free: 18.97 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001898/0.8805, allocations: 0.8816 MB / 1.262 GB, free: 18.97 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.005411/0.886, allocations: 3.528 MB / 1.266 GB, free: 17.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.8876, allocations: 0.618 MB / 1.266 GB, free: 17.66 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007677/0.8884, allocations: 341.2 kB / 1.267 GB, free: 17.65 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/0.8885, allocations: 100.1 kB / 1.267 GB, free: 17.56 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.8886, allocations: 47.33 kB / 1.267 GB, free: 17.52 MB / 1.014 GB Notification: Performance of pre-optimization done (n=39): time 2.224e-06/0.8886, allocations: 2.094 kB / 1.267 GB, free: 17.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=41): time 0.007893/0.8965, allocations: 2.416 MB / 1.269 GB, free: 16.97 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.8965, allocations: 60.83 kB / 1.269 GB, free: 16.91 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.8976, allocations: 0.7959 MB / 1.27 GB, free: 16.77 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.331e-05/0.8976, allocations: 35.52 kB / 1.27 GB, free: 16.74 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.8979, allocations: 447.9 kB / 1.271 GB, free: 16.55 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.961e-05/0.898, allocations: 143.8 kB / 1.271 GB, free: 16.46 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.8982, allocations: 104.4 kB / 1.271 GB, free: 16.45 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.427e-05/0.8983, allocations: 326.9 kB / 1.271 GB, free: 16.14 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007798/0.899, allocations: 311.5 kB / 1.271 GB, free: 16.14 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008099/0.8999, allocations: 413.3 kB / 1.272 GB, free: 16.04 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.005002/0.9049, allocations: 1.904 MB / 1.274 GB, free: 15.83 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.9049, allocations: 3.438 kB / 1.274 GB, free: 15.83 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002941/0.9078, allocations: 1.049 MB / 1.275 GB, free: 15.73 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.9079, allocations: 7.406 kB / 1.275 GB, free: 15.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.9079, allocations: 3.734 kB / 1.275 GB, free: 15.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000543/0.9084, allocations: 188.2 kB / 1.275 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006668/0.9091, allocations: 147.5 kB / 1.275 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03049/0.9396, allocations: 2.237 MB / 1.277 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.9407, allocations: 51.14 kB / 1.277 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.397e-05/0.9407, allocations: 28.17 kB / 1.277 GB, free: 14.36 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.0003328/0.9411, allocations: 283 kB / 1.278 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.9412, allocations: 87.03 kB / 1.278 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.9414, allocations: 96.23 kB / 1.278 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.9414, allocations: 4.469 kB / 1.278 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.9414, allocations: 0.7188 kB / 1.278 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002723/0.9441, allocations: 0.9082 MB / 1.279 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004831/0.949, allocations: 2.111 MB / 1.281 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.949, allocations: 4 kB / 1.281 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006062/0.9496, allocations: 125.5 kB / 1.281 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005133/0.9501, allocations: 190.3 kB / 1.281 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/0.9502, allocations: 19.39 kB / 1.281 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003399/0.9536, allocations: 2.184 MB / 1.283 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.9536, allocations: 11.94 kB / 1.283 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003844/0.9575, allocations: 1.429 MB / 1.285 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004785/0.9579, allocations: 241.5 kB / 1.285 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.9581, allocations: 14.06 kB / 1.285 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000842/0.9589, allocations: 67.06 kB / 1.285 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.695e-05/0.959, allocations: 41.84 kB / 1.285 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.213e-05/0.9591, allocations: 33.2 kB / 1.285 GB, free: 11.66 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007176/0.9598, allocations: 0.5515 MB / 1.285 GB, free: 11.57 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9598, allocations: 0 / 1.285 GB, free: 11.57 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009149/0.9608, allocations: 270.6 kB / 1.286 GB, free: 11.57 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.004137/0.9649, allocations: 2.089 MB / 1.288 GB, free: 10.68 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001991/0.9669, allocations: 0.8526 MB / 1.289 GB, free: 10.54 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.9669, allocations: 1.688 kB / 1.289 GB, free: 10.54 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008945/0.9678, allocations: 465.8 kB / 1.289 GB, free: 10.42 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/0.97, allocations: 0.5506 MB / 1.29 GB, free: 10.32 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/0.9837, allocations: 7.965 MB / 1.297 GB, free: 7.594 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005001/0.9842, allocations: 1.041 MB / 1.298 GB, free: 6.883 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007546/0.9849, allocations: 199.9 kB / 1.299 GB, free: 6.836 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003678/0.9853, allocations: 316.6 kB / 1.299 GB, free: 6.832 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.9853, allocations: 0 / 1.299 GB, free: 6.832 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.931/2.916, allocations: 27.64 MB / 1.326 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.12/19.04, allocations: 8.234 kB / 1.326 GB, free: 0.6289 MB / 1.014 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