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.0007577/0.0007577, allocations: 76.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007561/0.0007561, allocations: 173.2 kB / 22.46 MB, free: 2.098 MB / 18.57 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 0.8661/0.8661, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.665/1.665, allocations: 377.9 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.9809 GB, free: 2.637 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.87e-05/2.005e-05, allocations: 6.219 kB / 0.9809 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.002261/0.002281, allocations: 1.88 MB / 0.9827 GB, free: 0.7344 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008805/0.003162, allocations: 0.6469 MB / 0.9834 GB, free: 88 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.817e-05/0.00324, allocations: 3.938 kB / 0.9834 GB, free: 84 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0002337/0.003474, allocations: 51.69 kB / 0.9834 GB, free: 32 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0002367/0.00371, allocations: 79.41 kB / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.00388, allocations: 75.86 kB / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004548/0.004335, allocations: 0.7056 MB / 0.9843 GB, free: 15.17 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.004441, allocations: 25.3 kB / 0.9843 GB, free: 15.15 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000339/0.00478, allocations: 323.5 kB / 0.9846 GB, free: 14.83 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002623/0.005042, allocations: 259.5 kB / 0.9849 GB, free: 14.58 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.188e-05/0.005094, allocations: 48 kB / 0.9849 GB, free: 14.53 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.647e-05/0.005171, allocations: 48 kB / 0.9849 GB, free: 14.48 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.005314, allocations: 187.6 kB / 0.9851 GB, free: 14.3 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.005432, allocations: 171.6 kB / 0.9853 GB, free: 14.13 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004002/0.005832, allocations: 0.5611 MB / 0.9858 GB, free: 13.57 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.005836, allocations: 0 / 0.9858 GB, free: 13.57 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.062e-06/0.005837, allocations: 0 / 0.9858 GB, free: 13.57 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.005843, allocations: 0 / 0.9858 GB, free: 13.57 MB / 0.948 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.001183/0.007027, allocations: 0.6922 MB / 0.9865 GB, free: 12.85 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.007068, allocations: 12.03 kB / 0.9865 GB, free: 12.84 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.852e-05/0.007116, allocations: 46.75 kB / 0.9866 GB, free: 12.78 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.008129, allocations: 240.5 kB / 0.9868 GB, free: 12.55 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.008495, allocations: 249.2 kB / 0.987 GB, free: 12.27 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.008514, allocations: 20.61 kB / 0.9871 GB, free: 12.25 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.364e-05/0.008567, allocations: 28.38 kB / 0.9871 GB, free: 12.23 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.008796, allocations: 176.6 kB / 0.9872 GB, free: 12.05 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.008807, allocations: 11.98 kB / 0.9873 GB, free: 12.04 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.008824, allocations: 7.984 kB / 0.9873 GB, free: 12.03 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.00883, allocations: 4 kB / 0.9873 GB, free: 12.03 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.009, allocations: 144.5 kB / 0.9874 GB, free: 11.89 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002074/0.01107, allocations: 1.035 MB / 0.9884 GB, free: 10.81 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007468/0.01182, allocations: 450.2 kB / 0.9888 GB, free: 10.36 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.01194, allocations: 112.8 kB / 0.989 GB, free: 10.25 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.01197, allocations: 7.938 kB / 0.989 GB, free: 10.24 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.01198, allocations: 30.56 kB / 0.989 GB, free: 10.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 2.434e-06/0.01199, allocations: 0 / 0.989 GB, free: 10.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0004834/0.01247, allocations: 359.4 kB / 0.9893 GB, free: 9.844 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.0125, allocations: 55.41 kB / 0.9894 GB, free: 9.777 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.01277, allocations: 285.8 kB / 0.9897 GB, free: 9.496 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.0128, allocations: 33.7 kB / 0.9897 GB, free: 9.457 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.956e-05/0.01288, allocations: 141 kB / 0.9898 GB, free: 9.316 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.326e-05/0.01297, allocations: 79.33 kB / 0.9899 GB, free: 9.238 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.01309, allocations: 114.2 kB / 0.99 GB, free: 9.121 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.433e-05/0.01317, allocations: 342.8 kB / 0.9903 GB, free: 8.777 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/0.01348, allocations: 268.8 kB / 0.9906 GB, free: 8.516 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/0.01382, allocations: 379.2 kB / 0.991 GB, free: 8.121 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004592/0.01428, allocations: 437.7 kB / 0.9914 GB, free: 7.688 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.01428, allocations: 0 / 0.9914 GB, free: 7.688 MB / 0.948 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007511/0.01503, allocations: 0.6847 MB / 0.992 GB, free: 7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.01505, allocations: 7.938 kB / 0.992 GB, free: 6.992 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.01506, allocations: 4.031 kB / 0.9921 GB, free: 6.988 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.01508, allocations: 7.938 kB / 0.9921 GB, free: 6.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003753/0.01545, allocations: 131.8 kB / 0.9922 GB, free: 6.852 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.01546, allocations: 0 / 0.9922 GB, free: 6.852 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005213/0.01598, allocations: 71.58 kB / 0.9923 GB, free: 6.781 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.01601, allocations: 19.98 kB / 0.9923 GB, free: 6.762 MB / 0.948 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.0001366/0.01615, allocations: 157.8 kB / 0.9924 GB, free: 6.598 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.01618, allocations: 23.81 kB / 0.9924 GB, free: 6.574 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.442e-05/0.01623, allocations: 30.11 kB / 0.9925 GB, free: 6.543 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.01623, allocations: 7.938 kB / 0.9925 GB, free: 6.535 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.01624, allocations: 7.938 kB / 0.9925 GB, free: 6.527 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01624, allocations: 0 / 0.9925 GB, free: 6.527 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.01649, allocations: 272.5 kB / 0.9928 GB, free: 6.219 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01649, allocations: 0 / 0.9928 GB, free: 6.219 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.01663, allocations: 43.95 kB / 0.9928 GB, free: 6.176 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.01663, allocations: 0 / 0.9928 GB, free: 6.176 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.01665, allocations: 8 kB / 0.9928 GB, free: 6.168 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.01665, allocations: 3.938 kB / 0.9928 GB, free: 6.164 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.01665, allocations: 0 / 0.9928 GB, free: 6.164 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005873/0.01724, allocations: 0.4898 MB / 0.9933 GB, free: 5.66 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.01729, allocations: 31.78 kB / 0.9933 GB, free: 5.629 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.01731, allocations: 19.86 kB / 0.9933 GB, free: 5.609 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.01754, allocations: 15.98 kB / 0.9933 GB, free: 5.594 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.01758, allocations: 7.984 kB / 0.9934 GB, free: 5.586 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.01759, allocations: 7.984 kB / 0.9934 GB, free: 5.578 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000117/0.0177, allocations: 193.2 kB / 0.9935 GB, free: 5.391 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/0.0177, allocations: 0 / 0.9935 GB, free: 5.391 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003749/0.01808, allocations: 200 kB / 0.9937 GB, free: 5.195 MB / 0.948 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.0006062/0.01868, allocations: 1.029 MB / 0.9947 GB, free: 4.141 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005168/0.0192, allocations: 428.7 kB / 0.9952 GB, free: 3.723 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.0192, allocations: 0 / 0.9952 GB, free: 3.723 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.01931, allocations: 115.8 kB / 0.9953 GB, free: 3.609 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.01967, allocations: 64.56 kB / 0.9953 GB, free: 3.547 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003813/0.02349, allocations: 4.196 MB / 0.9994 GB, free: 15.27 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.0236, allocations: 157.2 kB / 0.9996 GB, free: 15.09 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001974/0.0238, allocations: 86.22 kB / 0.9997 GB, free: 15.01 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.02396, allocations: 88.45 kB / 0.9997 GB, free: 14.92 MB / 0.9636 GB Notification: Performance of SimCode: time 1.212e-06/0.02396, allocations: 0 / 0.9997 GB, free: 14.92 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.04873, allocations: 10.36 MB / 1.01 GB, free: 4.809 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.535/6.584, allocations: 6.375 kB / 1.01 GB, free: 4.805 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.620245954953134]