Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.T.3.|con.T.4.|con.T.5.|con.T.6.|con.T.7.|con.T.8.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.T.3.|con.T.4.|con.T.5.|con.T.6.|con.T.7.|con.T.8.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001045, allocations: 97.56 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007859/0.007859, allocations: 168.4 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.379/2.379, allocations: 390.9 MB / 0.6663 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003176/0.0003176, allocations: 12 kB / 0.8159 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6867/0.687, allocations: 142.4 MB / 0.955 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.00213/0.6892, allocations: 1.613 MB / 0.9566 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008713/0.6901, allocations: 0.6221 MB / 0.9572 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.711e-05/0.6902, allocations: 2.25 kB / 0.9572 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.6905, allocations: 55.52 kB / 0.9573 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.6907, allocations: 67.8 kB / 0.9573 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.6908, allocations: 62.53 kB / 0.9574 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006139/0.6915, allocations: 0.7148 MB / 0.9581 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.6916, allocations: 33.25 kB / 0.9581 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002979/0.6919, allocations: 209.5 kB / 0.9583 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004038/0.6923, allocations: 263.1 kB / 0.9586 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.945e-05/0.6924, allocations: 26.88 kB / 0.9586 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.755e-05/0.6925, allocations: 24.88 kB / 0.9586 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001995/0.6927, allocations: 166.8 kB / 0.9588 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.6929, allocations: 209.1 kB / 0.959 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004463/0.6934, allocations: 481.1 kB / 0.9594 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.6934, allocations: 0 / 0.9594 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6934, allocations: 0 / 0.9594 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.6934, allocations: 0 / 0.9594 GB, free: 4.523 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001879/0.6953, allocations: 0.7278 MB / 0.9601 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.6954, allocations: 9.281 kB / 0.9602 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.6955, allocations: 34.81 kB / 0.9602 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004005/0.6959, allocations: 309.4 kB / 0.9605 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.6959, allocations: 30.89 kB / 0.9605 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.33e-05/0.696, allocations: 28.38 kB / 0.9605 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.6964, allocations: 175.2 kB / 0.9607 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.6964, allocations: 0 / 0.9607 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.6964, allocations: 4.812 kB / 0.9607 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.6964, allocations: 2.75 kB / 0.9607 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002706/0.6967, allocations: 145.7 kB / 0.9609 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004211/0.7009, allocations: 1.354 MB / 0.9622 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.7023, allocations: 473.5 kB / 0.9626 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.7025, allocations: 115 kB / 0.9627 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.7025, allocations: 2.625 kB / 0.9627 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.7025, allocations: 35.41 kB / 0.9628 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=19): time 1.713e-06/0.7025, allocations: 0.9375 kB / 0.9628 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19): time 0.0006482/0.7032, allocations: 361.5 kB / 0.9631 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.7032, allocations: 53.44 kB / 0.9632 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.7035, allocations: 292.5 kB / 0.9634 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.647e-05/0.7035, allocations: 36.23 kB / 0.9635 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.032e-05/0.7036, allocations: 131.7 kB / 0.9636 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.465e-05/0.7037, allocations: 81.39 kB / 0.9637 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.484e-05/0.7038, allocations: 61.62 kB / 0.9637 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.852e-05/0.7039, allocations: 354.6 kB / 0.9641 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004449/0.7043, allocations: 268.5 kB / 0.9643 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004786/0.7048, allocations: 325.6 kB / 0.9646 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006844/0.7055, allocations: 442.9 kB / 0.9651 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.7055, allocations: 7.969 kB / 0.9651 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001119/0.7066, allocations: 0.6871 MB / 0.9658 GB, free: 264 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.7067, allocations: 9.375 kB / 0.9658 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.7067, allocations: 3.938 kB / 0.9658 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.7067, allocations: 6.625 kB / 0.9658 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007624/0.7075, allocations: 130.2 kB / 0.9659 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.7075, allocations: 3 kB / 0.9659 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.7089, allocations: 92.69 kB / 0.966 GB, free: 148 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.884e-05/0.709, allocations: 19.58 kB / 0.966 GB, free: 140 kB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (61): * Single equations (assignments): 61 * 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.0002078/0.7092, allocations: 161.9 kB / 0.9662 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.09e-05/0.7092, allocations: 24.84 kB / 0.9662 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.69e-05/0.7093, allocations: 33.17 kB / 0.9662 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.7093, allocations: 2.094 kB / 0.9662 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.7094, allocations: 0 / 0.9662 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.7094, allocations: 1 kB / 0.9662 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005034/0.7099, allocations: 427.9 kB / 0.9666 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7099, allocations: 0.7188 kB / 0.9666 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.7102, allocations: 40.25 kB / 0.9667 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.7102, allocations: 4.906 kB / 0.9667 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.7102, allocations: 12.14 kB / 0.9667 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.7102, allocations: 0 / 0.9667 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7102, allocations: 4.938 kB / 0.9667 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008032/0.711, allocations: 494.2 kB / 0.9672 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.7112, allocations: 110.6 kB / 0.9673 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.892e-05/0.7112, allocations: 8.531 kB / 0.9673 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006222/0.7118, allocations: 29.39 kB / 0.9673 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/0.7119, allocations: 13.59 kB / 0.9673 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.7119, allocations: 3.594 kB / 0.9673 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002223/0.7122, allocations: 196.8 kB / 0.9675 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7122, allocations: 0 / 0.9675 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007363/0.7129, allocations: 200.1 kB / 0.9677 GB, free: 14.91 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con.T[5],con.T[6],con.T[7],con.T[8]) * 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 (19): * Single equations (assignments): 19 * 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.0001459/0.7131, allocations: 111.1 kB / 0.9678 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000833/0.7139, allocations: 456.3 kB / 0.9682 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.7139, allocations: 1.281 kB / 0.9682 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.7141, allocations: 128.6 kB / 0.9684 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005364/0.7147, allocations: 60.19 kB / 0.9684 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.7163, allocations: 1.182 MB / 0.9696 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.7167, allocations: 0.7699 MB / 0.9703 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002691/0.717, allocations: 91.89 kB / 0.9704 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.7172, allocations: 32.78 kB / 0.9704 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/0.7172, allocations: 0 / 0.9704 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of Templates: time 0.01023/0.7274, allocations: 5.527 MB / 0.9758 GB, free: 9.676 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches