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.005748/0.005748, allocations: 101.9 kB / 15.73 MB, free: 5.492 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.001173/0.001173, allocations: 186.5 kB / 16.67 MB, free: 5.422 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.262/1.262, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.349/2.349, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 63.91 kB / 1.018 GB, free: 9.848 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7496/0.7515, allocations: 151.6 MB / 1.166 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2105/0.962, allocations: 190.6 MB / 1.352 GB, free: 4.41 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009493/0.9715, allocations: 5.746 MB / 1.358 GB, free: 14.65 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/0.9731, allocations: 39.75 kB / 1.358 GB, free: 14.61 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001737/0.9749, allocations: 0.5903 MB / 1.359 GB, free: 14.02 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004491/0.9794, allocations: 1.69 MB / 1.36 GB, free: 12.32 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003285/0.9827, allocations: 1.221 MB / 1.361 GB, free: 11.11 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003491/0.9862, allocations: 2.571 MB / 1.364 GB, free: 8.531 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001409/0.9877, allocations: 0.8745 MB / 1.365 GB, free: 7.641 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002126/0.9898, allocations: 1.086 MB / 1.366 GB, free: 6.551 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001907/0.9917, allocations: 0.8113 MB / 1.367 GB, free: 5.742 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003265/0.9921, allocations: 96 kB / 1.367 GB, free: 5.648 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003177/0.9953, allocations: 1.551 MB / 1.368 GB, free: 4.094 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006355/0.9959, allocations: 402.9 kB / 1.369 GB, free: 3.699 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.9971, allocations: 0.595 MB / 1.369 GB, free: 3.102 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004905/1.002, allocations: 2.014 MB / 1.371 GB, free: 1.082 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/1.002, allocations: 0 / 1.371 GB, free: 1.082 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.443e-06/1.002, allocations: 0 / 1.371 GB, free: 1.082 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.469e-05/1.002, allocations: 0 / 1.371 GB, free: 1.082 MB / 1.092 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.004285/1.006, allocations: 1.43 MB / 1.373 GB, free: 15.6 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.243e-05/1.006, allocations: 8.031 kB / 1.373 GB, free: 15.59 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003101/1.007, allocations: 130.5 kB / 1.373 GB, free: 15.46 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004359/1.011, allocations: 414.3 kB / 1.373 GB, free: 15.05 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002671/1.014, allocations: 0.8076 MB / 1.374 GB, free: 14.2 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.695e-05/1.014, allocations: 58 kB / 1.374 GB, free: 14.14 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002897/1.014, allocations: 72 kB / 1.374 GB, free: 14.07 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003322/1.018, allocations: 0.9866 MB / 1.375 GB, free: 13.07 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/1.018, allocations: 0 / 1.375 GB, free: 13.07 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/1.018, allocations: 36 kB / 1.375 GB, free: 13.03 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.726e-05/1.018, allocations: 29.98 kB / 1.375 GB, free: 13 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002735/1.021, allocations: 0.8744 MB / 1.376 GB, free: 12.13 MB / 1.107 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.006861/1.028, allocations: 3.478 MB / 1.379 GB, free: 8.473 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/1.029, allocations: 0.6048 MB / 1.38 GB, free: 7.859 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007502/1.03, allocations: 330.4 kB / 1.38 GB, free: 7.535 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002003/1.03, allocations: 101.4 kB / 1.38 GB, free: 7.418 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/1.03, allocations: 43.16 kB / 1.38 GB, free: 7.367 MB / 1.107 GB Notification: Performance of pre-optimization done (n=39): time 2.765e-06/1.03, allocations: 0 / 1.38 GB, free: 7.367 MB / 1.107 GB Notification: Performance of matching and sorting (n=41): time 0.008503/1.039, allocations: 2.401 MB / 1.383 GB, free: 4.887 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/1.039, allocations: 59.34 kB / 1.383 GB, free: 4.816 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/1.04, allocations: 0.7941 MB / 1.383 GB, free: 4.012 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.23e-05/1.04, allocations: 37.7 kB / 1.384 GB, free: 3.969 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003902/1.041, allocations: 447.7 kB / 1.384 GB, free: 3.523 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/1.041, allocations: 153.8 kB / 1.384 GB, free: 3.371 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/1.041, allocations: 106.1 kB / 1.384 GB, free: 3.262 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.041, allocations: 322 kB / 1.385 GB, free: 2.941 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007225/1.042, allocations: 304.9 kB / 1.385 GB, free: 2.641 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007779/1.043, allocations: 412.1 kB / 1.385 GB, free: 2.207 MB / 1.107 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.004929/1.048, allocations: 1.882 MB / 1.387 GB, free: 276 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/1.048, allocations: 0 / 1.387 GB, free: 276 kB / 1.107 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003005/1.051, allocations: 1.031 MB / 1.388 GB, free: 15.23 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/1.051, allocations: 4 kB / 1.388 GB, free: 15.22 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/1.051, allocations: 4 kB / 1.388 GB, free: 15.22 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005753/1.051, allocations: 196.7 kB / 1.388 GB, free: 15.02 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006635/1.052, allocations: 143.8 kB / 1.388 GB, free: 14.88 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003627/1.056, allocations: 2.234 MB / 1.391 GB, free: 12.52 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009846/1.057, allocations: 52.02 kB / 1.391 GB, free: 12.46 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.168e-05/1.057, allocations: 16 kB / 1.391 GB, free: 12.45 MB / 1.123 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.0004496/1.057, allocations: 278.8 kB / 1.391 GB, free: 12.17 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/1.057, allocations: 90.91 kB / 1.391 GB, free: 12.08 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002128/1.058, allocations: 96.23 kB / 1.391 GB, free: 11.98 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/1.058, allocations: 4 kB / 1.391 GB, free: 11.98 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/1.058, allocations: 0 / 1.391 GB, free: 11.98 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002639/1.06, allocations: 0.8947 MB / 1.392 GB, free: 11.05 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005165/1.066, allocations: 2.102 MB / 1.394 GB, free: 8.848 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/1.066, allocations: 11.88 kB / 1.394 GB, free: 8.836 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006119/1.066, allocations: 127.8 kB / 1.394 GB, free: 8.711 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005427/1.067, allocations: 188.9 kB / 1.394 GB, free: 8.523 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.622e-05/1.067, allocations: 12 kB / 1.394 GB, free: 8.512 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00345/1.07, allocations: 2.184 MB / 1.396 GB, free: 6.184 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.07, allocations: 4.031 kB / 1.396 GB, free: 6.18 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003777/1.074, allocations: 1.421 MB / 1.398 GB, free: 4.699 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000563/1.075, allocations: 240 kB / 1.398 GB, free: 4.445 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/1.075, allocations: 8 kB / 1.398 GB, free: 4.438 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000867/1.076, allocations: 63.98 kB / 1.398 GB, free: 4.375 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/1.076, allocations: 39.84 kB / 1.398 GB, free: 4.336 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.02e-05/1.076, allocations: 31.97 kB / 1.398 GB, free: 4.305 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007794/1.077, allocations: 0.5537 MB / 1.399 GB, free: 3.754 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.21e-07/1.077, allocations: 3.938 kB / 1.399 GB, free: 3.75 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001019/1.078, allocations: 276 kB / 1.399 GB, free: 3.48 MB / 1.123 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.004317/1.082, allocations: 2.053 MB / 1.401 GB, free: 1.367 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001991/1.084, allocations: 0.8015 MB / 1.402 GB, free: 0.5547 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/1.084, allocations: 0 / 1.402 GB, free: 0.5547 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008946/1.085, allocations: 455.5 kB / 1.402 GB, free: 100 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/1.087, allocations: 0.5456 MB / 1.403 GB, free: 15.56 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01573/1.103, allocations: 7.658 MB / 1.41 GB, free: 7.621 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008593/1.104, allocations: 1.048 MB / 1.411 GB, free: 6.547 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0009684/1.105, allocations: 207.2 kB / 1.411 GB, free: 6.34 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005219/1.106, allocations: 315.3 kB / 1.412 GB, free: 6.031 MB / 1.139 GB Notification: Performance of SimCode: time 8.22e-07/1.106, allocations: 0 / 1.412 GB, free: 6.031 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06098/1.167, allocations: 27.84 MB / 1.439 GB, free: 10.62 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/13.64, allocations: 1.125 kB / 1.439 GB, free: 10.62 MB / 1.17 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