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.001702/0.001702, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00219/0.00219, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 8.016 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.341/3.341, allocations: 0.49 GB / 0.7951 GB, free: 33.48 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: "" <> 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.002058/0.002058, allocations: 64.53 kB / 1.154 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3593, allocations: 176.1 MB / 1.326 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.00352/0.3628, allocations: 1.952 MB / 1.328 GB, free: 20 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.3642, allocations: 0.7014 MB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.765e-05/0.3642, allocations: 3.938 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000294/0.3645, allocations: 63.66 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.3648, allocations: 79.52 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.3651, allocations: 67.89 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008141/0.3659, allocations: 0.7058 MB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.366, allocations: 21.58 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003892/0.3664, allocations: 235.6 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000478/0.3669, allocations: 275.3 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.958e-05/0.367, allocations: 48 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.3671, allocations: 56 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002513/0.3673, allocations: 191.5 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002338/0.3676, allocations: 207.3 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000595/0.3681, allocations: 0.5024 MB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3682, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3682, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.3682, allocations: 0 / 1.331 GB, free: 12.88 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.00219/0.3704, allocations: 0.6999 MB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.3704, allocations: 8.031 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.722e-05/0.3705, allocations: 42.75 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002247/0.3727, allocations: 240.5 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006305/0.3733, allocations: 250 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/0.3734, allocations: 28.17 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.255e-05/0.3735, allocations: 35.95 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.3738, allocations: 179.4 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3738, allocations: 0 / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.3739, allocations: 3.984 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.3739, allocations: 4 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002671/0.3741, allocations: 140.6 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004475/0.3786, allocations: 1.276 MB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.3801, allocations: 467.5 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.3803, allocations: 100.8 kB / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.3803, allocations: 0 / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.3803, allocations: 42.56 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.823e-06/0.3803, allocations: 0 / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0008228/0.3811, allocations: 355.2 kB / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.3812, allocations: 55.41 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/0.3815, allocations: 293.7 kB / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.955e-05/0.3816, allocations: 37.7 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.3817, allocations: 129 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.3818, allocations: 83.31 kB / 1.335 GB, free: 8.277 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/0.382, allocations: 122.1 kB / 1.335 GB, free: 8.152 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3822, allocations: 342.8 kB / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000478/0.3827, allocations: 268.8 kB / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00053/0.3832, allocations: 319.9 kB / 1.336 GB, free: 7.223 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007235/0.3839, allocations: 449.5 kB / 1.337 GB, free: 6.781 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3839, allocations: 3.938 kB / 1.337 GB, free: 6.777 MB / 1.029 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001239/0.3852, allocations: 0.6848 MB / 1.337 GB, free: 6.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.3852, allocations: 9.875 kB / 1.337 GB, free: 6.082 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3852, allocations: 0 / 1.337 GB, free: 6.082 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.3852, allocations: 0 / 1.337 GB, free: 6.082 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007485/0.386, allocations: 131.8 kB / 1.337 GB, free: 5.953 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.386, allocations: 7.938 kB / 1.337 GB, free: 5.945 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.3871, allocations: 79.45 kB / 1.337 GB, free: 5.867 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.699e-05/0.3871, allocations: 19.98 kB / 1.337 GB, free: 5.848 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.0002023/0.3873, allocations: 162.3 kB / 1.338 GB, free: 5.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.942e-05/0.3874, allocations: 23.8 kB / 1.338 GB, free: 5.656 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.729e-05/0.3875, allocations: 26.12 kB / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3875, allocations: 4 kB / 1.338 GB, free: 5.625 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3875, allocations: 0 / 1.338 GB, free: 5.625 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.3875, allocations: 0 / 1.338 GB, free: 5.625 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004855/0.388, allocations: 404.1 kB / 1.338 GB, free: 5.188 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.388, allocations: 0 / 1.338 GB, free: 5.188 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.3882, allocations: 47.84 kB / 1.338 GB, free: 5.141 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3882, allocations: 0 / 1.338 GB, free: 5.141 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.3882, allocations: 12 kB / 1.338 GB, free: 5.129 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3883, allocations: 0 / 1.338 GB, free: 5.129 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3883, allocations: 0 / 1.338 GB, free: 5.129 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007135/0.389, allocations: 488.4 kB / 1.339 GB, free: 4.637 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.904e-05/0.389, allocations: 35.78 kB / 1.339 GB, free: 4.602 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/0.3891, allocations: 8 kB / 1.339 GB, free: 4.594 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004831/0.3896, allocations: 11.98 kB / 1.339 GB, free: 4.582 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.541e-05/0.3896, allocations: 15.97 kB / 1.339 GB, free: 4.566 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.3896, allocations: 7.984 kB / 1.339 GB, free: 4.559 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002017/0.3898, allocations: 197.1 kB / 1.339 GB, free: 4.363 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3898, allocations: 0 / 1.339 GB, free: 4.363 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005768/0.3904, allocations: 203.9 kB / 1.339 GB, free: 4.164 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.001037/0.3914, allocations: 1.03 MB / 1.34 GB, free: 3.109 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008525/0.3923, allocations: 434.6 kB / 1.34 GB, free: 2.688 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3923, allocations: 0 / 1.34 GB, free: 2.688 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.3925, allocations: 107.9 kB / 1.341 GB, free: 2.582 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005119/0.393, allocations: 66.81 kB / 1.341 GB, free: 2.52 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006294/0.3993, allocations: 4.329 MB / 1.345 GB, free: 14.1 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/0.3998, allocations: 0.7634 MB / 1.346 GB, free: 13.31 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003006/0.4001, allocations: 90.2 kB / 1.346 GB, free: 13.22 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/0.4003, allocations: 87.39 kB / 1.346 GB, free: 13.14 MB / 1.045 GB Notification: Performance of SimCode: time 1.222e-06/0.4003, allocations: 4 kB / 1.346 GB, free: 13.13 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04047/0.4408, allocations: 9.175 MB / 1.355 GB, free: 4.141 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.06, allocations: 7.859 kB / 1.355 GB, free: 4.141 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: 19.061070683999787]