Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.MixingVolumeMoistureReverseFlow,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.MixingVolumeMoistureReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,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.MixingVolumeMoistureReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, 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.001634/0.001634, allocations: 197.3 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.445/1.445, allocations: 222.9 MB / 239.8 MB, free: 4.648 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.742/2.742, allocations: 461.8 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 66.38 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3475, allocations: 157.4 MB / 1.052 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.9066/1.254, allocations: 218.8 MB / 1.266 GB, free: 17.44 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01012/1.264, allocations: 5.786 MB / 1.271 GB, free: 17.35 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001949/1.266, allocations: 33.78 kB / 1.271 GB, free: 17.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001907/1.268, allocations: 0.5076 MB / 1.272 GB, free: 17.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00657/1.275, allocations: 1.741 MB / 1.274 GB, free: 17.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004602/1.279, allocations: 1.084 MB / 1.275 GB, free: 17.21 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007665/1.287, allocations: 4.089 MB / 1.279 GB, free: 17.21 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/1.289, allocations: 0.8841 MB / 1.28 GB, free: 17.1 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003386/1.292, allocations: 0.9169 MB / 1.28 GB, free: 17.09 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003919/1.296, allocations: 0.9826 MB / 1.281 GB, free: 17.08 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002835/1.297, allocations: 52.34 kB / 1.282 GB, free: 17.08 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004611/1.301, allocations: 1.637 MB / 1.283 GB, free: 17.06 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007676/1.302, allocations: 410.2 kB / 1.283 GB, free: 17.06 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001413/1.304, allocations: 0.5927 MB / 1.284 GB, free: 17.06 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004815/1.308, allocations: 2.157 MB / 1.286 GB, free: 16.95 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.308, allocations: 1.469 kB / 1.286 GB, free: 16.95 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.392e-06/1.308, allocations: 4 kB / 1.286 GB, free: 16.95 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.069e-05/1.308, allocations: 0 / 1.286 GB, free: 16.95 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002959/1.311, allocations: 1.515 MB / 1.288 GB, free: 16.16 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/1.311, allocations: 9.094 kB / 1.288 GB, free: 16.16 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002237/1.314, allocations: 316.2 kB / 1.288 GB, free: 16.09 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/1.315, allocations: 0.8066 MB / 1.289 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.795e-05/1.315, allocations: 64.56 kB / 1.289 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/1.315, allocations: 94.03 kB / 1.289 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/1.317, allocations: 0.9158 MB / 1.29 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/1.317, allocations: 0 / 1.29 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-05/1.317, allocations: 41.56 kB / 1.29 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.851e-05/1.317, allocations: 30.94 kB / 1.29 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/1.319, allocations: 0.8384 MB / 1.291 GB, free: 15.7 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.005388/1.324, allocations: 3.534 MB / 1.294 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008751/1.325, allocations: 489.2 kB / 1.295 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005068/1.326, allocations: 307.7 kB / 1.295 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000208/1.326, allocations: 99.89 kB / 1.295 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/1.326, allocations: 39.81 kB / 1.295 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 3.126e-06/1.326, allocations: 0 / 1.295 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49): time 0.004188/1.33, allocations: 1.876 MB / 1.297 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/1.33, allocations: 56.47 kB / 1.297 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/1.331, allocations: 0.8117 MB / 1.298 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.979e-05/1.331, allocations: 38.33 kB / 1.298 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003464/1.332, allocations: 475.6 kB / 1.298 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/1.332, allocations: 177.1 kB / 1.298 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/1.332, allocations: 115.2 kB / 1.298 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.425e-05/1.332, allocations: 332.5 kB / 1.299 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004531/1.333, allocations: 241.8 kB / 1.299 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005691/1.333, allocations: 383.9 kB / 1.299 GB, free: 12.5 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.003661/1.337, allocations: 1.552 MB / 1.301 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.337, allocations: 1.906 kB / 1.301 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001475/1.338, allocations: 0.792 MB / 1.302 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/1.338, allocations: 6.938 kB / 1.302 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.338, allocations: 7.141 kB / 1.302 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001848/1.339, allocations: 65.38 kB / 1.302 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006946/1.339, allocations: 151.4 kB / 1.302 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/1.341, allocations: 2.888 MB / 1.305 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/1.343, allocations: 59.12 kB / 1.305 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.371e-05/1.343, allocations: 30.22 kB / 1.305 GB, free: 9.578 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 (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006462/1.343, allocations: 301.6 kB / 1.305 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/1.343, allocations: 93.5 kB / 1.305 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/1.344, allocations: 101.2 kB / 1.305 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/1.344, allocations: 5.375 kB / 1.305 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/1.344, allocations: 3.938 kB / 1.305 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009552/1.345, allocations: 0.8398 MB / 1.306 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/1.348, allocations: 1.793 MB / 1.308 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/1.348, allocations: 2.75 kB / 1.308 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006217/1.348, allocations: 132.4 kB / 1.308 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001024/1.348, allocations: 35.47 kB / 1.308 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.049e-05/1.348, allocations: 14.16 kB / 1.308 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009446/1.349, allocations: 1.477 MB / 1.309 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/1.349, allocations: 9.25 kB / 1.309 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/1.351, allocations: 1.078 MB / 1.311 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005151/1.352, allocations: 238.2 kB / 1.311 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/1.352, allocations: 13.59 kB / 1.311 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000777/1.353, allocations: 66.23 kB / 1.311 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/1.353, allocations: 44.98 kB / 1.311 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-05/1.353, allocations: 32.69 kB / 1.311 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006882/1.353, allocations: 0.5626 MB / 1.311 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.353, allocations: 0 / 1.311 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001069/1.355, allocations: 273.3 kB / 1.312 GB, free: 6.66 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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005014/1.355, allocations: 198.7 kB / 1.312 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001246/1.356, allocations: 0.795 MB / 1.313 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.356, allocations: 2.438 kB / 1.313 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004887/1.357, allocations: 400.4 kB / 1.313 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/1.359, allocations: 0.5794 MB / 1.314 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/1.362, allocations: 2.171 MB / 1.316 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005671/1.363, allocations: 1.088 MB / 1.317 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008699/1.364, allocations: 217.7 kB / 1.317 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/1.364, allocations: 65.19 kB / 1.317 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/1.364, allocations: 0 / 1.317 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of Templates: time 0.03063/1.394, allocations: 19.08 MB / 1.336 GB, free: 15.45 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches