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 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.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.004333/0.004333, allocations: 98.64 kB / 15.73 MB, free: 6.039 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.001278/0.001278, allocations: 202.3 kB / 16.68 MB, free: 5.961 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.242/1.242, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.494/2.494, allocations: 482.6 MB / 0.755 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 67.89 kB / 1.083 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2575, allocations: 162.3 MB / 1.242 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.6414/0.899, allocations: 190.7 MB / 1.428 GB, free: 5.227 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.007932/0.9069, allocations: 5.741 MB / 1.434 GB, free: 0.5469 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004979/0.9075, allocations: 42.09 kB / 1.434 GB, free: 0.5312 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.9086, allocations: 0.5757 MB / 1.434 GB, free: 56 kB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002855/0.9115, allocations: 1.623 MB / 1.436 GB, free: 14.79 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002273/0.9138, allocations: 1.214 MB / 1.437 GB, free: 13.88 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002245/0.9161, allocations: 2.56 MB / 1.44 GB, free: 12.41 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009278/0.917, allocations: 0.8814 MB / 1.44 GB, free: 11.78 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00163/0.9186, allocations: 1.203 MB / 1.442 GB, free: 10.57 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.92, allocations: 0.8017 MB / 1.442 GB, free: 9.781 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001484/0.9202, allocations: 96 kB / 1.442 GB, free: 9.688 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002218/0.9224, allocations: 1.536 MB / 1.444 GB, free: 8.148 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000366/0.9228, allocations: 402.9 kB / 1.444 GB, free: 7.754 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005678/0.9233, allocations: 0.5872 MB / 1.445 GB, free: 7.164 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002203/0.9255, allocations: 2.025 MB / 1.447 GB, free: 5.133 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.9256, allocations: 0 / 1.447 GB, free: 5.133 MB / 1.139 GB Notification: Performance of FrontEnd: time 4.158e-06/0.9256, allocations: 0 / 1.447 GB, free: 5.133 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.9256, allocations: 7.938 kB / 1.447 GB, free: 5.125 MB / 1.139 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.002019/0.9276, allocations: 1.459 MB / 1.448 GB, free: 3.613 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.9276, allocations: 8.031 kB / 1.448 GB, free: 3.605 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.9278, allocations: 130.5 kB / 1.448 GB, free: 3.469 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002292/0.9301, allocations: 422.9 kB / 1.449 GB, free: 3.055 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.9313, allocations: 0.8085 MB / 1.45 GB, free: 2.203 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.9e-05/0.9314, allocations: 58 kB / 1.45 GB, free: 2.148 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.9315, allocations: 72 kB / 1.45 GB, free: 2.078 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.9332, allocations: 0.9866 MB / 1.451 GB, free: 1.07 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.9332, allocations: 0 / 1.451 GB, free: 1.07 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.9e-05/0.9333, allocations: 39.94 kB / 1.451 GB, free: 1.031 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.369e-05/0.9333, allocations: 26 kB / 1.451 GB, free: 1.008 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/0.9352, allocations: 0.8743 MB / 1.452 GB, free: 132 kB / 1.139 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.005232/0.9404, allocations: 3.488 MB / 1.455 GB, free: 12.46 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.9419, allocations: 0.6054 MB / 1.456 GB, free: 11.85 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007398/0.9427, allocations: 329.3 kB / 1.456 GB, free: 11.53 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/0.9429, allocations: 109.4 kB / 1.456 GB, free: 11.4 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.9429, allocations: 47.14 kB / 1.456 GB, free: 11.35 MB / 1.154 GB Notification: Performance of pre-optimization done (n=39): time 1.332e-06/0.9429, allocations: 0 / 1.456 GB, free: 11.35 MB / 1.154 GB Notification: Performance of matching and sorting (n=41): time 0.007168/0.9501, allocations: 2.41 MB / 1.459 GB, free: 8.859 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.9501, allocations: 59.41 kB / 1.459 GB, free: 8.789 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008878/0.951, allocations: 0.794 MB / 1.459 GB, free: 7.988 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.009e-05/0.9511, allocations: 33.7 kB / 1.459 GB, free: 7.949 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003212/0.9514, allocations: 456.5 kB / 1.46 GB, free: 7.496 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.9516, allocations: 158.6 kB / 1.46 GB, free: 7.34 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/0.9517, allocations: 106.2 kB / 1.46 GB, free: 7.23 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.9519, allocations: 334 kB / 1.46 GB, free: 6.898 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007353/0.9526, allocations: 296.9 kB / 1.461 GB, free: 6.609 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008096/0.9534, allocations: 412.1 kB / 1.461 GB, free: 6.172 MB / 1.154 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.004947/0.9584, allocations: 1.87 MB / 1.463 GB, free: 4.242 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.9584, allocations: 1.062 kB / 1.463 GB, free: 4.242 MB / 1.154 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002882/0.9613, allocations: 1.039 MB / 1.464 GB, free: 3.191 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.9613, allocations: 8 kB / 1.464 GB, free: 3.184 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.9613, allocations: 3.984 kB / 1.464 GB, free: 3.18 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005434/0.9619, allocations: 192.7 kB / 1.464 GB, free: 2.988 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006245/0.9625, allocations: 139.8 kB / 1.464 GB, free: 2.852 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003628/0.9661, allocations: 2.234 MB / 1.466 GB, free: 492 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000723/0.9669, allocations: 52.02 kB / 1.466 GB, free: 440 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.9669, allocations: 20 kB / 1.466 GB, free: 420 kB / 1.154 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.0003301/0.9673, allocations: 284.3 kB / 1.467 GB, free: 128 kB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.9674, allocations: 99.36 kB / 1.467 GB, free: 28 kB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001816/0.9676, allocations: 92.25 kB / 1.467 GB, free: 15.93 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.9676, allocations: 7.938 kB / 1.467 GB, free: 15.93 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.9676, allocations: 3.984 kB / 1.467 GB, free: 15.92 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002603/0.9702, allocations: 0.8984 MB / 1.468 GB, free: 14.99 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004658/0.9749, allocations: 2.088 MB / 1.47 GB, free: 12.8 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.9749, allocations: 4 kB / 1.47 GB, free: 12.8 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005772/0.9755, allocations: 136.1 kB / 1.47 GB, free: 12.67 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005055/0.976, allocations: 192.7 kB / 1.47 GB, free: 12.48 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/0.9761, allocations: 12 kB / 1.47 GB, free: 12.46 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003404/0.9795, allocations: 2.188 MB / 1.472 GB, free: 10.14 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.9795, allocations: 4 kB / 1.472 GB, free: 10.14 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003517/0.983, allocations: 1.43 MB / 1.474 GB, free: 8.645 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003069/0.9833, allocations: 244.4 kB / 1.474 GB, free: 8.387 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.9834, allocations: 16 kB / 1.474 GB, free: 8.371 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007315/0.9842, allocations: 56 kB / 1.474 GB, free: 8.316 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.183e-05/0.9843, allocations: 43.83 kB / 1.474 GB, free: 8.273 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.445e-05/0.9843, allocations: 28.67 kB / 1.474 GB, free: 8.246 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006283/0.985, allocations: 0.5498 MB / 1.475 GB, free: 7.699 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.985, allocations: 0 / 1.475 GB, free: 7.699 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006698/0.9857, allocations: 279.9 kB / 1.475 GB, free: 7.426 MB / 1.17 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.004098/0.9898, allocations: 2.065 MB / 1.477 GB, free: 5.305 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00182/0.9916, allocations: 0.8013 MB / 1.478 GB, free: 4.492 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.9916, allocations: 0.5 kB / 1.478 GB, free: 4.492 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0008899/0.9925, allocations: 463 kB / 1.478 GB, free: 4.027 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/0.9947, allocations: 0.5341 MB / 1.479 GB, free: 3.496 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/1.008, allocations: 7.69 MB / 1.486 GB, free: 11.53 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006335/1.009, allocations: 1.052 MB / 1.487 GB, free: 10.45 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0005623/1.01, allocations: 207.1 kB / 1.487 GB, free: 10.24 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004205/1.01, allocations: 315.3 kB / 1.488 GB, free: 9.934 MB / 1.186 GB Notification: Performance of SimCode: time 2.41e-07/1.01, allocations: 0 / 1.488 GB, free: 9.934 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.966/6.977, allocations: 27.82 MB / 1.515 GB, free: 14.58 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.2/24.18, allocations: 14.27 kB / 1.515 GB, free: 14.58 MB / 1.217 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=400 --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