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.001103/0.001103, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001108/0.001108, allocations: 188 kB / 16.25 MB, free: 6.637 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.423/1.423, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.024/3.024, allocations: 461.9 MB / 0.7344 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 66.8 kB / 0.8987 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3212, allocations: 157.4 MB / 1.052 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.1991/0.5203, allocations: 188.1 MB / 1.236 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009633/0.53, allocations: 5.702 MB / 1.242 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.5316, allocations: 31.81 kB / 1.242 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.5332, allocations: 0.5091 MB / 1.242 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004138/0.5374, allocations: 1.525 MB / 1.244 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003162/0.5406, allocations: 1.113 MB / 1.245 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003232/0.5438, allocations: 2.554 MB / 1.247 GB, free: 384 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.7658/1.31, allocations: 0.8495 MB / 1.248 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002811/1.313, allocations: 1.049 MB / 1.249 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002446/1.315, allocations: 0.862 MB / 1.25 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002669/1.315, allocations: 97.25 kB / 1.25 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003214/1.319, allocations: 1.606 MB / 1.252 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004707/1.319, allocations: 407.8 kB / 1.252 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007919/1.32, allocations: 0.5885 MB / 1.253 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003303/1.323, allocations: 2.092 MB / 1.255 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.323, allocations: 0 / 1.255 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.653e-06/1.323, allocations: 0 / 1.255 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.922e-05/1.323, allocations: 0.9062 kB / 1.255 GB, free: 4.332 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.002784/1.326, allocations: 1.436 MB / 1.256 GB, free: 19.58 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/1.326, allocations: 12.72 kB / 1.256 GB, free: 19.58 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001553/1.326, allocations: 120.9 kB / 1.256 GB, free: 19.54 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002784/1.329, allocations: 417.8 kB / 1.257 GB, free: 19.48 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/1.33, allocations: 0.762 MB / 1.257 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000374/1.331, allocations: 110.1 kB / 1.257 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/1.331, allocations: 79.22 kB / 1.258 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/1.333, allocations: 0.9913 MB / 1.258 GB, free: 19.09 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/1.333, allocations: 6.469 kB / 1.258 GB, free: 19.09 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.908e-05/1.333, allocations: 33.34 kB / 1.259 GB, free: 19.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/1.333, allocations: 28.08 kB / 1.259 GB, free: 19.08 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/1.335, allocations: 0.8833 MB / 1.259 GB, free: 19.08 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.006614/1.342, allocations: 3.509 MB / 1.263 GB, free: 17.79 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/1.344, allocations: 0.6246 MB / 1.263 GB, free: 17.77 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00091/1.345, allocations: 341.5 kB / 1.264 GB, free: 17.76 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002088/1.345, allocations: 99.47 kB / 1.264 GB, free: 17.67 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/1.345, allocations: 42.22 kB / 1.264 GB, free: 17.63 MB / 1.014 GB Notification: Performance of pre-optimization done (n=39): time 2.344e-06/1.345, allocations: 0 / 1.264 GB, free: 17.63 MB / 1.014 GB Notification: Performance of matching and sorting (n=41): time 0.009604/1.354, allocations: 2.42 MB / 1.266 GB, free: 17.08 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/1.354, allocations: 56.38 kB / 1.266 GB, free: 17.02 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/1.356, allocations: 0.7971 MB / 1.267 GB, free: 16.88 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001333/1.356, allocations: 37.67 kB / 1.267 GB, free: 16.85 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/1.356, allocations: 446 kB / 1.268 GB, free: 16.66 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/1.357, allocations: 147.9 kB / 1.268 GB, free: 16.57 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/1.357, allocations: 103.9 kB / 1.268 GB, free: 16.55 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001147/1.357, allocations: 327.8 kB / 1.268 GB, free: 16.25 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000906/1.358, allocations: 306 kB / 1.268 GB, free: 16.25 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/1.359, allocations: 418.7 kB / 1.269 GB, free: 16.15 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.006402/1.365, allocations: 1.9 MB / 1.271 GB, free: 15.94 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/1.365, allocations: 1.875 kB / 1.271 GB, free: 15.94 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003701/1.369, allocations: 1.053 MB / 1.272 GB, free: 15.84 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/1.369, allocations: 7.781 kB / 1.272 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/1.369, allocations: 4.328 kB / 1.272 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006842/1.37, allocations: 189.3 kB / 1.272 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007742/1.371, allocations: 145.1 kB / 1.272 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004312/1.375, allocations: 2.241 MB / 1.274 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/1.376, allocations: 86.77 kB / 1.274 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/1.376, allocations: 20.72 kB / 1.274 GB, free: 14.47 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.0007139/1.377, allocations: 280 kB / 1.275 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/1.378, allocations: 87.97 kB / 1.275 GB, free: 14.31 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002915/1.378, allocations: 95.38 kB / 1.275 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/1.378, allocations: 4.438 kB / 1.275 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.016e-06/1.378, allocations: 0.9375 kB / 1.275 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00317/1.381, allocations: 0.91 MB / 1.276 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006343/1.387, allocations: 2.111 MB / 1.278 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/1.387, allocations: 3.531 kB / 1.278 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006962/1.388, allocations: 131.6 kB / 1.278 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006661/1.389, allocations: 188.6 kB / 1.278 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.549e-05/1.389, allocations: 12.25 kB / 1.278 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003861/1.393, allocations: 2.194 MB / 1.28 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/1.393, allocations: 8.781 kB / 1.28 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004464/1.397, allocations: 1.44 MB / 1.282 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/1.398, allocations: 236.9 kB / 1.282 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004156/1.399, allocations: 9.156 kB / 1.282 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/1.4, allocations: 91.69 kB / 1.282 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/1.4, allocations: 41.97 kB / 1.282 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/1.4, allocations: 29.86 kB / 1.282 GB, free: 11.82 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001229/1.402, allocations: 0.5539 MB / 1.283 GB, free: 11.73 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.2e-07/1.402, allocations: 0 / 1.283 GB, free: 11.73 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001833/1.404, allocations: 274.5 kB / 1.283 GB, free: 11.73 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.005445/1.409, allocations: 2.092 MB / 1.285 GB, free: 10.84 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002438/1.411, allocations: 0.8436 MB / 1.286 GB, free: 10.71 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/1.412, allocations: 1.25 kB / 1.286 GB, free: 10.71 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/1.413, allocations: 461.6 kB / 1.286 GB, free: 10.59 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00344/1.416, allocations: 0.5465 MB / 1.287 GB, free: 10.52 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01925/1.435, allocations: 8.258 MB / 1.295 GB, free: 7.465 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008358/1.436, allocations: 1.04 MB / 1.296 GB, free: 6.75 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001156/1.437, allocations: 207.7 kB / 1.296 GB, free: 6.695 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005646/1.438, allocations: 315.4 kB / 1.296 GB, free: 6.691 MB / 1.014 GB Notification: Performance of SimCode: time 1.212e-06/1.438, allocations: 1.438 kB / 1.296 GB, free: 6.691 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.329/2.767, allocations: 27.39 MB / 1.323 GB, free: 1.105 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004368/2.767, allocations: 325.5 kB / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.325/5.092, allocations: 2.922 kB / 1.323 GB, free: 0.7305 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