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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004845/0.004845, allocations: 102.1 kB / 15.73 MB, free: 5.555 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.00104/0.00104, allocations: 194.5 kB / 16.67 MB, free: 5.484 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.834/2.834, allocations: 472.6 MB / 0.7453 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 63.89 kB / 1.069 GB, free: 9.184 MB / 0.8263 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3458, allocations: 159.9 MB / 1.226 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 1.041/1.387, allocations: 221.1 MB / 1.442 GB, free: 1.195 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01098/1.398, allocations: 5.738 MB / 1.447 GB, free: 11.5 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001976/1.4, allocations: 39.75 kB / 1.447 GB, free: 11.46 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002053/1.402, allocations: 0.5747 MB / 1.448 GB, free: 10.88 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004732/1.407, allocations: 1.622 MB / 1.449 GB, free: 9.25 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003759/1.411, allocations: 1.223 MB / 1.451 GB, free: 8.043 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004191/1.415, allocations: 2.566 MB / 1.453 GB, free: 5.469 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001661/1.417, allocations: 0.9078 MB / 1.454 GB, free: 4.551 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002538/1.419, allocations: 1.062 MB / 1.455 GB, free: 3.484 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0027/1.422, allocations: 0.8354 MB / 1.456 GB, free: 2.664 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002716/1.422, allocations: 96 kB / 1.456 GB, free: 2.57 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003673/1.426, allocations: 1.54 MB / 1.457 GB, free: 1.027 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005129/1.426, allocations: 410.9 kB / 1.458 GB, free: 0.625 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0009002/1.427, allocations: 0.5794 MB / 1.458 GB, free: 44 kB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003895/1.431, allocations: 2.024 MB / 1.46 GB, free: 14.01 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.431, allocations: 0 / 1.46 GB, free: 14.01 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.375e-06/1.431, allocations: 4 kB / 1.46 GB, free: 14.01 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.647e-05/1.431, allocations: 0 / 1.46 GB, free: 14.01 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.002287/1.433, allocations: 1.459 MB / 1.462 GB, free: 12.49 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/1.434, allocations: 8.031 kB / 1.462 GB, free: 12.48 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002587/1.436, allocations: 418.8 kB / 1.462 GB, free: 12.07 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/1.437, allocations: 0.8123 MB / 1.463 GB, free: 11.22 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.73e-05/1.438, allocations: 65.98 kB / 1.463 GB, free: 11.15 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/1.438, allocations: 72 kB / 1.463 GB, free: 11.08 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/1.44, allocations: 0.9866 MB / 1.464 GB, free: 10.08 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/1.44, allocations: 0 / 1.464 GB, free: 10.08 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.903e-05/1.44, allocations: 32 kB / 1.464 GB, free: 10.05 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.51e-05/1.44, allocations: 34 kB / 1.464 GB, free: 10.01 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001901/1.442, allocations: 0.8782 MB / 1.465 GB, free: 9.137 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.005448/1.447, allocations: 3.479 MB / 1.468 GB, free: 5.473 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/1.449, allocations: 0.6008 MB / 1.469 GB, free: 4.863 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007494/1.449, allocations: 343.2 kB / 1.469 GB, free: 4.527 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001809/1.45, allocations: 97.09 kB / 1.469 GB, free: 4.414 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/1.45, allocations: 46.48 kB / 1.469 GB, free: 4.359 MB / 1.154 GB Notification: Performance of pre-optimization done (n=39): time 1.974e-06/1.45, allocations: 0 / 1.469 GB, free: 4.359 MB / 1.154 GB Notification: Performance of matching and sorting (n=41): time 0.004954/1.455, allocations: 1.904 MB / 1.471 GB, free: 2.398 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/1.455, allocations: 59.41 kB / 1.471 GB, free: 2.328 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/1.456, allocations: 0.7783 MB / 1.472 GB, free: 1.539 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.589e-05/1.456, allocations: 41.58 kB / 1.472 GB, free: 1.492 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003652/1.456, allocations: 472.4 kB / 1.473 GB, free: 1.027 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/1.456, allocations: 146.7 kB / 1.473 GB, free: 0.8828 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/1.456, allocations: 110.2 kB / 1.473 GB, free: 0.7656 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.457, allocations: 326 kB / 1.473 GB, free: 452 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007908/1.457, allocations: 316.9 kB / 1.473 GB, free: 136 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008923/1.458, allocations: 444.7 kB / 1.474 GB, free: 15.66 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.005187/1.463, allocations: 1.931 MB / 1.476 GB, free: 13.66 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/1.464, allocations: 4 kB / 1.476 GB, free: 13.66 MB / 1.17 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001979/1.465, allocations: 0.843 MB / 1.477 GB, free: 12.8 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/1.466, allocations: 9.719 kB / 1.477 GB, free: 12.8 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.466, allocations: 4 kB / 1.477 GB, free: 12.79 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/1.466, allocations: 4 kB / 1.477 GB, free: 12.79 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000822/1.466, allocations: 175.8 kB / 1.477 GB, free: 12.62 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/1.466, allocations: 4 kB / 1.477 GB, free: 12.61 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008911/1.467, allocations: 55.94 kB / 1.477 GB, free: 12.56 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.074e-05/1.467, allocations: 24.88 kB / 1.477 GB, free: 12.54 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: 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.0005431/1.468, allocations: 282.2 kB / 1.477 GB, free: 12.25 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/1.468, allocations: 95.42 kB / 1.477 GB, free: 12.16 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/1.468, allocations: 96.08 kB / 1.477 GB, free: 12.06 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/1.468, allocations: 4 kB / 1.477 GB, free: 12.05 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/1.468, allocations: 0 / 1.477 GB, free: 12.05 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001551/1.47, allocations: 0.6949 MB / 1.478 GB, free: 11.33 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003845/1.474, allocations: 1.908 MB / 1.48 GB, free: 9.324 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/1.474, allocations: 1.125 kB / 1.48 GB, free: 9.324 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007227/1.475, allocations: 155.9 kB / 1.48 GB, free: 9.172 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/1.475, allocations: 4 kB / 1.48 GB, free: 9.168 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-05/1.475, allocations: 12 kB / 1.48 GB, free: 9.156 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/1.475, allocations: 4 kB / 1.48 GB, free: 9.152 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/1.475, allocations: 4 kB / 1.48 GB, free: 9.148 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002537/1.477, allocations: 1.233 MB / 1.481 GB, free: 7.855 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003965/1.478, allocations: 232.5 kB / 1.481 GB, free: 7.609 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/1.478, allocations: 23.98 kB / 1.481 GB, free: 7.586 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007925/1.479, allocations: 63.72 kB / 1.481 GB, free: 7.527 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.35e-05/1.479, allocations: 35.84 kB / 1.482 GB, free: 7.492 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.366e-05/1.479, allocations: 31.98 kB / 1.482 GB, free: 7.461 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006717/1.479, allocations: 0.5419 MB / 1.482 GB, free: 6.926 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.51e-07/1.479, allocations: 0 / 1.482 GB, free: 6.926 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008005/1.48, allocations: 243.9 kB / 1.482 GB, free: 6.688 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 (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.0005006/1.481, allocations: 210.3 kB / 1.483 GB, free: 6.48 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001727/1.482, allocations: 0.6861 MB / 1.483 GB, free: 5.797 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.482, allocations: 4.188 kB / 1.483 GB, free: 5.793 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007897/1.483, allocations: 332.3 kB / 1.484 GB, free: 5.469 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00228/1.486, allocations: 0.5352 MB / 1.484 GB, free: 4.945 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004139/1.49, allocations: 1.902 MB / 1.486 GB, free: 2.969 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005959/1.49, allocations: 1.044 MB / 1.487 GB, free: 1.895 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0007374/1.491, allocations: 219 kB / 1.487 GB, free: 1.676 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/1.491, allocations: 71.42 kB / 1.487 GB, free: 1.609 MB / 1.17 GB Notification: Performance of SimCode: time 5.51e-07/1.491, allocations: 0 / 1.487 GB, free: 1.609 MB / 1.17 GB Notification: Performance of Templates: time 0.03241/1.524, allocations: 18.7 MB / 1.505 GB, free: 15.17 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.makefile (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 & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches