Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: 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_9_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_9_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.001359/0.001359, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001335/0.001335, allocations: 187 kB / 17.34 MB, free: 5.719 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.09 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.224/2.224, allocations: 390.2 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 63.91 kB / 0.9516 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8243/0.8258, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.2668/1.093, allocations: 221.1 MB / 1.305 GB, free: 472 kB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01067/1.103, allocations: 5.729 MB / 1.31 GB, free: 10.71 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00184/1.105, allocations: 43.75 kB / 1.31 GB, free: 10.67 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001944/1.107, allocations: 0.5903 MB / 1.311 GB, free: 10.08 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004629/1.112, allocations: 1.684 MB / 1.312 GB, free: 8.387 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003607/1.115, allocations: 1.237 MB / 1.314 GB, free: 7.156 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003954/1.119, allocations: 2.589 MB / 1.316 GB, free: 4.566 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001687/1.121, allocations: 0.8989 MB / 1.317 GB, free: 3.656 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0024/1.124, allocations: 1.094 MB / 1.318 GB, free: 2.559 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002315/1.126, allocations: 0.8297 MB / 1.319 GB, free: 1.734 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000341/1.126, allocations: 99.98 kB / 1.319 GB, free: 1.637 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003359/1.13, allocations: 1.547 MB / 1.321 GB, free: 88 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006609/1.13, allocations: 414.9 kB / 1.321 GB, free: 15.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001227/1.132, allocations: 0.5755 MB / 1.321 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004397/1.136, allocations: 2.022 MB / 1.323 GB, free: 13.07 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/1.136, allocations: 0 / 1.323 GB, free: 13.07 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.076e-06/1.136, allocations: 0 / 1.323 GB, free: 13.07 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.884e-05/1.136, allocations: 4 kB / 1.323 GB, free: 13.07 MB / 1.061 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.003341/1.139, allocations: 1.426 MB / 1.325 GB, free: 11.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/1.139, allocations: 8.031 kB / 1.325 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002858/1.142, allocations: 418.2 kB / 1.325 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/1.144, allocations: 0.8 MB / 1.326 GB, free: 10.33 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.391e-05/1.144, allocations: 58 kB / 1.326 GB, free: 10.28 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/1.144, allocations: 80 kB / 1.326 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002121/1.147, allocations: 0.9828 MB / 1.327 GB, free: 9.195 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/1.147, allocations: 7.922 kB / 1.327 GB, free: 9.188 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/1.147, allocations: 32 kB / 1.327 GB, free: 9.156 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/1.147, allocations: 33.94 kB / 1.327 GB, free: 9.125 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002068/1.149, allocations: 0.8821 MB / 1.328 GB, free: 8.238 MB / 1.061 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.006302/1.155, allocations: 3.47 MB / 1.331 GB, free: 4.582 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/1.157, allocations: 0.5891 MB / 1.332 GB, free: 3.984 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007782/1.157, allocations: 351 kB / 1.332 GB, free: 3.641 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001961/1.158, allocations: 97.09 kB / 1.332 GB, free: 3.527 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/1.158, allocations: 46.5 kB / 1.332 GB, free: 3.473 MB / 1.061 GB Notification: Performance of pre-optimization done (n=39): time 2.805e-06/1.158, allocations: 0 / 1.332 GB, free: 3.473 MB / 1.061 GB Notification: Performance of matching and sorting (n=41): time 0.005335/1.163, allocations: 1.891 MB / 1.334 GB, free: 1.523 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/1.163, allocations: 59.41 kB / 1.334 GB, free: 1.453 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/1.164, allocations: 0.7783 MB / 1.335 GB, free: 0.668 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.774e-05/1.164, allocations: 37.7 kB / 1.335 GB, free: 0.625 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003568/1.165, allocations: 455.5 kB / 1.336 GB, free: 176 kB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/1.165, allocations: 149.8 kB / 1.336 GB, free: 24 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/1.165, allocations: 102.3 kB / 1.336 GB, free: 15.91 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.165, allocations: 333.9 kB / 1.336 GB, free: 15.58 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007859/1.166, allocations: 316.8 kB / 1.336 GB, free: 15.27 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008789/1.167, allocations: 439.5 kB / 1.337 GB, free: 14.79 MB / 1.076 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.0053/1.172, allocations: 1.927 MB / 1.339 GB, free: 12.81 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.172, allocations: 4 kB / 1.339 GB, free: 12.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002053/1.174, allocations: 0.8426 MB / 1.34 GB, free: 11.95 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/1.174, allocations: 8.094 kB / 1.34 GB, free: 11.95 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/1.174, allocations: 7.938 kB / 1.34 GB, free: 11.94 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/1.175, allocations: 8 kB / 1.34 GB, free: 11.93 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008067/1.175, allocations: 171.7 kB / 1.34 GB, free: 11.76 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.801e-05/1.175, allocations: 8 kB / 1.34 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009459/1.176, allocations: 63.53 kB / 1.34 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.95e-05/1.176, allocations: 20 kB / 1.34 GB, free: 11.68 MB / 1.076 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.0004758/1.177, allocations: 285.5 kB / 1.34 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/1.177, allocations: 83.06 kB / 1.34 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/1.177, allocations: 92.08 kB / 1.34 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/1.177, allocations: 4 kB / 1.34 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/1.177, allocations: 0 / 1.34 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00158/1.179, allocations: 0.6949 MB / 1.341 GB, free: 10.48 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004094/1.183, allocations: 1.903 MB / 1.343 GB, free: 8.484 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.677e-06/1.183, allocations: 8.031 kB / 1.343 GB, free: 8.477 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007414/1.184, allocations: 147.7 kB / 1.343 GB, free: 8.332 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/1.184, allocations: 8 kB / 1.343 GB, free: 8.324 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.567e-05/1.184, allocations: 12 kB / 1.343 GB, free: 8.312 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/1.184, allocations: 4 kB / 1.343 GB, free: 8.309 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.184, allocations: 4 kB / 1.343 GB, free: 8.305 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/1.187, allocations: 1.217 MB / 1.344 GB, free: 7.031 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004047/1.187, allocations: 236 kB / 1.344 GB, free: 6.781 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/1.187, allocations: 15.98 kB / 1.344 GB, free: 6.766 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007764/1.188, allocations: 59.94 kB / 1.345 GB, free: 6.707 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/1.188, allocations: 35.91 kB / 1.345 GB, free: 6.672 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-05/1.188, allocations: 27.98 kB / 1.345 GB, free: 6.645 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006897/1.189, allocations: 0.5459 MB / 1.345 GB, free: 6.102 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.41e-07/1.189, allocations: 0 / 1.345 GB, free: 6.102 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007837/1.19, allocations: 248 kB / 1.345 GB, free: 5.859 MB / 1.076 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.0005236/1.19, allocations: 217.1 kB / 1.346 GB, free: 5.648 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001729/1.192, allocations: 0.6818 MB / 1.346 GB, free: 4.965 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.192, allocations: 0.625 kB / 1.346 GB, free: 4.965 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008038/1.193, allocations: 340.3 kB / 1.347 GB, free: 4.633 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/1.195, allocations: 0.5246 MB / 1.347 GB, free: 4.125 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004277/1.199, allocations: 1.932 MB / 1.349 GB, free: 2.113 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006811/1.2, allocations: 1.04 MB / 1.35 GB, free: 1.047 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002885/1.2, allocations: 79.41 kB / 1.35 GB, free: 0.9688 MB / 1.076 GB Notification: Performance of SimCode: time 5.01e-07/1.2, allocations: 0 / 1.35 GB, free: 0.9688 MB / 1.076 GB Notification: Performance of Templates: time 0.02416/1.224, allocations: 15.08 MB / 1.365 GB, free: 2.043 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches