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.001457/0.001457, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001552/0.001552, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.423/1.423, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.908/2.908, allocations: 472.7 MB / 0.7447 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 63.53 kB / 0.9114 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3545, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 1.121/1.476, allocations: 218.9 MB / 1.281 GB, free: 20.36 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01069/1.486, allocations: 5.794 MB / 1.287 GB, free: 20.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002225/1.489, allocations: 36.16 kB / 1.287 GB, free: 20.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002077/1.491, allocations: 0.4976 MB / 1.287 GB, free: 20.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005721/1.497, allocations: 1.533 MB / 1.289 GB, free: 20.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004204/1.501, allocations: 1.081 MB / 1.29 GB, free: 20.09 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006934/1.508, allocations: 3.55 MB / 1.293 GB, free: 20.08 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002185/1.51, allocations: 0.7648 MB / 1.294 GB, free: 19.99 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003846/1.514, allocations: 0.9202 MB / 1.295 GB, free: 19.98 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004856/1.519, allocations: 0.8704 MB / 1.296 GB, free: 19.97 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008988/1.52, allocations: 49.22 kB / 1.296 GB, free: 19.97 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00618/1.526, allocations: 1.73 MB / 1.298 GB, free: 19.95 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001474/1.527, allocations: 355.1 kB / 1.298 GB, free: 19.95 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002886/1.53, allocations: 0.538 MB / 1.299 GB, free: 19.87 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007417/1.538, allocations: 2.038 MB / 1.301 GB, free: 19.64 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/1.538, allocations: 1.312 kB / 1.301 GB, free: 19.64 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.192e-06/1.538, allocations: 7.938 kB / 1.301 GB, free: 19.63 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001102/1.538, allocations: 0 / 1.301 GB, free: 19.63 MB / 0.9981 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.006755/1.545, allocations: 1.429 MB / 1.302 GB, free: 18.86 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.203e-05/1.545, allocations: 12.62 kB / 1.302 GB, free: 18.85 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003799/1.549, allocations: 415.6 kB / 1.302 GB, free: 18.79 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002525/1.551, allocations: 0.7667 MB / 1.303 GB, free: 18.47 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004653/1.552, allocations: 114.9 kB / 1.303 GB, free: 18.46 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003892/1.552, allocations: 78.48 kB / 1.303 GB, free: 18.46 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003065/1.555, allocations: 1.003 MB / 1.304 GB, free: 18.36 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.283e-05/1.555, allocations: 0 / 1.304 GB, free: 18.36 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/1.555, allocations: 33.44 kB / 1.304 GB, free: 18.36 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.902e-05/1.555, allocations: 31.64 kB / 1.304 GB, free: 18.36 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002539/1.558, allocations: 0.8876 MB / 1.305 GB, free: 18.34 MB / 0.9981 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.007828/1.566, allocations: 3.491 MB / 1.309 GB, free: 17.01 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/1.568, allocations: 0.6197 MB / 1.309 GB, free: 16.96 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000888/1.569, allocations: 353.5 kB / 1.31 GB, free: 16.94 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002051/1.569, allocations: 102.6 kB / 1.31 GB, free: 16.85 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/1.569, allocations: 41.38 kB / 1.31 GB, free: 16.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=39): time 2.274e-06/1.569, allocations: 0 / 1.31 GB, free: 16.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=41): time 0.006245/1.575, allocations: 1.917 MB / 1.312 GB, free: 16.33 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/1.575, allocations: 56.06 kB / 1.312 GB, free: 16.27 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/1.577, allocations: 0.7863 MB / 1.312 GB, free: 16.13 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/1.577, allocations: 36.89 kB / 1.312 GB, free: 16.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003301/1.577, allocations: 454.1 kB / 1.313 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/1.577, allocations: 146.8 kB / 1.313 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/1.577, allocations: 104.8 kB / 1.313 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.255e-05/1.578, allocations: 331.8 kB / 1.313 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008567/1.578, allocations: 316.4 kB / 1.314 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009765/1.579, allocations: 442.6 kB / 1.314 GB, free: 15.34 MB / 0.9981 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.00592/1.585, allocations: 1.957 MB / 1.316 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/1.585, allocations: 4 kB / 1.316 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002304/1.588, allocations: 0.8529 MB / 1.317 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/1.588, allocations: 8.688 kB / 1.317 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/1.588, allocations: 2.812 kB / 1.317 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.022e-05/1.588, allocations: 9.281 kB / 1.317 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008868/1.589, allocations: 170.8 kB / 1.317 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.53e-05/1.589, allocations: 8.516 kB / 1.317 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/1.59, allocations: 91.5 kB / 1.317 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-05/1.59, allocations: 21.81 kB / 1.317 GB, free: 14.93 MB / 0.9981 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.0005876/1.591, allocations: 286.8 kB / 1.317 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002846/1.591, allocations: 82.25 kB / 1.318 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/1.591, allocations: 99.12 kB / 1.318 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/1.591, allocations: 5.781 kB / 1.318 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.998e-06/1.591, allocations: 0 / 1.318 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001721/1.593, allocations: 0.6982 MB / 1.318 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005238/1.598, allocations: 1.93 MB / 1.32 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/1.599, allocations: 3.406 kB / 1.32 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008818/1.599, allocations: 148.3 kB / 1.32 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-05/1.599, allocations: 6.562 kB / 1.32 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.259e-05/1.599, allocations: 9.969 kB / 1.32 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.491e-05/1.6, allocations: 13.09 kB / 1.32 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.6, allocations: 10.22 kB / 1.32 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002847/1.602, allocations: 1.234 MB / 1.322 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007159/1.603, allocations: 238.6 kB / 1.322 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003575/1.603, allocations: 15.5 kB / 1.322 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/1.605, allocations: 87.22 kB / 1.322 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/1.605, allocations: 35.98 kB / 1.322 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/1.605, allocations: 30.45 kB / 1.322 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008738/1.606, allocations: 0.5418 MB / 1.323 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.606, allocations: 0 / 1.323 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001382/1.607, allocations: 244.8 kB / 1.323 GB, free: 13.54 MB / 0.9981 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.0006917/1.608, allocations: 212.3 kB / 1.323 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00193/1.61, allocations: 0.6912 MB / 1.324 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/1.61, allocations: 0 / 1.324 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009217/1.611, allocations: 348.1 kB / 1.324 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003326/1.614, allocations: 0.4974 MB / 1.324 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005499/1.62, allocations: 2.224 MB / 1.327 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008208/1.621, allocations: 1.044 MB / 1.328 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001483/1.622, allocations: 221.8 kB / 1.328 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003578/1.623, allocations: 70.81 kB / 1.328 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of SimCode: time 2.855e-06/1.623, allocations: 0 / 1.328 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of Templates: time 0.03639/1.659, allocations: 17.81 MB / 1.345 GB, free: 5.684 MB / 0.9981 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