Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.001554/0.001554, allocations: 108.3 kB / 19.71 MB, free: 2.141 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.001785/0.001785, allocations: 214.4 kB / 23 MB, free: 4.957 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.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 3.294/3.294, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 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.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") [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.00209/0.00209, allocations: 70.08 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3727, allocations: 181.9 MB / 1.365 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.204/0.5768, allocations: 151 MB / 1.512 GB, free: 6.121 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.007007/0.5838, allocations: 4.045 MB / 1.516 GB, free: 2.07 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008215/0.5846, allocations: 31.75 kB / 1.516 GB, free: 2.039 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.5858, allocations: 342 kB / 1.516 GB, free: 1.703 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00354/0.5893, allocations: 1.276 MB / 1.518 GB, free: 432 kB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.5915, allocations: 0.8076 MB / 1.518 GB, free: 15.62 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002503/0.594, allocations: 1.722 MB / 1.52 GB, free: 13.89 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009267/0.595, allocations: 436.3 kB / 1.52 GB, free: 13.46 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001721/0.5967, allocations: 0.7941 MB / 1.521 GB, free: 12.66 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.5983, allocations: 0.5526 MB / 1.522 GB, free: 12.11 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002171/0.5986, allocations: 64 kB / 1.522 GB, free: 12.04 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.6001, allocations: 0.6702 MB / 1.522 GB, free: 11.37 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003188/0.6004, allocations: 279.2 kB / 1.523 GB, free: 11.1 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.000439/0.6009, allocations: 350.6 kB / 1.523 GB, free: 10.75 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.6026, allocations: 1.246 MB / 1.524 GB, free: 9.504 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.6026, allocations: 4 kB / 1.524 GB, free: 9.5 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6026, allocations: 0 / 1.524 GB, free: 9.5 MB / 1.217 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.6026, allocations: 0 / 1.524 GB, free: 9.5 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001819/0.6044, allocations: 0.9796 MB / 1.525 GB, free: 8.484 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.6045, allocations: 8.031 kB / 1.525 GB, free: 8.477 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009584/0.6054, allocations: 163.5 kB / 1.525 GB, free: 8.316 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009122/0.6063, allocations: 494.7 kB / 1.526 GB, free: 7.812 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.998e-05/0.6064, allocations: 45.31 kB / 1.526 GB, free: 7.77 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.433e-05/0.6065, allocations: 52 kB / 1.526 GB, free: 7.719 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.6077, allocations: 0.9989 MB / 1.527 GB, free: 6.621 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.6078, allocations: 0 / 1.527 GB, free: 6.621 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-05/0.6078, allocations: 28 kB / 1.527 GB, free: 6.594 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-05/0.6079, allocations: 25.25 kB / 1.527 GB, free: 6.566 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009681/0.6088, allocations: 0.5048 MB / 1.528 GB, free: 6.062 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.002982/0.6118, allocations: 1.563 MB / 1.529 GB, free: 4.457 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005183/0.6123, allocations: 240.3 kB / 1.529 GB, free: 4.215 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.6126, allocations: 128.8 kB / 1.529 GB, free: 4.086 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.6126, allocations: 4 kB / 1.529 GB, free: 4.082 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.6126, allocations: 46.5 kB / 1.529 GB, free: 4.027 MB / 1.217 GB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.6126, allocations: 0 / 1.529 GB, free: 4.027 MB / 1.217 GB Notification: Performance of matching and sorting (n=20): time 0.00158/0.6142, allocations: 0.5082 MB / 1.53 GB, free: 3.508 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.6143, allocations: 77.11 kB / 1.53 GB, free: 3.414 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000526/0.6148, allocations: 445.8 kB / 1.53 GB, free: 2.973 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.6148, allocations: 29.7 kB / 1.53 GB, free: 2.938 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/0.6151, allocations: 355.7 kB / 1.531 GB, free: 2.586 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.432e-05/0.6152, allocations: 71.36 kB / 1.531 GB, free: 2.516 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.6153, allocations: 73.97 kB / 1.531 GB, free: 2.438 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.6155, allocations: 350.7 kB / 1.531 GB, free: 2.086 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.6157, allocations: 128.6 kB / 1.531 GB, free: 1.961 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/0.6161, allocations: 252.3 kB / 1.532 GB, free: 1.676 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005744/0.6167, allocations: 328.4 kB / 1.532 GB, free: 1.324 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.6167, allocations: 4 kB / 1.532 GB, free: 1.32 MB / 1.217 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009115/0.6176, allocations: 495.2 kB / 1.532 GB, free: 0.8242 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.6176, allocations: 4.281 kB / 1.532 GB, free: 0.8203 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.6176, allocations: 8 kB / 1.532 GB, free: 0.8125 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003309/0.6179, allocations: 89.64 kB / 1.533 GB, free: 0.7188 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.6183, allocations: 71.91 kB / 1.533 GB, free: 0.6484 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003318/0.6216, allocations: 3.074 MB / 1.536 GB, free: 13.37 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.622, allocations: 35.73 kB / 1.536 GB, free: 13.34 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.622, allocations: 12 kB / 1.536 GB, free: 13.32 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 32 * 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,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002988/0.6223, allocations: 229.7 kB / 1.536 GB, free: 13.09 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-05/0.6224, allocations: 47.72 kB / 1.536 GB, free: 13.04 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.041e-05/0.6225, allocations: 43.69 kB / 1.536 GB, free: 13 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.6225, allocations: 0 / 1.536 GB, free: 13 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.6225, allocations: 0 / 1.536 GB, free: 13 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007587/0.6233, allocations: 0.5266 MB / 1.536 GB, free: 12.4 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.6245, allocations: 0.7602 MB / 1.537 GB, free: 11.59 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6245, allocations: 0 / 1.537 GB, free: 11.59 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.6247, allocations: 47.91 kB / 1.537 GB, free: 11.55 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001964/0.6249, allocations: 64.75 kB / 1.537 GB, free: 11.48 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.6249, allocations: 11.98 kB / 1.537 GB, free: 11.47 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001716/0.6266, allocations: 1.679 MB / 1.539 GB, free: 9.684 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6266, allocations: 0 / 1.539 GB, free: 9.684 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006328/0.6272, allocations: 431.8 kB / 1.539 GB, free: 9.238 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.6274, allocations: 79.67 kB / 1.539 GB, free: 9.16 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.269e-05/0.6275, allocations: 11.88 kB / 1.539 GB, free: 9.148 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000394/0.6279, allocations: 24.98 kB / 1.539 GB, free: 9.125 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.478e-05/0.628, allocations: 19.95 kB / 1.539 GB, free: 9.105 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/0.628, allocations: 16 kB / 1.54 GB, free: 9.09 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.000363/0.6284, allocations: 303.1 kB / 1.54 GB, free: 8.797 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.6284, allocations: 4 kB / 1.54 GB, free: 8.793 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.000662/0.629, allocations: 215.6 kB / 1.54 GB, free: 8.582 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002788/0.6293, allocations: 151.1 kB / 1.54 GB, free: 8.426 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0009482/0.6303, allocations: 0.5243 MB / 1.541 GB, free: 7.875 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6303, allocations: 0 / 1.541 GB, free: 7.875 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003744/0.6306, allocations: 250.5 kB / 1.541 GB, free: 7.617 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.6319, allocations: 268.8 kB / 1.541 GB, free: 7.359 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.6336, allocations: 1.026 MB / 1.542 GB, free: 6.297 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.6339, allocations: 310.2 kB / 1.542 GB, free: 5.969 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.634, allocations: 39.44 kB / 1.542 GB, free: 5.93 MB / 1.232 GB Notification: Performance of SimCode: time 4.11e-07/0.634, allocations: 0 / 1.542 GB, free: 5.93 MB / 1.232 GB Notification: Performance of Templates: time 0.01778/0.6518, allocations: 12.43 MB / 1.555 GB, free: 9.547 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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: 13.56996012898162]