Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00782/0.00782, allocations: 97.95 kB / 15.73 MB, free: 6.062 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.001557/0.001557, allocations: 194.7 kB / 16.68 MB, free: 5.969 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.602/2.602, allocations: 472.6 MB / 0.7453 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.91 kB / 1.069 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9083/0.9096, allocations: 159.9 MB / 1.226 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2128/1.122, allocations: 190.5 MB / 1.412 GB, free: 14.36 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01161/1.134, allocations: 5.726 MB / 1.417 GB, free: 8.625 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/1.136, allocations: 39.75 kB / 1.417 GB, free: 8.586 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001786/1.138, allocations: 0.563 MB / 1.418 GB, free: 8.02 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005012/1.143, allocations: 1.614 MB / 1.419 GB, free: 6.398 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003851/1.147, allocations: 1.21 MB / 1.421 GB, free: 5.195 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004733/1.152, allocations: 2.563 MB / 1.423 GB, free: 2.633 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0016/1.153, allocations: 1.032 MB / 1.424 GB, free: 1.582 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002572/1.156, allocations: 1.051 MB / 1.425 GB, free: 0.5273 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002365/1.158, allocations: 0.8509 MB / 1.426 GB, free: 15.68 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002445/1.158, allocations: 108 kB / 1.426 GB, free: 15.57 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003469/1.162, allocations: 1.559 MB / 1.428 GB, free: 14.01 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006284/1.163, allocations: 0.4987 MB / 1.428 GB, free: 13.51 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0009258/1.164, allocations: 0.6416 MB / 1.429 GB, free: 12.87 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003904/1.167, allocations: 2.188 MB / 1.431 GB, free: 10.67 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/1.167, allocations: 4 kB / 1.431 GB, free: 10.67 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.355e-06/1.167, allocations: 0 / 1.431 GB, free: 10.67 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.692e-05/1.167, allocations: 0 / 1.431 GB, free: 10.67 MB / 1.154 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.002574/1.17, allocations: 1.556 MB / 1.432 GB, free: 9.055 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/1.17, allocations: 8.031 kB / 1.432 GB, free: 9.047 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003035/1.173, allocations: 478.8 kB / 1.433 GB, free: 8.578 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/1.175, allocations: 0.8559 MB / 1.434 GB, free: 7.68 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.882e-05/1.175, allocations: 70 kB / 1.434 GB, free: 7.613 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/1.175, allocations: 84 kB / 1.434 GB, free: 7.531 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/1.177, allocations: 1.183 MB / 1.435 GB, free: 6.324 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/1.177, allocations: 0 / 1.435 GB, free: 6.324 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.77e-05/1.177, allocations: 36 kB / 1.435 GB, free: 6.289 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.505e-05/1.177, allocations: 34 kB / 1.435 GB, free: 6.258 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002401/1.18, allocations: 1.066 MB / 1.436 GB, free: 5.191 MB / 1.154 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.006907/1.187, allocations: 4.316 MB / 1.44 GB, free: 0.6172 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/1.189, allocations: 0.7521 MB / 1.441 GB, free: 15.86 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009341/1.19, allocations: 400.5 kB / 1.441 GB, free: 15.46 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/1.19, allocations: 105.1 kB / 1.441 GB, free: 15.34 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/1.19, allocations: 42.56 kB / 1.442 GB, free: 15.29 MB / 1.17 GB Notification: Performance of pre-optimization done (n=43): time 2.124e-06/1.19, allocations: 0 / 1.442 GB, free: 15.29 MB / 1.17 GB Notification: Performance of matching and sorting (n=45): time 0.005987/1.196, allocations: 2.192 MB / 1.444 GB, free: 13.04 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/1.196, allocations: 59.34 kB / 1.444 GB, free: 12.97 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/1.197, allocations: 0.8647 MB / 1.445 GB, free: 12.1 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.404e-05/1.197, allocations: 37.7 kB / 1.445 GB, free: 12.05 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003545/1.198, allocations: 0.4885 MB / 1.445 GB, free: 11.56 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/1.198, allocations: 174.6 kB / 1.445 GB, free: 11.39 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/1.198, allocations: 118.2 kB / 1.445 GB, free: 11.27 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001213/1.198, allocations: 330 kB / 1.446 GB, free: 10.94 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000951/1.199, allocations: 373 kB / 1.446 GB, free: 10.57 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/1.2, allocations: 0.4936 MB / 1.447 GB, free: 10.03 MB / 1.17 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.006214/1.206, allocations: 2.261 MB / 1.449 GB, free: 7.703 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/1.206, allocations: 8 kB / 1.449 GB, free: 7.695 MB / 1.17 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002447/1.209, allocations: 0.9864 MB / 1.45 GB, free: 6.699 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/1.209, allocations: 4 kB / 1.45 GB, free: 6.695 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/1.209, allocations: 4 kB / 1.45 GB, free: 6.691 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/1.209, allocations: 8 kB / 1.45 GB, free: 6.684 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009561/1.21, allocations: 199.8 kB / 1.45 GB, free: 6.488 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/1.21, allocations: 15.88 kB / 1.45 GB, free: 6.473 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/1.211, allocations: 67.88 kB / 1.45 GB, free: 6.406 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.384e-05/1.211, allocations: 27.98 kB / 1.45 GB, free: 6.379 MB / 1.17 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.000518/1.212, allocations: 317.5 kB / 1.45 GB, free: 6.059 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/1.212, allocations: 95.44 kB / 1.45 GB, free: 5.965 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/1.212, allocations: 104.8 kB / 1.45 GB, free: 5.859 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/1.212, allocations: 11.94 kB / 1.451 GB, free: 5.848 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/1.212, allocations: 3.938 kB / 1.451 GB, free: 5.844 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001984/1.214, allocations: 1.019 MB / 1.451 GB, free: 4.738 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004536/1.219, allocations: 2.144 MB / 1.454 GB, free: 2.496 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/1.219, allocations: 0 / 1.454 GB, free: 2.496 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008726/1.219, allocations: 164.2 kB / 1.454 GB, free: 2.336 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/1.219, allocations: 4 kB / 1.454 GB, free: 2.332 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.806e-05/1.219, allocations: 23.98 kB / 1.454 GB, free: 2.309 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.078e-05/1.219, allocations: 11.94 kB / 1.454 GB, free: 2.297 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.22, allocations: 3.938 kB / 1.454 GB, free: 2.293 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003167/1.223, allocations: 1.415 MB / 1.455 GB, free: 0.8164 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005102/1.223, allocations: 260.4 kB / 1.455 GB, free: 0.543 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/1.223, allocations: 16 kB / 1.455 GB, free: 0.5273 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009028/1.224, allocations: 67.86 kB / 1.456 GB, free: 472 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/1.224, allocations: 43.83 kB / 1.456 GB, free: 428 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.634e-05/1.224, allocations: 31.98 kB / 1.456 GB, free: 396 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008807/1.225, allocations: 0.6005 MB / 1.456 GB, free: 15.79 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/1.225, allocations: 0 / 1.456 GB, free: 15.79 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009395/1.226, allocations: 267.9 kB / 1.456 GB, free: 15.53 MB / 1.186 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.0004736/1.227, allocations: 220.5 kB / 1.457 GB, free: 15.31 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0021/1.229, allocations: 0.8078 MB / 1.457 GB, free: 14.5 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.229, allocations: 4.75 kB / 1.457 GB, free: 14.5 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009892/1.23, allocations: 392.3 kB / 1.458 GB, free: 14.11 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/1.232, allocations: 0.575 MB / 1.458 GB, free: 13.55 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004772/1.237, allocations: 2.208 MB / 1.461 GB, free: 11.27 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006829/1.238, allocations: 1.11 MB / 1.462 GB, free: 10.13 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009156/1.239, allocations: 267.7 kB / 1.462 GB, free: 9.867 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002878/1.239, allocations: 79.42 kB / 1.462 GB, free: 9.789 MB / 1.186 GB Notification: Performance of SimCode: time 8.82e-07/1.239, allocations: 0 / 1.462 GB, free: 9.789 MB / 1.186 GB Notification: Performance of Templates: time 0.03366/1.273, allocations: 21.08 MB / 1.483 GB, free: 4.996 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches