Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.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.001547/0.001547, 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.00171/0.00171, allocations: 214.1 kB / 22.25 MB, free: 4.855 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.4/1.4, 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.035/3.035, allocations: 0.4892 GB / 0.7943 GB, free: 35.75 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",fmuType="me",version="2.0",platforms={"static"}) [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.002116/0.002116, allocations: 69.86 kB / 1.153 GB, free: 25.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3329, allocations: 176.1 MB / 1.325 GB, free: 2.383 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.003598/0.3365, allocations: 1.867 MB / 1.327 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.3378, allocations: 0.6509 MB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.3379, allocations: 0 / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.3382, allocations: 63.67 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002859/0.3385, allocations: 75.52 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.3388, allocations: 67.89 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000796/0.3396, allocations: 0.7019 MB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.3397, allocations: 29.52 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000446/0.3401, allocations: 243.5 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004637/0.3406, allocations: 259.5 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.3407, allocations: 44 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.3408, allocations: 55.94 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002194/0.341, allocations: 179.6 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002478/0.3413, allocations: 191.3 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005545/0.3418, allocations: 0.5063 MB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3418, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3418, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.3419, allocations: 4 kB / 1.33 GB, free: 13.45 MB / 1.029 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.001992/0.3438, allocations: 0.696 MB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3439, allocations: 16.03 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.257e-05/0.3439, allocations: 46.73 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002158/0.3461, allocations: 232.5 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000535/0.3466, allocations: 258 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.3467, allocations: 24.17 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.956e-05/0.3467, allocations: 35.95 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/0.3471, allocations: 172.6 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3471, allocations: 0 / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.3471, allocations: 4 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.3471, allocations: 4 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/0.3474, allocations: 144.5 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00403/0.3514, allocations: 1.035 MB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.3527, allocations: 460 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.3529, allocations: 108.7 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.3529, allocations: 4 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.353, allocations: 34.56 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.513e-06/0.353, allocations: 0 / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0006807/0.3537, allocations: 359.5 kB / 1.333 GB, free: 9.719 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.3537, allocations: 55.41 kB / 1.333 GB, free: 9.652 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.354, allocations: 293.7 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.157e-05/0.354, allocations: 37.7 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.3542, allocations: 140.9 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.835e-05/0.3542, allocations: 75.34 kB / 1.334 GB, free: 9.098 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.3544, allocations: 122.1 kB / 1.334 GB, free: 8.973 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3546, allocations: 342.8 kB / 1.334 GB, free: 8.629 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004847/0.3551, allocations: 272.8 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005348/0.3556, allocations: 371.3 kB / 1.335 GB, free: 7.977 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007013/0.3563, allocations: 441.7 kB / 1.335 GB, free: 7.543 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3563, allocations: 0 / 1.335 GB, free: 7.543 MB / 1.029 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001169/0.3575, allocations: 0.6808 MB / 1.336 GB, free: 6.859 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3575, allocations: 8 kB / 1.336 GB, free: 6.852 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3575, allocations: 0 / 1.336 GB, free: 6.852 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3575, allocations: 3.984 kB / 1.336 GB, free: 6.848 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007141/0.3582, allocations: 127.8 kB / 1.336 GB, free: 6.723 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.3582, allocations: 0 / 1.336 GB, free: 6.723 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.3594, allocations: 83.45 kB / 1.336 GB, free: 6.641 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-05/0.3594, allocations: 23.98 kB / 1.336 GB, free: 6.617 MB / 1.029 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.0001712/0.3596, allocations: 162.2 kB / 1.336 GB, free: 6.449 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.747e-05/0.3596, allocations: 23.8 kB / 1.336 GB, free: 6.426 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.204e-05/0.3597, allocations: 30.12 kB / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3597, allocations: 4 kB / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.3597, allocations: 0 / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.3597, allocations: 0 / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.3601, allocations: 272.5 kB / 1.337 GB, free: 6.082 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3601, allocations: 0 / 1.337 GB, free: 6.082 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.3603, allocations: 47.91 kB / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3603, allocations: 4 kB / 1.337 GB, free: 6.031 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.3603, allocations: 8 kB / 1.337 GB, free: 6.023 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3603, allocations: 0 / 1.337 GB, free: 6.023 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.3604, allocations: 7.984 kB / 1.337 GB, free: 6.016 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006658/0.361, allocations: 492.7 kB / 1.337 GB, free: 5.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.723e-05/0.3611, allocations: 31.8 kB / 1.337 GB, free: 5.488 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.3611, allocations: 11.94 kB / 1.337 GB, free: 5.477 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004792/0.3616, allocations: 7.984 kB / 1.337 GB, free: 5.469 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.3617, allocations: 19.97 kB / 1.337 GB, free: 5.449 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.3617, allocations: 3.938 kB / 1.337 GB, free: 5.445 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001796/0.3618, allocations: 197.2 kB / 1.338 GB, free: 5.25 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3618, allocations: 0 / 1.338 GB, free: 5.25 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005176/0.3624, allocations: 207.9 kB / 1.338 GB, free: 5.047 MB / 1.029 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.0009768/0.3633, allocations: 1.019 MB / 1.339 GB, free: 4.004 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00075/0.3641, allocations: 430.6 kB / 1.339 GB, free: 3.586 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3641, allocations: 0 / 1.339 GB, free: 3.586 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.3643, allocations: 119.9 kB / 1.339 GB, free: 3.469 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.3647, allocations: 56.53 kB / 1.339 GB, free: 3.418 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005764/0.3705, allocations: 4.333 MB / 1.344 GB, free: 15 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/0.3706, allocations: 169 kB / 1.344 GB, free: 14.82 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002406/0.3709, allocations: 86.22 kB / 1.344 GB, free: 14.73 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.3711, allocations: 87.39 kB / 1.344 GB, free: 14.64 MB / 1.045 GB Notification: Performance of SimCode: time 6.41e-07/0.3711, allocations: 0 / 1.344 GB, free: 14.64 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03937/0.4105, allocations: 10.24 MB / 1.354 GB, free: 4.617 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.45, allocations: 7.547 kB / 1.354 GB, free: 4.613 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.csv --start-time 0 --stop-time 36000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 14.4 Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable con.T[6] in file Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.csv. Warning: Get data of variable con.T[6] from file Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.csv failed! Error: Could not read variable con.T[7] in file Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.csv. Warning: Get data of variable con.T[7] from file Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.csv failed! Error: Could not read variable con.T[8] in file Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.csv. Warning: Get data of variable con.T[8] from file Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.91823934391141]