Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",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.009004/0.009004, allocations: 101.6 kB / 15.73 MB, free: 5.539 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.001991/0.001991, allocations: 193.1 kB / 16.67 MB, free: 5.469 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.364/2.364, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 71.89 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8301/0.8315, allocations: 140.4 MB / 1.088 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2247/1.056, allocations: 190.5 MB / 1.274 GB, free: 15.23 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009279/1.066, allocations: 5.712 MB / 1.279 GB, free: 9.5 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001687/1.067, allocations: 39.75 kB / 1.279 GB, free: 9.461 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001656/1.069, allocations: 0.563 MB / 1.28 GB, free: 8.895 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004133/1.073, allocations: 1.618 MB / 1.281 GB, free: 7.27 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003186/1.076, allocations: 1.206 MB / 1.282 GB, free: 6.07 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00337/1.08, allocations: 2.558 MB / 1.285 GB, free: 3.512 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001607/1.081, allocations: 1.047 MB / 1.286 GB, free: 2.445 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002143/1.083, allocations: 1.062 MB / 1.287 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001988/1.085, allocations: 0.8574 MB / 1.288 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002899/1.086, allocations: 108 kB / 1.288 GB, free: 428 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003178/1.089, allocations: 1.555 MB / 1.289 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0007068/1.09, allocations: 0.491 MB / 1.29 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001278/1.091, allocations: 0.6454 MB / 1.291 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003611/1.095, allocations: 2.174 MB / 1.293 GB, free: 11.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.095, allocations: 4 kB / 1.293 GB, free: 11.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.405e-06/1.095, allocations: 0 / 1.293 GB, free: 11.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.647e-05/1.095, allocations: 0 / 1.293 GB, free: 11.54 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.003522/1.098, allocations: 1.515 MB / 1.294 GB, free: 9.969 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/1.098, allocations: 11.97 kB / 1.294 GB, free: 9.957 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003329/1.099, allocations: 139.3 kB / 1.294 GB, free: 9.812 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003228/1.102, allocations: 474.1 kB / 1.295 GB, free: 9.348 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/1.104, allocations: 0.8553 MB / 1.296 GB, free: 8.449 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.399e-05/1.104, allocations: 66 kB / 1.296 GB, free: 8.383 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002035/1.104, allocations: 84 kB / 1.296 GB, free: 8.301 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002585/1.107, allocations: 1.179 MB / 1.297 GB, free: 7.102 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/1.107, allocations: 0 / 1.297 GB, free: 7.102 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/1.107, allocations: 40 kB / 1.297 GB, free: 7.062 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.183e-05/1.107, allocations: 33.98 kB / 1.297 GB, free: 7.027 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002498/1.11, allocations: 1.066 MB / 1.298 GB, free: 5.961 MB / 1.029 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.007782/1.117, allocations: 4.307 MB / 1.302 GB, free: 1.387 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/1.119, allocations: 0.7482 MB / 1.303 GB, free: 0.6289 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009125/1.12, allocations: 401.7 kB / 1.303 GB, free: 240 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001968/1.12, allocations: 101.1 kB / 1.303 GB, free: 120 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/1.121, allocations: 42.56 kB / 1.303 GB, free: 68 kB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 2.755e-06/1.121, allocations: 0 / 1.303 GB, free: 68 kB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.005982/1.127, allocations: 2.186 MB / 1.306 GB, free: 13.83 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/1.127, allocations: 55.41 kB / 1.306 GB, free: 13.76 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/1.128, allocations: 0.8686 MB / 1.307 GB, free: 12.89 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.902e-05/1.128, allocations: 37.7 kB / 1.307 GB, free: 12.84 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003579/1.128, allocations: 495.3 kB / 1.307 GB, free: 12.36 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/1.128, allocations: 161.6 kB / 1.307 GB, free: 12.2 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/1.129, allocations: 122.2 kB / 1.307 GB, free: 12.07 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001112/1.129, allocations: 330 kB / 1.308 GB, free: 11.74 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009352/1.13, allocations: 369 kB / 1.308 GB, free: 11.38 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/1.131, allocations: 0.5052 MB / 1.308 GB, free: 10.82 MB / 1.045 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.006009/1.137, allocations: 2.259 MB / 1.311 GB, free: 8.496 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/1.137, allocations: 4 kB / 1.311 GB, free: 8.492 MB / 1.045 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002369/1.139, allocations: 0.9859 MB / 1.312 GB, free: 7.496 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/1.139, allocations: 8 kB / 1.312 GB, free: 7.488 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/1.139, allocations: 4 kB / 1.312 GB, free: 7.484 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.954e-05/1.139, allocations: 16.05 kB / 1.312 GB, free: 7.469 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009425/1.14, allocations: 187.7 kB / 1.312 GB, free: 7.285 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.908e-05/1.14, allocations: 15.94 kB / 1.312 GB, free: 7.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/1.141, allocations: 67.92 kB / 1.312 GB, free: 7.203 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-05/1.141, allocations: 24 kB / 1.312 GB, free: 7.18 MB / 1.045 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: 17 * 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 (73): * Single equations (assignments): 73 * 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.0005081/1.142, allocations: 314.1 kB / 1.312 GB, free: 6.863 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/1.142, allocations: 94.88 kB / 1.312 GB, free: 6.77 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/1.142, allocations: 104.8 kB / 1.312 GB, free: 6.664 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/1.142, allocations: 7.938 kB / 1.312 GB, free: 6.656 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.142, allocations: 0 / 1.312 GB, free: 6.656 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002007/1.144, allocations: 1.026 MB / 1.313 GB, free: 5.543 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004968/1.149, allocations: 2.137 MB / 1.316 GB, free: 3.309 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/1.149, allocations: 8.031 kB / 1.316 GB, free: 3.301 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008586/1.15, allocations: 159.8 kB / 1.316 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-05/1.15, allocations: 8 kB / 1.316 GB, free: 3.137 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.047e-05/1.15, allocations: 16 kB / 1.316 GB, free: 3.121 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/1.15, allocations: 7.938 kB / 1.316 GB, free: 3.113 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/1.15, allocations: 7.938 kB / 1.316 GB, free: 3.105 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003071/1.153, allocations: 1.411 MB / 1.317 GB, free: 1.637 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000605/1.154, allocations: 255.9 kB / 1.317 GB, free: 1.367 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/1.154, allocations: 12 kB / 1.317 GB, free: 1.355 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009682/1.155, allocations: 70.33 kB / 1.317 GB, free: 1.289 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.956e-05/1.155, allocations: 47.83 kB / 1.317 GB, free: 1.242 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.921e-05/1.155, allocations: 27.92 kB / 1.317 GB, free: 1.215 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008308/1.156, allocations: 0.6044 MB / 1.318 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/1.156, allocations: 0 / 1.318 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009877/1.157, allocations: 268 kB / 1.318 GB, free: 364 kB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (45): * Single equations (assignments): 45 * 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.003872/1.161, allocations: 2.083 MB / 1.32 GB, free: 14.21 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002113/1.163, allocations: 0.8038 MB / 1.321 GB, free: 13.41 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/1.163, allocations: 4 kB / 1.321 GB, free: 13.41 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0009466/1.164, allocations: 392.4 kB / 1.322 GB, free: 13.02 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002785/1.167, allocations: 0.5773 MB / 1.322 GB, free: 12.45 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01527/1.182, allocations: 8.187 MB / 1.33 GB, free: 3.953 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007757/1.183, allocations: 1.114 MB / 1.331 GB, free: 2.812 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0009539/1.184, allocations: 259.8 kB / 1.331 GB, free: 2.555 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005708/1.185, allocations: 355.3 kB / 1.332 GB, free: 2.211 MB / 1.061 GB Notification: Performance of SimCode: time 6.31e-07/1.185, allocations: 0 / 1.332 GB, free: 2.211 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05641/1.241, allocations: 29.17 MB / 1.36 GB, free: 5.551 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.093/10.33, allocations: 448 / 1.36 GB, free: 5.551 MB / 1.092 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches