Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007936/0.0007936, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0008009/0.0008009, allocations: 165.9 kB / 22.45 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.8539/0.8539, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.738/1.738, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.249e-05, allocations: 5.094 kB / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.002262/0.002285, allocations: 1.869 MB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.003296, allocations: 0.643 MB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.574e-05/0.003382, allocations: 0 / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.003658, allocations: 63.5 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002558/0.003914, allocations: 75.52 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.0041, allocations: 75.75 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005043/0.004604, allocations: 0.7057 MB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.004719, allocations: 21.3 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005737/0.005293, allocations: 319.6 kB / 1.003 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/0.005598, allocations: 259.4 kB / 1.004 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.407e-05/0.005652, allocations: 48 kB / 1.004 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-05/0.005737, allocations: 55.92 kB / 1.004 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.005894, allocations: 187.6 kB / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.00602, allocations: 171.7 kB / 1.004 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004423/0.006462, allocations: 0.5611 MB / 1.005 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.006467, allocations: 0 / 1.005 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.364e-06/0.006469, allocations: 4 kB / 1.005 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.006475, allocations: 0 / 1.005 GB, free: 8.469 MB / 0.9636 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.001149/0.007625, allocations: 0.6844 MB / 1.005 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.00767, allocations: 12.75 kB / 1.005 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.083e-05/0.007711, allocations: 46.73 kB / 1.005 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.008736, allocations: 236.5 kB / 1.005 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/0.009093, allocations: 249.2 kB / 1.006 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.009111, allocations: 20.61 kB / 1.006 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.783e-05/0.009169, allocations: 36.36 kB / 1.006 GB, free: 7.133 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.009404, allocations: 175.4 kB / 1.006 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.009412, allocations: 4 kB / 1.006 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.009427, allocations: 4 kB / 1.006 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.009433, allocations: 4 kB / 1.006 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.009596, allocations: 156.5 kB / 1.006 GB, free: 6.793 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.01162, allocations: 1.031 MB / 1.007 GB, free: 5.719 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007542/0.01237, allocations: 464.3 kB / 1.008 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.01249, allocations: 109.1 kB / 1.008 GB, free: 5.148 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.01251, allocations: 4 kB / 1.008 GB, free: 5.145 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.01252, allocations: 34.52 kB / 1.008 GB, free: 5.102 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/0.01253, allocations: 0 / 1.008 GB, free: 5.102 MB / 0.9636 GB Notification: Performance of matching and sorting (n=19): time 0.0004488/0.01298, allocations: 357.3 kB / 1.008 GB, free: 4.746 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.013, allocations: 51.41 kB / 1.008 GB, free: 4.684 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.01319, allocations: 297.7 kB / 1.008 GB, free: 4.379 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.01322, allocations: 33.7 kB / 1.008 GB, free: 4.34 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.275e-05/0.0133, allocations: 133 kB / 1.009 GB, free: 4.207 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.979e-05/0.01336, allocations: 83.3 kB / 1.009 GB, free: 4.125 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.01348, allocations: 114.2 kB / 1.009 GB, free: 4.008 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.781e-05/0.01357, allocations: 338.8 kB / 1.009 GB, free: 3.668 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/0.01386, allocations: 272.8 kB / 1.009 GB, free: 3.402 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/0.0142, allocations: 379.3 kB / 1.01 GB, free: 3.012 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004451/0.01465, allocations: 437.7 kB / 1.01 GB, free: 2.586 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01465, allocations: 0 / 1.01 GB, free: 2.586 MB / 0.9636 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008929/0.01554, allocations: 0.6847 MB / 1.011 GB, free: 1.891 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.01556, allocations: 11.94 kB / 1.011 GB, free: 1.879 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.01557, allocations: 0 / 1.011 GB, free: 1.879 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.01558, allocations: 3.938 kB / 1.011 GB, free: 1.875 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003486/0.01593, allocations: 127.8 kB / 1.011 GB, free: 1.75 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.01594, allocations: 0 / 1.011 GB, free: 1.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004946/0.01643, allocations: 75.61 kB / 1.011 GB, free: 1.676 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.01646, allocations: 19.98 kB / 1.011 GB, free: 1.656 MB / 0.9636 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.0001131/0.01657, allocations: 161.7 kB / 1.011 GB, free: 1.488 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.0166, allocations: 23.81 kB / 1.011 GB, free: 1.465 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.697e-05/0.01664, allocations: 30.12 kB / 1.011 GB, free: 1.438 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.01665, allocations: 11.92 kB / 1.011 GB, free: 1.426 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.01665, allocations: 0 / 1.011 GB, free: 1.426 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.01665, allocations: 0 / 1.011 GB, free: 1.426 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.01688, allocations: 268.5 kB / 1.011 GB, free: 1.121 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01689, allocations: 0 / 1.011 GB, free: 1.121 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.01702, allocations: 51.91 kB / 1.011 GB, free: 1.07 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.01702, allocations: 0 / 1.011 GB, free: 1.07 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.01703, allocations: 11.98 kB / 1.012 GB, free: 1.059 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.01704, allocations: 3.938 kB / 1.012 GB, free: 1.055 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01704, allocations: 0 / 1.012 GB, free: 1.055 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004295/0.01747, allocations: 488.9 kB / 1.012 GB, free: 0.5625 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.211e-05/0.01751, allocations: 31.84 kB / 1.012 GB, free: 0.5312 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.01754, allocations: 15.91 kB / 1.012 GB, free: 0.5156 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.01775, allocations: 15.98 kB / 1.012 GB, free: 0.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.01779, allocations: 11.98 kB / 1.012 GB, free: 500 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-06/0.0178, allocations: 8 kB / 1.012 GB, free: 492 kB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001069/0.0179, allocations: 193.2 kB / 1.012 GB, free: 300 kB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.0179, allocations: 0 / 1.012 GB, free: 300 kB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003396/0.01824, allocations: 211.9 kB / 1.012 GB, free: 88 kB / 0.9636 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.0005894/0.01883, allocations: 1.019 MB / 1.013 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004804/0.01931, allocations: 426.6 kB / 1.014 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01931, allocations: 4 kB / 1.014 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.01942, allocations: 115.9 kB / 1.014 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.01973, allocations: 49.97 kB / 1.014 GB, free: 14.46 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/0.02339, allocations: 4.201 MB / 1.018 GB, free: 10.18 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.02349, allocations: 161.2 kB / 1.018 GB, free: 9.992 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001545/0.02365, allocations: 82.22 kB / 1.018 GB, free: 9.914 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.02379, allocations: 96.44 kB / 1.018 GB, free: 9.82 MB / 0.9792 GB Notification: Performance of SimCode: time 8.01e-07/0.02379, allocations: 0 / 1.018 GB, free: 9.82 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.0468, allocations: 10.35 MB / 1.029 GB, free: 15.7 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.704/6.751, allocations: 17.12 kB / 1.029 GB, free: 15.69 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.csv --start-time 0 --stop-time 36000 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 14.4 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.csv. Warning: Get data of variable con.T[6] from file Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.csv failed! Error: Could not read variable con.T[7] in file Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.csv. Warning: Get data of variable con.T[7] from file Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.csv failed! Error: Could not read variable con.T[8] in file Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.csv. Warning: Get data of variable con.T[8] from file Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.811826621182263]