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: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.294/2.294, allocations: 390.3 MB / 0.6647 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 55.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5105/0.5118, allocations: 140.4 MB / 0.9497 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.002523/0.5144, allocations: 1.898 MB / 0.9516 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007924/0.5152, allocations: 0.6433 MB / 0.9522 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.621e-05/0.5153, allocations: 2.594 kB / 0.9522 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00023/0.5155, allocations: 59.69 kB / 0.9522 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.5157, allocations: 66.31 kB / 0.9523 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001653/0.5159, allocations: 74.62 kB / 0.9524 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004766/0.5164, allocations: 0.6907 MB / 0.953 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.832e-05/0.5165, allocations: 35.64 kB / 0.9531 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.5167, allocations: 232.3 kB / 0.9533 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003077/0.517, allocations: 278.6 kB / 0.9536 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.709e-05/0.5171, allocations: 45.47 kB / 0.9536 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.409e-05/0.5172, allocations: 47.72 kB / 0.9537 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.5173, allocations: 186.3 kB / 0.9538 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.5175, allocations: 213.1 kB / 0.954 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.5179, allocations: 0.4994 MB / 0.9545 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.5179, allocations: 1.094 kB / 0.9545 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5179, allocations: 0 / 0.9545 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.5179, allocations: 0 / 0.9545 GB, free: 5.617 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.001822/0.5197, allocations: 0.7664 MB / 0.9553 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.5198, allocations: 8.844 kB / 0.9553 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.861e-05/0.5198, allocations: 48.67 kB / 0.9553 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.124e-05/0.5199, allocations: 30.22 kB / 0.9554 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.5202, allocations: 313.7 kB / 0.9557 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.5203, allocations: 25.33 kB / 0.9557 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.767e-05/0.5203, allocations: 35.67 kB / 0.9557 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.5206, allocations: 172.3 kB / 0.9559 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.5206, allocations: 5.406 kB / 0.9559 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.5207, allocations: 4 kB / 0.9559 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.5207, allocations: 2.969 kB / 0.9559 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.5209, allocations: 154.9 kB / 0.956 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004023/0.5249, allocations: 1.301 MB / 0.9573 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.5262, allocations: 467.9 kB / 0.9578 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.5264, allocations: 117.2 kB / 0.9579 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.5264, allocations: 6.156 kB / 0.9579 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.208e-05/0.5265, allocations: 32.81 kB / 0.9579 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=19): time 1.432e-06/0.5265, allocations: 0 / 0.9579 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19): time 0.0005983/0.5271, allocations: 354.4 kB / 0.9582 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.5271, allocations: 57.53 kB / 0.9583 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.5273, allocations: 285 kB / 0.9586 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/0.5274, allocations: 35.95 kB / 0.9586 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.879e-05/0.5275, allocations: 140.2 kB / 0.9587 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.808e-05/0.5275, allocations: 81.06 kB / 0.9588 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.5277, allocations: 114.1 kB / 0.9589 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.602e-05/0.5278, allocations: 339.1 kB / 0.9593 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004215/0.5282, allocations: 270.9 kB / 0.9595 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004455/0.5287, allocations: 322.6 kB / 0.9598 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006033/0.5293, allocations: 443.8 kB / 0.9602 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5293, allocations: 0 / 0.9602 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001051/0.5303, allocations: 0.6945 MB / 0.9609 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.5304, allocations: 6.875 kB / 0.9609 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.5304, allocations: 0 / 0.9609 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.5304, allocations: 2.438 kB / 0.9609 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007419/0.5311, allocations: 125.8 kB / 0.961 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.5312, allocations: 7.047 kB / 0.9611 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.5325, allocations: 95.09 kB / 0.9611 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.591e-05/0.5325, allocations: 19.11 kB / 0.9612 GB, free: 1.125 MB / 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.0001272/0.5327, allocations: 163 kB / 0.9613 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.559e-05/0.5327, allocations: 23.78 kB / 0.9613 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.458e-05/0.5328, allocations: 24.38 kB / 0.9614 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.5328, allocations: 2.156 kB / 0.9614 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.5328, allocations: 5.094 kB / 0.9614 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.5328, allocations: 3.984 kB / 0.9614 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000331/0.5332, allocations: 429.1 kB / 0.9618 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5332, allocations: 0 / 0.9618 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.5334, allocations: 42.81 kB / 0.9618 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.5334, allocations: 1.312 kB / 0.9618 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.5335, allocations: 8.062 kB / 0.9618 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.5335, allocations: 1.125 kB / 0.9618 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.5335, allocations: 11.86 kB / 0.9618 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005392/0.534, allocations: 491.5 kB / 0.9623 GB, free: 200 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.842e-05/0.5341, allocations: 111.1 kB / 0.9624 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.5341, allocations: 8.094 kB / 0.9624 GB, free: 72 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005973/0.5347, allocations: 24.42 kB / 0.9625 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.5348, allocations: 9.328 kB / 0.9625 GB, free: 52 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.5348, allocations: 3.5 kB / 0.9625 GB, free: 52 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001695/0.535, allocations: 196.7 kB / 0.9627 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.535, allocations: 0 / 0.9627 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005649/0.5356, allocations: 200.5 kB / 0.9628 GB, free: 15.9 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.0008622/0.5364, allocations: 1.027 MB / 0.9638 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000797/0.5372, allocations: 487 kB / 0.9643 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5373, allocations: 3.938 kB / 0.9643 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.5374, allocations: 123 kB / 0.9644 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004879/0.5379, allocations: 58.72 kB / 0.9645 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005442/0.5434, allocations: 4.319 MB / 0.9687 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.5437, allocations: 0.7657 MB / 0.9695 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002737/0.544, allocations: 88.58 kB / 0.9695 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/0.5442, allocations: 88.3 kB / 0.9696 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of SimCode: time 3.61e-07/0.5442, allocations: 4 kB / 0.9696 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02669/0.5709, allocations: 8.799 MB / 0.9782 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.39/7.961, allocations: 0.6875 kB / 0.9782 GB, free: 4.285 MB / 0.7325 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.csv --start-time 0 --stop-time 36000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 14.4 Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches