Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: 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_10_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_10_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.001798/0.001798, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002323/0.002323, allocations: 192.8 kB / 16.14 MB, free: 6.629 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.613/1.613, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.929/2.929, allocations: 437 MB / 0.71 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003087/0.003087, allocations: 67.89 kB / 0.8686 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7839/0.787, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.2753/1.062, allocations: 218.9 MB / 1.23 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01038/1.073, allocations: 5.786 MB / 1.236 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/1.074, allocations: 39.75 kB / 1.236 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001616/1.076, allocations: 0.4935 MB / 1.237 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004666/1.081, allocations: 1.541 MB / 1.238 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003751/1.084, allocations: 1.087 MB / 1.239 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005275/1.09, allocations: 3.55 MB / 1.243 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/1.091, allocations: 0.7611 MB / 1.243 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00225/1.093, allocations: 0.918 MB / 1.244 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002693/1.096, allocations: 0.8735 MB / 1.245 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001928/1.096, allocations: 48 kB / 1.245 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003604/1.1, allocations: 1.722 MB / 1.247 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005187/1.1, allocations: 366.9 kB / 1.247 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008131/1.101, allocations: 0.5365 MB / 1.248 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004225/1.105, allocations: 2.033 MB / 1.25 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.106, allocations: 0 / 1.25 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of FrontEnd: time 5.12e-06/1.106, allocations: 0 / 1.25 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.851e-05/1.106, allocations: 3.938 kB / 1.25 GB, free: 3.363 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.003762/1.109, allocations: 1.433 MB / 1.251 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/1.109, allocations: 12.03 kB / 1.251 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004277/1.114, allocations: 414.2 kB / 1.251 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002177/1.116, allocations: 0.7648 MB / 1.252 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005264/1.116, allocations: 113.9 kB / 1.252 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001889/1.117, allocations: 79.98 kB / 1.252 GB, free: 472 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6836/1.8, allocations: 0.9895 MB / 1.253 GB, free: 237.4 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/1.8, allocations: 1.875 kB / 1.253 GB, free: 237.4 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/1.8, allocations: 34.91 kB / 1.253 GB, free: 237.4 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.113e-05/1.801, allocations: 36.08 kB / 1.253 GB, free: 237.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002246/1.803, allocations: 0.8863 MB / 1.254 GB, free: 237.1 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.007084/1.81, allocations: 3.497 MB / 1.258 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/1.812, allocations: 0.6139 MB / 1.258 GB, free: 235 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008906/1.813, allocations: 356.9 kB / 1.259 GB, free: 234.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000191/1.813, allocations: 99.84 kB / 1.259 GB, free: 234.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/1.813, allocations: 44.11 kB / 1.259 GB, free: 234.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=39): time 2.615e-06/1.813, allocations: 0 / 1.259 GB, free: 234.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=41): time 0.005849/1.819, allocations: 1.92 MB / 1.261 GB, free: 234 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/1.819, allocations: 64.08 kB / 1.261 GB, free: 233.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/1.82, allocations: 0.7774 MB / 1.261 GB, free: 233.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.322e-05/1.82, allocations: 37.7 kB / 1.262 GB, free: 233.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000273/1.821, allocations: 450.7 kB / 1.262 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/1.821, allocations: 153.1 kB / 1.262 GB, free: 233.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/1.821, allocations: 105.6 kB / 1.262 GB, free: 233 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.76e-05/1.821, allocations: 330.7 kB / 1.263 GB, free: 232.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008641/1.822, allocations: 312.6 kB / 1.263 GB, free: 232.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009106/1.823, allocations: 452.9 kB / 1.263 GB, free: 232.4 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.006091/1.829, allocations: 1.948 MB / 1.265 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/1.829, allocations: 1.094 kB / 1.265 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002513/1.831, allocations: 0.8485 MB / 1.266 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/1.831, allocations: 10.59 kB / 1.266 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/1.831, allocations: 5.281 kB / 1.266 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/1.832, allocations: 5.562 kB / 1.266 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009002/1.832, allocations: 174.7 kB / 1.266 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/1.832, allocations: 6.688 kB / 1.266 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/1.834, allocations: 89.39 kB / 1.266 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.319e-05/1.834, allocations: 26.52 kB / 1.266 GB, free: 231.3 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.0004763/1.834, allocations: 278.2 kB / 1.267 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/1.834, allocations: 88.2 kB / 1.267 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/1.834, allocations: 90.62 kB / 1.267 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/1.834, allocations: 8.438 kB / 1.267 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/1.834, allocations: 0.875 kB / 1.267 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001603/1.836, allocations: 0.6989 MB / 1.267 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004083/1.84, allocations: 1.931 MB / 1.269 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/1.84, allocations: 3.594 kB / 1.269 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000754/1.841, allocations: 147.6 kB / 1.269 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/1.841, allocations: 4.938 kB / 1.269 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.256e-05/1.841, allocations: 17.28 kB / 1.269 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.498e-06/1.841, allocations: 9.938 kB / 1.269 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.841, allocations: 10.5 kB / 1.269 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002547/1.844, allocations: 1.234 MB / 1.271 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004138/1.844, allocations: 236.1 kB / 1.271 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/1.844, allocations: 11.3 kB / 1.271 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008929/1.845, allocations: 89.42 kB / 1.271 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.58e-05/1.845, allocations: 38.02 kB / 1.271 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.469e-05/1.845, allocations: 26.8 kB / 1.271 GB, free: 229 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007608/1.846, allocations: 0.5417 MB / 1.272 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.846, allocations: 0 / 1.272 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009219/1.847, allocations: 249.1 kB / 1.272 GB, free: 228.8 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.0004939/1.847, allocations: 214.6 kB / 1.272 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001761/1.849, allocations: 0.6994 MB / 1.273 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/1.849, allocations: 2 kB / 1.273 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007972/1.85, allocations: 340 kB / 1.273 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/1.852, allocations: 0.5054 MB / 1.274 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004076/1.856, allocations: 2.229 MB / 1.276 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/1.857, allocations: 1.046 MB / 1.277 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008754/1.858, allocations: 214.8 kB / 1.277 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/1.858, allocations: 71.17 kB / 1.277 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/1.858, allocations: 0.75 kB / 1.277 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.02513/1.883, allocations: 17.81 MB / 1.294 GB, free: 211.9 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches