Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",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.004001/0.004001, allocations: 98.56 kB / 15.73 MB, free: 6.059 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.001096/0.001096, allocations: 199.7 kB / 16.68 MB, free: 5.977 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.234/1.234, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.54/2.54, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 75.88 kB / 1.083 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2673, allocations: 162.3 MB / 1.242 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.6848/0.9522, allocations: 221.2 MB / 1.458 GB, free: 9.836 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.008183/0.9604, allocations: 5.727 MB / 1.464 GB, free: 4.094 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004844/0.9609, allocations: 43.75 kB / 1.464 GB, free: 4.051 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.9621, allocations: 0.5786 MB / 1.464 GB, free: 3.469 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003003/0.9652, allocations: 1.629 MB / 1.466 GB, free: 1.832 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002347/0.9675, allocations: 1.212 MB / 1.467 GB, free: 0.6289 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002606/0.9701, allocations: 2.571 MB / 1.469 GB, free: 14.05 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.9712, allocations: 0.8949 MB / 1.47 GB, free: 13.15 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001685/0.9728, allocations: 1.214 MB / 1.471 GB, free: 11.93 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.9744, allocations: 0.8302 MB / 1.472 GB, free: 11.12 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.9746, allocations: 96 kB / 1.472 GB, free: 11.02 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002198/0.9768, allocations: 1.532 MB / 1.474 GB, free: 9.488 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003865/0.9772, allocations: 402.9 kB / 1.474 GB, free: 9.094 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005727/0.9778, allocations: 0.591 MB / 1.475 GB, free: 8.5 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002234/0.98, allocations: 2.021 MB / 1.477 GB, free: 6.473 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.98, allocations: 0 / 1.477 GB, free: 6.473 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.072e-06/0.98, allocations: 0 / 1.477 GB, free: 6.473 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.759e-06/0.98, allocations: 0 / 1.477 GB, free: 6.473 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.002058/0.9821, allocations: 1.463 MB / 1.478 GB, free: 4.953 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.9821, allocations: 12.03 kB / 1.478 GB, free: 4.941 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001446/0.9823, allocations: 126.6 kB / 1.478 GB, free: 4.809 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002355/0.9847, allocations: 430.8 kB / 1.479 GB, free: 4.387 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.986, allocations: 0.8046 MB / 1.48 GB, free: 3.543 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.234e-05/0.986, allocations: 58 kB / 1.48 GB, free: 3.484 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.9861, allocations: 76 kB / 1.48 GB, free: 3.41 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.9879, allocations: 0.9828 MB / 1.481 GB, free: 2.41 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.9879, allocations: 0 / 1.481 GB, free: 2.41 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.247e-05/0.988, allocations: 35.98 kB / 1.481 GB, free: 2.375 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-05/0.988, allocations: 33.92 kB / 1.481 GB, free: 2.34 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/0.9899, allocations: 0.8822 MB / 1.482 GB, free: 1.457 MB / 1.17 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.005315/0.9952, allocations: 3.638 MB / 1.485 GB, free: 13.59 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.9967, allocations: 0.593 MB / 1.486 GB, free: 12.99 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007633/0.9975, allocations: 350.4 kB / 1.486 GB, free: 12.65 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001579/0.9977, allocations: 97.09 kB / 1.486 GB, free: 12.54 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.9977, allocations: 46.48 kB / 1.486 GB, free: 12.48 MB / 1.186 GB Notification: Performance of pre-optimization done (n=39): time 1.443e-06/0.9977, allocations: 0 / 1.486 GB, free: 12.48 MB / 1.186 GB Notification: Performance of matching and sorting (n=41): time 0.004533/1.002, allocations: 1.901 MB / 1.488 GB, free: 10.52 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/1.002, allocations: 55.41 kB / 1.488 GB, free: 10.46 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008895/1.003, allocations: 0.7861 MB / 1.489 GB, free: 9.664 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.174e-05/1.003, allocations: 37.7 kB / 1.489 GB, free: 9.621 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000336/1.004, allocations: 464.4 kB / 1.489 GB, free: 9.164 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/1.004, allocations: 154.7 kB / 1.489 GB, free: 9.012 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/1.004, allocations: 106.2 kB / 1.49 GB, free: 8.902 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.004, allocations: 333.9 kB / 1.49 GB, free: 8.57 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007644/1.005, allocations: 304.9 kB / 1.49 GB, free: 8.273 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008568/1.006, allocations: 447.5 kB / 1.491 GB, free: 7.789 MB / 1.186 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.005054/1.011, allocations: 1.927 MB / 1.493 GB, free: 5.801 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/1.011, allocations: 4 kB / 1.493 GB, free: 5.797 MB / 1.186 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001814/1.013, allocations: 0.8476 MB / 1.493 GB, free: 4.941 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/1.013, allocations: 6.344 kB / 1.493 GB, free: 4.938 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/1.013, allocations: 8.094 kB / 1.493 GB, free: 4.93 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/1.013, allocations: 11.98 kB / 1.493 GB, free: 4.918 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007539/1.013, allocations: 163.7 kB / 1.494 GB, free: 4.758 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/1.013, allocations: 12 kB / 1.494 GB, free: 4.746 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007239/1.014, allocations: 62.5 kB / 1.494 GB, free: 4.688 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-05/1.014, allocations: 20 kB / 1.494 GB, free: 4.668 MB / 1.186 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: 14 * 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 (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003452/1.015, allocations: 287.8 kB / 1.494 GB, free: 4.379 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/1.015, allocations: 91.44 kB / 1.494 GB, free: 4.289 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000182/1.015, allocations: 96.08 kB / 1.494 GB, free: 4.191 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/1.015, allocations: 4 kB / 1.494 GB, free: 4.188 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.015, allocations: 0 / 1.494 GB, free: 4.188 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001492/1.016, allocations: 0.6872 MB / 1.495 GB, free: 3.469 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003602/1.02, allocations: 1.9 MB / 1.497 GB, free: 1.473 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.02, allocations: 9.188 kB / 1.497 GB, free: 1.465 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007052/1.021, allocations: 143.8 kB / 1.497 GB, free: 1.324 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/1.021, allocations: 4 kB / 1.497 GB, free: 1.32 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/1.021, allocations: 16 kB / 1.497 GB, free: 1.305 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/1.021, allocations: 7.938 kB / 1.497 GB, free: 1.297 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/1.021, allocations: 4 kB / 1.497 GB, free: 1.293 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/1.023, allocations: 1.23 MB / 1.498 GB, free: 0 / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003216/1.024, allocations: 240.5 kB / 1.498 GB, free: 15.75 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/1.024, allocations: 15.98 kB / 1.498 GB, free: 15.73 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007328/1.024, allocations: 68.83 kB / 1.498 GB, free: 15.66 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.977e-05/1.025, allocations: 35.78 kB / 1.498 GB, free: 15.63 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.94e-05/1.025, allocations: 27.98 kB / 1.498 GB, free: 15.6 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006326/1.025, allocations: 0.5419 MB / 1.499 GB, free: 15.07 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.2e-07/1.025, allocations: 4 kB / 1.499 GB, free: 15.06 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006218/1.026, allocations: 247.9 kB / 1.499 GB, free: 14.82 MB / 1.201 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 (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003026/1.029, allocations: 1.884 MB / 1.501 GB, free: 12.88 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001612/1.031, allocations: 0.6784 MB / 1.502 GB, free: 12.2 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.031, allocations: 64 / 1.502 GB, free: 12.2 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007658/1.031, allocations: 336.3 kB / 1.502 GB, free: 11.88 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/1.033, allocations: 0.5283 MB / 1.502 GB, free: 11.36 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/1.045, allocations: 7.197 MB / 1.509 GB, free: 3.863 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006584/1.046, allocations: 1.044 MB / 1.51 GB, free: 2.793 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0006182/1.046, allocations: 219 kB / 1.511 GB, free: 2.574 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004582/1.047, allocations: 323.3 kB / 1.511 GB, free: 2.258 MB / 1.201 GB Notification: Performance of SimCode: time 2.71e-07/1.047, allocations: 4 kB / 1.511 GB, free: 2.254 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.17/2.217, allocations: 25.58 MB / 1.536 GB, free: 9.105 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/14.71, allocations: 15.88 kB / 1.536 GB, free: 9.094 MB / 1.232 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches