Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.00176/0.00176, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.002102/0.002102, allocations: 156.9 kB / 23.01 MB, free: 4.945 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.463/1.463, allocations: 177.2 MB / 203.4 MB, free: 8.938 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.904/2.904, allocations: 394.2 MB / 0.6386 GB, free: 11.89 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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [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.002288/0.002288, allocations: 77.75 kB / 1.009 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9589/0.9612, allocations: 181.8 MB / 1.187 GB, free: 16.38 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2677/1.229, allocations: 168.6 MB / 1.351 GB, free: 13.29 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01477/1.244, allocations: 5.451 MB / 1.357 GB, free: 7.836 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001578/1.245, allocations: 55.5 kB / 1.357 GB, free: 7.781 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.00215/1.247, allocations: 0.563 MB / 1.357 GB, free: 7.215 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005204/1.253, allocations: 1.925 MB / 1.359 GB, free: 5.281 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003219/1.256, allocations: 1.213 MB / 1.36 GB, free: 4.074 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004222/1.26, allocations: 2.994 MB / 1.363 GB, free: 1.07 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/1.261, allocations: 0.7357 MB / 1.364 GB, free: 332 kB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002663/1.264, allocations: 1.324 MB / 1.365 GB, free: 15 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002235/1.266, allocations: 0.9273 MB / 1.366 GB, free: 14.07 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001978/1.266, allocations: 108 kB / 1.366 GB, free: 13.96 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002633/1.269, allocations: 1.184 MB / 1.367 GB, free: 12.78 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005646/1.27, allocations: 474.6 kB / 1.368 GB, free: 12.31 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0007434/1.27, allocations: 0.5408 MB / 1.368 GB, free: 11.77 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003087/1.273, allocations: 2.118 MB / 1.37 GB, free: 9.645 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/1.273, allocations: 0 / 1.37 GB, free: 9.645 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.773e-06/1.273, allocations: 0 / 1.37 GB, free: 9.645 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.707e-05/1.274, allocations: 0 / 1.37 GB, free: 9.645 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002699/1.276, allocations: 1.473 MB / 1.372 GB, free: 8.133 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/1.276, allocations: 11.97 kB / 1.372 GB, free: 8.121 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002072/1.278, allocations: 327 kB / 1.372 GB, free: 7.801 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001549/1.28, allocations: 0.7876 MB / 1.373 GB, free: 6.984 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.943e-05/1.28, allocations: 66 kB / 1.373 GB, free: 6.922 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/1.28, allocations: 83.95 kB / 1.373 GB, free: 6.84 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/1.282, allocations: 1.361 MB / 1.374 GB, free: 5.363 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/1.282, allocations: 4 kB / 1.374 GB, free: 5.359 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.43e-05/1.282, allocations: 36 kB / 1.374 GB, free: 5.324 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.722e-05/1.282, allocations: 37.98 kB / 1.374 GB, free: 5.285 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/1.284, allocations: 0.8198 MB / 1.375 GB, free: 4.465 MB / 1.217 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.005517/1.29, allocations: 2.379 MB / 1.378 GB, free: 2.035 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008443/1.291, allocations: 476.6 kB / 1.378 GB, free: 1.562 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004973/1.291, allocations: 270.7 kB / 1.378 GB, free: 1.297 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001735/1.291, allocations: 28.48 kB / 1.378 GB, free: 1.27 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/1.291, allocations: 39.06 kB / 1.378 GB, free: 1.223 MB / 1.217 GB Notification: Performance of pre-optimization done (n=47): time 2.765e-06/1.291, allocations: 4 kB / 1.378 GB, free: 1.219 MB / 1.217 GB Notification: Performance of matching and sorting (n=49): time 0.004504/1.296, allocations: 1.699 MB / 1.38 GB, free: 15.48 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/1.296, allocations: 59.91 kB / 1.38 GB, free: 15.41 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009754/1.297, allocations: 0.6526 MB / 1.381 GB, free: 14.75 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.852e-05/1.297, allocations: 37.7 kB / 1.381 GB, free: 14.71 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005912/1.297, allocations: 0.4921 MB / 1.381 GB, free: 14.21 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/1.298, allocations: 182.4 kB / 1.381 GB, free: 14.03 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/1.298, allocations: 114.2 kB / 1.382 GB, free: 13.91 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002407/1.298, allocations: 382.7 kB / 1.382 GB, free: 13.53 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00046/1.298, allocations: 241.2 kB / 1.382 GB, free: 13.29 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007682/1.299, allocations: 412.6 kB / 1.382 GB, free: 12.84 MB / 1.232 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.004071/1.303, allocations: 1.449 MB / 1.384 GB, free: 11.36 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/1.303, allocations: 4 kB / 1.384 GB, free: 11.35 MB / 1.232 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001567/1.305, allocations: 0.7722 MB / 1.385 GB, free: 10.57 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/1.305, allocations: 8 kB / 1.385 GB, free: 10.56 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/1.305, allocations: 0 / 1.385 GB, free: 10.56 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003132/1.305, allocations: 93.66 kB / 1.385 GB, free: 10.46 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006997/1.306, allocations: 143.8 kB / 1.385 GB, free: 10.32 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003608/1.31, allocations: 3.043 MB / 1.388 GB, free: 7.082 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008005/1.31, allocations: 24.2 kB / 1.388 GB, free: 7.059 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.303e-05/1.31, allocations: 24 kB / 1.388 GB, free: 7.035 MB / 1.232 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: 12 * 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 (67): * 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: 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,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005761/1.311, allocations: 301.6 kB / 1.388 GB, free: 6.73 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/1.311, allocations: 83.48 kB / 1.388 GB, free: 6.648 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/1.311, allocations: 87.36 kB / 1.388 GB, free: 6.555 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/1.311, allocations: 4 kB / 1.388 GB, free: 6.551 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.311, allocations: 7.938 kB / 1.388 GB, free: 6.543 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001301/1.313, allocations: 0.8402 MB / 1.389 GB, free: 5.609 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/1.315, allocations: 1.531 MB / 1.391 GB, free: 3.996 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/1.316, allocations: 12.03 kB / 1.391 GB, free: 3.984 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006493/1.316, allocations: 123.8 kB / 1.391 GB, free: 3.863 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002336/1.316, allocations: 68.8 kB / 1.391 GB, free: 3.793 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/1.316, allocations: 12 kB / 1.391 GB, free: 3.781 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002037/1.318, allocations: 1.655 MB / 1.393 GB, free: 2.027 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.488e-05/1.318, allocations: 8.016 kB / 1.393 GB, free: 2.02 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/1.32, allocations: 1.069 MB / 1.394 GB, free: 0.8945 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/1.321, allocations: 143.6 kB / 1.394 GB, free: 0.7539 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.076e-05/1.321, allocations: 16 kB / 1.394 GB, free: 0.7383 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006754/1.321, allocations: 26.05 kB / 1.394 GB, free: 0.7148 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/1.322, allocations: 47.86 kB / 1.394 GB, free: 0.668 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.086e-05/1.322, allocations: 27.98 kB / 1.394 GB, free: 0.6406 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006586/1.322, allocations: 451 kB / 1.394 GB, free: 212 kB / 1.232 GB Notification: Performance of sort global known variables: time 1.2e-07/1.322, allocations: 3.938 kB / 1.394 GB, free: 208 kB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009236/1.323, allocations: 284 kB / 1.395 GB, free: 15.92 MB / 1.248 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 (45): * Single equations (assignments): 44 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003236/1.324, allocations: 182.4 kB / 1.395 GB, free: 15.74 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001422/1.325, allocations: 0.773 MB / 1.395 GB, free: 14.94 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.325, allocations: 4 kB / 1.395 GB, free: 14.94 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0006519/1.326, allocations: 399.5 kB / 1.396 GB, free: 14.54 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/1.328, allocations: 0.5033 MB / 1.396 GB, free: 14.04 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00321/1.331, allocations: 1.819 MB / 1.398 GB, free: 12.15 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007224/1.332, allocations: 0.4922 MB / 1.399 GB, free: 11.62 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0006402/1.333, allocations: 194.3 kB / 1.399 GB, free: 11.43 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/1.333, allocations: 60.5 kB / 1.399 GB, free: 11.37 MB / 1.248 GB Notification: Performance of SimCode: time 8.22e-07/1.333, allocations: 0 / 1.399 GB, free: 11.37 MB / 1.248 GB Notification: Performance of Templates: time 0.03561/1.368, allocations: 18.26 MB / 1.417 GB, free: 9.52 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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: 9.73661185207311]