Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001477/0.001477, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001671/0.001671, allocations: 211.4 kB / 22.24 MB, free: 5.262 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.592/1.592, allocations: 230.6 MB / 256 MB, free: 7.832 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.299/3.299, allocations: 0.4892 GB / 0.7943 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002107/0.002107, allocations: 72.06 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4093, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2736/0.6829, allocations: 196 MB / 1.517 GB, free: 13.13 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01246/0.6954, allocations: 5.435 MB / 1.522 GB, free: 7.691 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.6971, allocations: 59.5 kB / 1.522 GB, free: 7.633 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001888/0.699, allocations: 0.5513 MB / 1.523 GB, free: 7.078 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00608/0.705, allocations: 1.929 MB / 1.525 GB, free: 5.141 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003827/0.7089, allocations: 1.217 MB / 1.526 GB, free: 3.93 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.005247/0.7141, allocations: 3.014 MB / 1.529 GB, free: 0.9062 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001534/0.7156, allocations: 0.7658 MB / 1.53 GB, free: 124 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003241/0.7189, allocations: 1.339 MB / 1.531 GB, free: 14.78 MB / 1.233 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002724/0.7216, allocations: 0.9573 MB / 1.532 GB, free: 13.83 MB / 1.233 GB Notification: Performance of NFPackage.collectConstants: time 0.0002456/0.7219, allocations: 111.9 kB / 1.532 GB, free: 13.72 MB / 1.233 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003166/0.725, allocations: 1.173 MB / 1.533 GB, free: 12.54 MB / 1.233 GB Notification: Performance of NFScalarize.scalarize: time 0.0006053/0.7256, allocations: 478.6 kB / 1.534 GB, free: 12.07 MB / 1.233 GB Notification: Performance of NFVerifyModel.verify: time 0.0008154/0.7264, allocations: 0.5485 MB / 1.534 GB, free: 11.52 MB / 1.233 GB Notification: Performance of NFConvertDAE.convert: time 0.003822/0.7303, allocations: 2.11 MB / 1.536 GB, free: 9.406 MB / 1.233 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.7303, allocations: 0 / 1.536 GB, free: 9.406 MB / 1.233 GB Notification: Performance of FrontEnd: time 1.774e-06/0.7303, allocations: 0 / 1.536 GB, free: 9.406 MB / 1.233 GB Notification: Performance of Transformations before backend: time 2.65e-05/0.7303, allocations: 0 / 1.536 GB, free: 9.406 MB / 1.233 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.003086/0.7334, allocations: 1.462 MB / 1.538 GB, free: 7.906 MB / 1.233 GB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/0.7334, allocations: 12.03 kB / 1.538 GB, free: 7.895 MB / 1.233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/0.7355, allocations: 330.8 kB / 1.538 GB, free: 7.57 MB / 1.233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/0.7372, allocations: 0.7877 MB / 1.539 GB, free: 6.754 MB / 1.233 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.867e-05/0.7373, allocations: 66 kB / 1.539 GB, free: 6.691 MB / 1.233 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.7375, allocations: 80 kB / 1.539 GB, free: 6.613 MB / 1.233 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002056/0.7395, allocations: 1.369 MB / 1.54 GB, free: 5.125 MB / 1.233 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/0.7395, allocations: 0 / 1.54 GB, free: 5.125 MB / 1.233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.7397, allocations: 43.94 kB / 1.54 GB, free: 5.082 MB / 1.233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.353e-05/0.7397, allocations: 33.94 kB / 1.54 GB, free: 5.047 MB / 1.233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.7413, allocations: 0.8276 MB / 1.541 GB, free: 4.223 MB / 1.233 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005254/0.7465, allocations: 2.387 MB / 1.543 GB, free: 1.793 MB / 1.233 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008821/0.7474, allocations: 476.4 kB / 1.544 GB, free: 1.316 MB / 1.233 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004787/0.7479, allocations: 278 kB / 1.544 GB, free: 1.039 MB / 1.233 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001713/0.748, allocations: 28.42 kB / 1.544 GB, free: 1.012 MB / 1.233 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.702e-05/0.7481, allocations: 39 kB / 1.544 GB, free: 0.9648 MB / 1.233 GB Notification: Performance of pre-optimization done (n=47): time 2.355e-06/0.7481, allocations: 0 / 1.544 GB, free: 0.9648 MB / 1.233 GB Notification: Performance of matching and sorting (n=49): time 0.003848/0.752, allocations: 1.652 MB / 1.546 GB, free: 15.28 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.752, allocations: 55.84 kB / 1.546 GB, free: 15.21 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009373/0.7529, allocations: 0.6526 MB / 1.547 GB, free: 14.55 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.684e-05/0.753, allocations: 33.7 kB / 1.547 GB, free: 14.51 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004482/0.7535, allocations: 0.496 MB / 1.547 GB, free: 14 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.7536, allocations: 178.4 kB / 1.547 GB, free: 13.83 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/0.7539, allocations: 122.2 kB / 1.547 GB, free: 13.7 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000237/0.7541, allocations: 378.8 kB / 1.548 GB, free: 13.32 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004623/0.7546, allocations: 257.1 kB / 1.548 GB, free: 13.07 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006692/0.7552, allocations: 479.4 kB / 1.548 GB, free: 12.53 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.003889/0.7591, allocations: 1.458 MB / 1.55 GB, free: 11.03 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.7591, allocations: 0 / 1.55 GB, free: 11.03 MB / 1.248 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001544/0.7607, allocations: 0.7834 MB / 1.551 GB, free: 10.23 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.7607, allocations: 8 kB / 1.551 GB, free: 10.23 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.7607, allocations: 4 kB / 1.551 GB, free: 10.22 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001874/0.7609, allocations: 65.67 kB / 1.551 GB, free: 10.15 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007091/0.7616, allocations: 152.2 kB / 1.551 GB, free: 10 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00316/0.7648, allocations: 2.857 MB / 1.554 GB, free: 6.941 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009533/0.7657, allocations: 30.17 kB / 1.554 GB, free: 6.914 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.862e-05/0.7658, allocations: 24.22 kB / 1.554 GB, free: 6.891 MB / 1.248 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.0006381/0.7664, allocations: 305.6 kB / 1.554 GB, free: 6.582 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.7666, allocations: 87.42 kB / 1.554 GB, free: 6.496 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.7667, allocations: 83.36 kB / 1.554 GB, free: 6.41 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.7668, allocations: 15.98 kB / 1.554 GB, free: 6.395 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.7668, allocations: 3.938 kB / 1.554 GB, free: 6.391 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001237/0.768, allocations: 0.831 MB / 1.555 GB, free: 5.469 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003164/0.7712, allocations: 1.537 MB / 1.556 GB, free: 3.852 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.7712, allocations: 4.406 kB / 1.556 GB, free: 3.848 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006381/0.7718, allocations: 131.8 kB / 1.557 GB, free: 3.719 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000107/0.7719, allocations: 32.89 kB / 1.557 GB, free: 3.684 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.618e-05/0.772, allocations: 27.91 kB / 1.557 GB, free: 3.656 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/0.7735, allocations: 1.457 MB / 1.558 GB, free: 2.098 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.7735, allocations: 7.938 kB / 1.558 GB, free: 2.09 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/0.7755, allocations: 1.07 MB / 1.559 GB, free: 0.9648 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005576/0.7761, allocations: 143.4 kB / 1.559 GB, free: 0.8242 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.7762, allocations: 16 kB / 1.559 GB, free: 0.8086 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006638/0.7769, allocations: 29.81 kB / 1.559 GB, free: 0.7812 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.777, allocations: 51.8 kB / 1.559 GB, free: 0.7305 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.482e-05/0.7771, allocations: 32.05 kB / 1.559 GB, free: 0.6992 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.000696/0.7778, allocations: 451 kB / 1.56 GB, free: 272 kB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.7778, allocations: 0 / 1.56 GB, free: 272 kB / 1.248 GB Notification: Performance of remove unused functions: time 0.001085/0.7789, allocations: 276 kB / 1.56 GB, free: 15.99 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.0004578/0.7793, allocations: 184.7 kB / 1.56 GB, free: 15.8 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001588/0.7809, allocations: 0.7764 MB / 1.561 GB, free: 15 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.647e-06/0.7809, allocations: 4 kB / 1.561 GB, free: 15 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006516/0.7816, allocations: 399.8 kB / 1.561 GB, free: 14.59 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002337/0.7839, allocations: 0.4936 MB / 1.562 GB, free: 14.12 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/0.7875, allocations: 1.815 MB / 1.564 GB, free: 12.23 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006483/0.7882, allocations: 0.4886 MB / 1.564 GB, free: 11.7 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0008159/0.789, allocations: 198.6 kB / 1.564 GB, free: 11.5 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.7892, allocations: 67.42 kB / 1.564 GB, free: 11.44 MB / 1.264 GB Notification: Performance of SimCode: time 1.773e-06/0.7892, allocations: 0 / 1.564 GB, free: 11.44 MB / 1.264 GB Notification: Performance of Templates: time 0.03788/0.8271, allocations: 19.37 MB / 1.583 GB, free: 8.508 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.657002598047256]