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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002016/0.002016, allocations: 78.34 kB / 19.01 MB, free: 2.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002491/0.002491, allocations: 160.8 kB / 22.26 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 177.2 MB / 202.6 MB, free: 9.262 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.994/2.994, allocations: 394.2 MB / 0.6379 GB, free: 12.12 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002941/0.002941, allocations: 75.88 kB / 1.008 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079/1.082, allocations: 181.8 MB / 1.186 GB, free: 16.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2668/1.348, allocations: 195.8 MB / 1.377 GB, free: 2.023 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01027/1.359, allocations: 5.431 MB / 1.382 GB, free: 12.58 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008804/1.36, allocations: 63.44 kB / 1.382 GB, free: 12.52 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001494/1.361, allocations: 0.5552 MB / 1.383 GB, free: 11.96 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.004421/1.365, allocations: 1.93 MB / 1.385 GB, free: 10.02 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.002986/1.368, allocations: 1.213 MB / 1.386 GB, free: 8.816 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003793/1.372, allocations: 3.04 MB / 1.389 GB, free: 5.773 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/1.373, allocations: 0.758 MB / 1.39 GB, free: 4.996 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002902/1.376, allocations: 1.718 MB / 1.391 GB, free: 3.273 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00219/1.379, allocations: 0.9581 MB / 1.392 GB, free: 2.324 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001762/1.379, allocations: 108 kB / 1.392 GB, free: 2.219 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002524/1.381, allocations: 1.18 MB / 1.394 GB, free: 1.035 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005649/1.382, allocations: 482.6 kB / 1.394 GB, free: 0.5625 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.000671/1.382, allocations: 0.5485 MB / 1.395 GB, free: 12 kB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.00281/1.385, allocations: 2.102 MB / 1.397 GB, free: 13.9 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/1.385, allocations: 0 / 1.397 GB, free: 13.9 MB / 1.248 GB Notification: Performance of FrontEnd: time 9.92e-07/1.385, allocations: 0 / 1.397 GB, free: 13.9 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.458e-05/1.385, allocations: 8 kB / 1.397 GB, free: 13.89 MB / 1.248 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.002656/1.388, allocations: 1.462 MB / 1.398 GB, free: 12.39 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/1.388, allocations: 8.031 kB / 1.398 GB, free: 12.39 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002123/1.39, allocations: 330.9 kB / 1.398 GB, free: 12.06 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/1.392, allocations: 0.7878 MB / 1.399 GB, free: 11.25 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.332e-05/1.392, allocations: 66 kB / 1.399 GB, free: 11.18 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/1.392, allocations: 83.94 kB / 1.399 GB, free: 11.1 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/1.394, allocations: 1.365 MB / 1.401 GB, free: 9.621 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/1.394, allocations: 0 / 1.401 GB, free: 9.621 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.093e-05/1.394, allocations: 44 kB / 1.401 GB, free: 9.578 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-05/1.394, allocations: 33.94 kB / 1.401 GB, free: 9.543 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/1.396, allocations: 0.8276 MB / 1.402 GB, free: 8.715 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005105/1.401, allocations: 2.394 MB / 1.404 GB, free: 6.273 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008358/1.401, allocations: 468.7 kB / 1.404 GB, free: 5.809 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004866/1.402, allocations: 274.7 kB / 1.405 GB, free: 5.539 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/1.402, allocations: 24.48 kB / 1.405 GB, free: 5.516 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/1.402, allocations: 51 kB / 1.405 GB, free: 5.457 MB / 1.248 GB Notification: Performance of pre-optimization done (n=47): time 1.673e-06/1.402, allocations: 0 / 1.405 GB, free: 5.457 MB / 1.248 GB Notification: Performance of matching and sorting (n=49): time 0.003713/1.406, allocations: 1.659 MB / 1.406 GB, free: 3.754 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/1.406, allocations: 55.91 kB / 1.406 GB, free: 3.688 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008782/1.407, allocations: 0.6488 MB / 1.407 GB, free: 3.035 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.118e-05/1.407, allocations: 37.7 kB / 1.407 GB, free: 2.992 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004161/1.407, allocations: 500 kB / 1.408 GB, free: 2.496 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/1.407, allocations: 186.4 kB / 1.408 GB, free: 2.312 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/1.408, allocations: 110.3 kB / 1.408 GB, free: 2.195 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002166/1.408, allocations: 382.8 kB / 1.408 GB, free: 1.812 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004737/1.408, allocations: 245.2 kB / 1.408 GB, free: 1.574 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006794/1.409, allocations: 495.3 kB / 1.409 GB, free: 1.016 MB / 1.248 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.004029/1.413, allocations: 1.459 MB / 1.41 GB, free: 15.51 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/1.413, allocations: 4 kB / 1.41 GB, free: 15.51 MB / 1.264 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001447/1.415, allocations: 0.7797 MB / 1.411 GB, free: 14.72 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/1.415, allocations: 8 kB / 1.411 GB, free: 14.71 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/1.415, allocations: 4 kB / 1.411 GB, free: 14.71 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002231/1.415, allocations: 69.61 kB / 1.411 GB, free: 14.63 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007665/1.416, allocations: 143.8 kB / 1.411 GB, free: 14.49 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003097/1.419, allocations: 2.876 MB / 1.414 GB, free: 11.41 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008223/1.419, allocations: 28.55 kB / 1.414 GB, free: 11.39 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/1.42, allocations: 20 kB / 1.414 GB, free: 11.37 MB / 1.264 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.0005085/1.42, allocations: 301.8 kB / 1.414 GB, free: 11.06 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/1.42, allocations: 83.47 kB / 1.414 GB, free: 10.98 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/1.42, allocations: 87.36 kB / 1.415 GB, free: 10.89 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/1.42, allocations: 4 kB / 1.415 GB, free: 10.88 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.42, allocations: 0 / 1.415 GB, free: 10.88 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001224/1.422, allocations: 0.8441 MB / 1.415 GB, free: 9.949 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002869/1.425, allocations: 1.531 MB / 1.417 GB, free: 8.344 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.425, allocations: 4 kB / 1.417 GB, free: 8.34 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006601/1.425, allocations: 132.2 kB / 1.417 GB, free: 8.211 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.912e-05/1.425, allocations: 32.84 kB / 1.417 GB, free: 8.176 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.306e-05/1.425, allocations: 23.92 kB / 1.417 GB, free: 8.152 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001363/1.427, allocations: 1.464 MB / 1.419 GB, free: 6.586 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/1.427, allocations: 8 kB / 1.419 GB, free: 6.578 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/1.428, allocations: 1.065 MB / 1.42 GB, free: 5.453 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000339/1.429, allocations: 143.5 kB / 1.42 GB, free: 5.312 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.67e-05/1.429, allocations: 12 kB / 1.42 GB, free: 5.301 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006804/1.43, allocations: 34.56 kB / 1.42 GB, free: 5.27 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/1.43, allocations: 51.8 kB / 1.42 GB, free: 5.219 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-05/1.43, allocations: 27.98 kB / 1.42 GB, free: 5.191 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0006361/1.43, allocations: 455 kB / 1.42 GB, free: 4.754 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/1.43, allocations: 4.062 kB / 1.42 GB, free: 4.75 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009464/1.431, allocations: 272 kB / 1.421 GB, free: 4.484 MB / 1.264 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.0003253/1.432, allocations: 173.3 kB / 1.421 GB, free: 4.305 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001427/1.433, allocations: 0.792 MB / 1.421 GB, free: 3.488 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/1.433, allocations: 4 kB / 1.421 GB, free: 3.484 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006395/1.434, allocations: 396 kB / 1.422 GB, free: 3.086 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/1.436, allocations: 492.8 kB / 1.422 GB, free: 2.617 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003243/1.439, allocations: 1.826 MB / 1.424 GB, free: 0.7188 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006267/1.44, allocations: 0.4886 MB / 1.425 GB, free: 200 kB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0007437/1.441, allocations: 190.6 kB / 1.425 GB, free: 4 kB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/1.441, allocations: 64.55 kB / 1.425 GB, free: 15.94 MB / 1.279 GB Notification: Performance of SimCode: time 4.51e-07/1.441, allocations: 4 kB / 1.425 GB, free: 15.93 MB / 1.279 GB Notification: Performance of Templates: time 0.0335/1.474, allocations: 17.82 MB / 1.442 GB, free: 14.53 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.318475496023893]