Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_10_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.001088/0.001088, allocations: 108 kB / 15.6 MB, free: 132 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.001174/0.001174, allocations: 195.2 kB / 16.53 MB, free: 6.391 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.528/2.528, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.91 kB / 0.8693 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6378/0.6391, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.1849/0.824, allocations: 190.6 MB / 1.204 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008425/0.8325, allocations: 5.724 MB / 1.209 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.8335, allocations: 43.75 kB / 1.209 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.8349, allocations: 0.5824 MB / 1.21 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003338/0.8383, allocations: 1.616 MB / 1.211 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002653/0.8409, allocations: 1.202 MB / 1.213 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002582/0.8435, allocations: 2.566 MB / 1.215 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.8445, allocations: 0.8784 MB / 1.216 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/0.846, allocations: 1.047 MB / 1.217 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001757/0.8478, allocations: 0.802 MB / 1.218 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002054/0.848, allocations: 96 kB / 1.218 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003081/0.8511, allocations: 1.54 MB / 1.219 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000398/0.8515, allocations: 410.8 kB / 1.22 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007263/0.8523, allocations: 0.5872 MB / 1.22 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00276/0.855, allocations: 2.006 MB / 1.222 GB, free: 36 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.855, allocations: 0 / 1.222 GB, free: 36 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8551, allocations: 0 / 1.222 GB, free: 36 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.8551, allocations: 0 / 1.222 GB, free: 36 kB / 0.9669 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.0022/0.8573, allocations: 1.433 MB / 1.224 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.8573, allocations: 8.031 kB / 1.224 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000149/0.8575, allocations: 130.6 kB / 1.224 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002612/0.8601, allocations: 406.3 kB / 1.224 GB, free: 14 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.8614, allocations: 0.7648 MB / 1.225 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003557/0.8617, allocations: 113.9 kB / 1.225 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.8619, allocations: 83.92 kB / 1.225 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/0.8637, allocations: 0.9944 MB / 1.226 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.8637, allocations: 0 / 1.226 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.792e-05/0.8638, allocations: 36 kB / 1.226 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.593e-05/0.8639, allocations: 26 kB / 1.226 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.8659, allocations: 0.8783 MB / 1.227 GB, free: 11.05 MB / 0.9825 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.005817/0.8717, allocations: 3.532 MB / 1.23 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.8735, allocations: 0.6263 MB / 1.231 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008451/0.8743, allocations: 342.4 kB / 1.231 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001679/0.8745, allocations: 101.7 kB / 1.231 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.8745, allocations: 42.56 kB / 1.231 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=39): time 1.783e-06/0.8745, allocations: 0 / 1.231 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=41): time 0.00858/0.8831, allocations: 2.422 MB / 1.234 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.8832, allocations: 55.41 kB / 1.234 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.8844, allocations: 0.7979 MB / 1.235 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.791e-05/0.8845, allocations: 37.7 kB / 1.235 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004203/0.8849, allocations: 451.6 kB / 1.235 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.8851, allocations: 141.9 kB / 1.235 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.8853, allocations: 110.1 kB / 1.235 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.8855, allocations: 326 kB / 1.236 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009073/0.8864, allocations: 312.9 kB / 1.236 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009868/0.8874, allocations: 408.1 kB / 1.236 GB, free: 1.016 MB / 0.9825 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.005931/0.8934, allocations: 1.909 MB / 1.238 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.8934, allocations: 0 / 1.238 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003575/0.897, allocations: 1.042 MB / 1.239 GB, free: 14 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.897, allocations: 4 kB / 1.239 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.897, allocations: 7.984 kB / 1.239 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006515/0.8977, allocations: 180.8 kB / 1.239 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007451/0.8985, allocations: 147.8 kB / 1.24 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004218/0.9027, allocations: 2.238 MB / 1.242 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.9037, allocations: 55.94 kB / 1.242 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.018e-05/0.9038, allocations: 20 kB / 1.242 GB, free: 11.21 MB / 0.9981 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.0005095/0.9043, allocations: 277.9 kB / 1.242 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002293/0.9046, allocations: 86.97 kB / 1.242 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.9048, allocations: 96.23 kB / 1.242 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.9048, allocations: 4 kB / 1.242 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.9048, allocations: 8 kB / 1.242 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003091/0.9079, allocations: 0.8986 MB / 1.243 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005825/0.9138, allocations: 2.126 MB / 1.245 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.9138, allocations: 0 / 1.245 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006699/0.9145, allocations: 128.2 kB / 1.245 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005864/0.9151, allocations: 192.7 kB / 1.246 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.906e-05/0.9151, allocations: 12 kB / 1.246 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003887/0.919, allocations: 2.183 MB / 1.248 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.9191, allocations: 11.88 kB / 1.248 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004284/0.9233, allocations: 1.439 MB / 1.249 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006244/0.924, allocations: 236 kB / 1.249 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002697/0.9243, allocations: 15.98 kB / 1.249 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.9253, allocations: 63.5 kB / 1.249 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.9255, allocations: 35.89 kB / 1.249 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.9256, allocations: 31.92 kB / 1.249 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000923/0.9265, allocations: 0.5576 MB / 1.25 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9265, allocations: 0 / 1.25 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001083/0.9276, allocations: 272 kB / 1.25 GB, free: 2.199 MB / 0.9981 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.005016/0.9326, allocations: 2.073 MB / 1.252 GB, free: 68 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.4348/1.367, allocations: 0.8465 MB / 1.253 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/1.368, allocations: 1.344 kB / 1.253 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/1.369, allocations: 464.2 kB / 1.254 GB, free: 234.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/1.371, allocations: 0.5488 MB / 1.254 GB, free: 234.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/1.387, allocations: 7.959 MB / 1.262 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006059/1.387, allocations: 1.047 MB / 1.263 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001017/1.388, allocations: 199.7 kB / 1.263 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004189/1.389, allocations: 319 kB / 1.263 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/1.389, allocations: 2.344 kB / 1.263 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05769/1.446, allocations: 27.64 MB / 1.29 GB, free: 214.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/12.44, allocations: 17.75 kB / 1.29 GB, free: 214.5 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches