Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.001395/0.001395, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001797/0.001797, allocations: 214.4 kB / 22.25 MB, free: 4.859 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.609/1.609, allocations: 230.6 MB / 256 MB, free: 7.801 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.553/3.553, allocations: 0.4892 GB / 0.7943 GB, free: 35.6 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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [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.002193/0.002193, allocations: 70.52 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5001/0.5023, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2395/0.7418, allocations: 165.5 MB / 1.487 GB, free: 11.76 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02001/0.7618, allocations: 11.99 MB / 1.499 GB, free: 15.74 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.7631, allocations: 43.62 kB / 1.499 GB, free: 15.7 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.7645, allocations: 405.3 kB / 1.499 GB, free: 15.3 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003045/0.7676, allocations: 0.9527 MB / 1.5 GB, free: 14.34 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.7698, allocations: 0.7329 MB / 1.501 GB, free: 13.62 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002549/0.7724, allocations: 1.512 MB / 1.502 GB, free: 12.1 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.7734, allocations: 0.4913 MB / 1.503 GB, free: 11.59 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006145/0.7796, allocations: 1.872 MB / 1.505 GB, free: 9.711 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001916/0.7815, allocations: 0.5043 MB / 1.505 GB, free: 9.211 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.7816, allocations: 52 kB / 1.505 GB, free: 9.16 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002203/0.7838, allocations: 0.7132 MB / 1.506 GB, free: 8.445 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003716/0.7842, allocations: 287.1 kB / 1.506 GB, free: 8.164 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004235/0.7846, allocations: 310.5 kB / 1.507 GB, free: 7.859 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.7866, allocations: 1.164 MB / 1.508 GB, free: 6.691 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.7866, allocations: 0 / 1.508 GB, free: 6.691 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7866, allocations: 0 / 1.508 GB, free: 6.691 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.7866, allocations: 0 / 1.508 GB, free: 6.691 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001904/0.7885, allocations: 1.014 MB / 1.509 GB, free: 5.641 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.7886, allocations: 8.031 kB / 1.509 GB, free: 5.633 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009906/0.7896, allocations: 191.3 kB / 1.509 GB, free: 5.445 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.7908, allocations: 499.8 kB / 1.509 GB, free: 4.938 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/0.7908, allocations: 41.31 kB / 1.509 GB, free: 4.895 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.777e-05/0.7909, allocations: 64 kB / 1.509 GB, free: 4.832 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.7923, allocations: 0.8001 MB / 1.51 GB, free: 3.918 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.7924, allocations: 11.88 kB / 1.51 GB, free: 3.906 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-05/0.7924, allocations: 27.94 kB / 1.51 GB, free: 3.879 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.796e-05/0.7925, allocations: 21 kB / 1.51 GB, free: 3.859 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009353/0.7934, allocations: 463.3 kB / 1.511 GB, free: 3.402 MB / 1.201 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.004922/0.7983, allocations: 3.856 MB / 1.514 GB, free: 15.39 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.7985, allocations: 98.44 kB / 1.515 GB, free: 15.25 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.7986, allocations: 75.44 kB / 1.515 GB, free: 15.17 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/0.7987, allocations: 19.98 kB / 1.515 GB, free: 15.15 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.7988, allocations: 34.56 kB / 1.515 GB, free: 15.11 MB / 1.217 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.7988, allocations: 3.938 kB / 1.515 GB, free: 15.1 MB / 1.217 GB Notification: Performance of matching and sorting (n=10): time 0.0005572/0.7993, allocations: 209.4 kB / 1.515 GB, free: 14.89 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.347e-05/0.7994, allocations: 128.5 kB / 1.515 GB, free: 14.73 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009763/0.8004, allocations: 0.5887 MB / 1.516 GB, free: 14.14 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.8004, allocations: 29.7 kB / 1.516 GB, free: 14.1 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004535/0.8009, allocations: 431.8 kB / 1.516 GB, free: 13.67 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.8009, allocations: 47.67 kB / 1.516 GB, free: 13.62 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.8011, allocations: 86.05 kB / 1.516 GB, free: 13.54 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.8013, allocations: 366.7 kB / 1.517 GB, free: 13.17 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.8016, allocations: 116.6 kB / 1.517 GB, free: 13.05 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006628/0.8023, allocations: 0.5078 MB / 1.517 GB, free: 12.39 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007165/0.803, allocations: 437.5 kB / 1.518 GB, free: 11.86 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/0.803, allocations: 8 kB / 1.518 GB, free: 11.85 MB / 1.217 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009404/0.8039, allocations: 489.6 kB / 1.518 GB, free: 11.37 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.804, allocations: 8 kB / 1.518 GB, free: 11.36 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.804, allocations: 8 kB / 1.518 GB, free: 11.35 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/0.804, allocations: 12 kB / 1.518 GB, free: 11.34 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/0.8043, allocations: 91.83 kB / 1.518 GB, free: 11.25 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.612e-05/0.8043, allocations: 19.92 kB / 1.518 GB, free: 11.23 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005033/0.8048, allocations: 83.88 kB / 1.518 GB, free: 11.15 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.8049, allocations: 24 kB / 1.518 GB, free: 11.12 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002929/0.8052, allocations: 237.5 kB / 1.518 GB, free: 10.88 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.8053, allocations: 55.62 kB / 1.519 GB, free: 10.83 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/0.8055, allocations: 60.06 kB / 1.519 GB, free: 10.77 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.8055, allocations: 4 kB / 1.519 GB, free: 10.77 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.8055, allocations: 0 / 1.519 GB, free: 10.77 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.8056, allocations: 4 kB / 1.519 GB, free: 10.76 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/0.807, allocations: 0.9914 MB / 1.52 GB, free: 9.699 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.807, allocations: 8.438 kB / 1.52 GB, free: 9.691 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.454e-05/0.8071, allocations: 23.88 kB / 1.52 GB, free: 9.668 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.8071, allocations: 4 kB / 1.52 GB, free: 9.664 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.8071, allocations: 4 kB / 1.52 GB, free: 9.66 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.8071, allocations: 4 kB / 1.52 GB, free: 9.656 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.8071, allocations: 3.984 kB / 1.52 GB, free: 9.652 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.8074, allocations: 236.4 kB / 1.52 GB, free: 9.375 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.8076, allocations: 75.61 kB / 1.52 GB, free: 9.301 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.927e-05/0.8077, allocations: 7.938 kB / 1.52 GB, free: 9.293 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.8079, allocations: 23.98 kB / 1.52 GB, free: 9.27 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.8079, allocations: 7.984 kB / 1.52 GB, free: 9.262 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.8079, allocations: 4 kB / 1.52 GB, free: 9.258 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006277/0.8086, allocations: 406.8 kB / 1.52 GB, free: 8.863 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8086, allocations: 0 / 1.52 GB, free: 8.863 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006548/0.8092, allocations: 191.4 kB / 1.521 GB, free: 8.676 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004591/0.8097, allocations: 175 kB / 1.521 GB, free: 8.504 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005335/0.8102, allocations: 237.3 kB / 1.521 GB, free: 8.273 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.8102, allocations: 0 / 1.521 GB, free: 8.273 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 8.205e-05/0.8103, allocations: 47.84 kB / 1.521 GB, free: 8.227 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009304/0.8112, allocations: 210.7 kB / 1.521 GB, free: 8.027 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.813, allocations: 1.034 MB / 1.522 GB, free: 6.934 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000599/0.8136, allocations: 347.8 kB / 1.522 GB, free: 6.566 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003294/0.8139, allocations: 108.5 kB / 1.523 GB, free: 6.461 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.09e-05/0.814, allocations: 35.44 kB / 1.523 GB, free: 6.426 MB / 1.217 GB Notification: Performance of SimCode: time 3.21e-07/0.814, allocations: 0 / 1.523 GB, free: 6.426 MB / 1.217 GB Notification: Performance of Templates: time 0.01685/0.8308, allocations: 8.636 MB / 1.531 GB, free: 14.02 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.513700399547815]