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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0007947/0.0007947, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.0008991/0.0008991, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 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: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.713/2.713, allocations: 462.6 MB / 0.736 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.0003199, allocations: 10.44 kB / 0.9021 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2669, allocations: 159.6 MB / 1.058 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.7402/1.007, allocations: 201.5 MB / 1.255 GB, free: 32.91 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007668/1.015, allocations: 5.412 MB / 1.26 GB, free: 32.83 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/1.016, allocations: 34.06 kB / 1.26 GB, free: 32.83 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001113/1.017, allocations: 404.4 kB / 1.26 GB, free: 32.82 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003206/1.02, allocations: 1.218 MB / 1.262 GB, free: 32.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002554/1.023, allocations: 0.8914 MB / 1.263 GB, free: 32.74 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003345/1.026, allocations: 2.989 MB / 1.265 GB, free: 32.74 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/1.027, allocations: 0.6652 MB / 1.266 GB, free: 32.66 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/1.029, allocations: 0.8751 MB / 1.267 GB, free: 32.66 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/1.03, allocations: 0.7845 MB / 1.268 GB, free: 32.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/1.03, allocations: 35.72 kB / 1.268 GB, free: 32.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002198/1.032, allocations: 0.9165 MB / 1.269 GB, free: 32.64 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004935/1.033, allocations: 345.4 kB / 1.269 GB, free: 32.64 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003474/1.033, allocations: 236.9 kB / 1.269 GB, free: 32.61 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002868/1.036, allocations: 1.4 MB / 1.271 GB, free: 32.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/1.036, allocations: 0.6875 kB / 1.271 GB, free: 32.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.694e-06/1.036, allocations: 0 / 1.271 GB, free: 32.5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.441e-05/1.036, allocations: 0 / 1.271 GB, free: 32.5 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.003393/1.039, allocations: 1.224 MB / 1.272 GB, free: 31.76 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/1.039, allocations: 12.84 kB / 1.272 GB, free: 31.76 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004185/1.044, allocations: 433.6 kB / 1.272 GB, free: 31.69 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002239/1.046, allocations: 0.7516 MB / 1.273 GB, free: 31.4 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000483/1.046, allocations: 122.6 kB / 1.273 GB, free: 31.39 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002154/1.047, allocations: 76.53 kB / 1.273 GB, free: 31.39 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003141/1.05, allocations: 1.01 MB / 1.274 GB, free: 31.29 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/1.05, allocations: 5.359 kB / 1.274 GB, free: 31.29 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/1.05, allocations: 32 kB / 1.274 GB, free: 31.29 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-05/1.05, allocations: 28.31 kB / 1.274 GB, free: 31.29 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002519/1.053, allocations: 0.9122 MB / 1.275 GB, free: 31.26 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.006827/1.059, allocations: 3.529 MB / 1.279 GB, free: 29.93 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/1.061, allocations: 0.633 MB / 1.279 GB, free: 29.89 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007589/1.062, allocations: 361.3 kB / 1.279 GB, free: 29.88 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/1.062, allocations: 112.6 kB / 1.28 GB, free: 29.78 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/1.062, allocations: 37.47 kB / 1.28 GB, free: 29.74 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=39): time 2.084e-06/1.062, allocations: 0 / 1.28 GB, free: 29.74 MB / 0.9981 GB Notification: Performance of matching and sorting (n=41): time 0.004942/1.067, allocations: 1.989 MB / 1.282 GB, free: 29.26 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/1.067, allocations: 61.97 kB / 1.282 GB, free: 29.19 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009432/1.068, allocations: 0.777 MB / 1.282 GB, free: 29.05 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.927e-05/1.068, allocations: 39.2 kB / 1.282 GB, free: 29.02 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/1.068, allocations: 449.9 kB / 1.283 GB, free: 28.83 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/1.068, allocations: 145.4 kB / 1.283 GB, free: 28.74 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/1.068, allocations: 10.72 kB / 1.283 GB, free: 28.74 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.781e-05/1.068, allocations: 327.2 kB / 1.283 GB, free: 28.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007316/1.069, allocations: 327.3 kB / 1.284 GB, free: 28.43 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007982/1.07, allocations: 467.6 kB / 1.284 GB, free: 28.28 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.003545/1.074, allocations: 1.348 MB / 1.285 GB, free: 28.11 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.074, allocations: 1.125 kB / 1.285 GB, free: 28.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001854/1.075, allocations: 0.872 MB / 1.286 GB, free: 28.02 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/1.075, allocations: 5.875 kB / 1.286 GB, free: 28.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.076, allocations: 3.062 kB / 1.286 GB, free: 28.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/1.076, allocations: 6.562 kB / 1.286 GB, free: 28.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008032/1.076, allocations: 188.7 kB / 1.286 GB, free: 28.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/1.076, allocations: 14.42 kB / 1.286 GB, free: 28.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/1.077, allocations: 96.83 kB / 1.287 GB, free: 28 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.964e-05/1.077, allocations: 24.56 kB / 1.287 GB, free: 27.99 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 sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004558/1.078, allocations: 278.1 kB / 1.287 GB, free: 27.88 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/1.078, allocations: 90.25 kB / 1.287 GB, free: 27.83 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002109/1.078, allocations: 92.14 kB / 1.287 GB, free: 27.82 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/1.078, allocations: 4.281 kB / 1.287 GB, free: 27.82 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/1.078, allocations: 7.656 kB / 1.287 GB, free: 27.81 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001494/1.08, allocations: 0.7309 MB / 1.288 GB, free: 27.63 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0038/1.084, allocations: 1.965 MB / 1.29 GB, free: 27.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/1.084, allocations: 6.172 kB / 1.29 GB, free: 27.19 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007503/1.084, allocations: 161.3 kB / 1.29 GB, free: 27.19 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/1.084, allocations: 5.688 kB / 1.29 GB, free: 27.19 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/1.085, allocations: 13.36 kB / 1.29 GB, free: 27.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/1.085, allocations: 12.69 kB / 1.29 GB, free: 27.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.085, allocations: 3.562 kB / 1.29 GB, free: 27.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002458/1.087, allocations: 1.295 MB / 1.291 GB, free: 26.85 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005094/1.088, allocations: 233.2 kB / 1.291 GB, free: 26.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/1.088, allocations: 13.17 kB / 1.291 GB, free: 26.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009644/1.089, allocations: 102.4 kB / 1.291 GB, free: 26.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/1.089, allocations: 34.88 kB / 1.291 GB, free: 26.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-05/1.089, allocations: 28.53 kB / 1.291 GB, free: 26.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008528/1.09, allocations: 0.5344 MB / 1.292 GB, free: 26.61 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.09, allocations: 0 / 1.292 GB, free: 26.61 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001209/1.091, allocations: 246.2 kB / 1.292 GB, free: 26.6 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006234/1.092, allocations: 214 kB / 1.292 GB, free: 26.49 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001891/1.094, allocations: 0.7109 MB / 1.293 GB, free: 26.47 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/1.094, allocations: 8.531 kB / 1.293 GB, free: 26.47 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008208/1.094, allocations: 350.9 kB / 1.293 GB, free: 26.46 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/1.097, allocations: 0.5103 MB / 1.294 GB, free: 26.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004078/1.101, allocations: 2.216 MB / 1.296 GB, free: 25.38 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/1.101, allocations: 1.047 MB / 1.297 GB, free: 24.67 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009007/1.102, allocations: 225.5 kB / 1.297 GB, free: 24.61 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/1.103, allocations: 71.66 kB / 1.297 GB, free: 24.6 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/1.103, allocations: 2.906 kB / 1.297 GB, free: 24.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.02429/1.127, allocations: 17.17 MB / 1.314 GB, free: 20.84 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