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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 111.1 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.144/3.144, allocations: 497.2 MB / 0.7811 GB, free: 33.67 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.001848/0.001848, allocations: 67.2 kB / 1.134 GB, free: 33.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3569, allocations: 173.9 MB / 1.304 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.003683/0.3606, allocations: 1.926 MB / 1.306 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.362, allocations: 0.6469 MB / 1.306 GB, free: 14.97 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002298/0.3622, allocations: 4 kB / 1.306 GB, free: 14.97 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003945/0.3626, allocations: 55.67 kB / 1.306 GB, free: 14.91 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003627/0.363, allocations: 71.53 kB / 1.307 GB, free: 14.84 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.3633, allocations: 67.88 kB / 1.307 GB, free: 14.78 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000968/0.3643, allocations: 0.6902 MB / 1.307 GB, free: 14.09 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.3644, allocations: 25.39 kB / 1.307 GB, free: 14.06 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003739/0.3648, allocations: 243.6 kB / 1.308 GB, free: 13.82 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004068/0.3652, allocations: 271.4 kB / 1.308 GB, free: 13.55 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.422e-05/0.3653, allocations: 44 kB / 1.308 GB, free: 13.51 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.683e-05/0.3654, allocations: 48 kB / 1.308 GB, free: 13.46 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002233/0.3656, allocations: 191.5 kB / 1.308 GB, free: 13.28 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.3658, allocations: 211.3 kB / 1.308 GB, free: 13.07 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000537/0.3664, allocations: 0.5062 MB / 1.309 GB, free: 12.56 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3664, allocations: 0 / 1.309 GB, free: 12.56 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3664, allocations: 0 / 1.309 GB, free: 12.56 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.3664, allocations: 0 / 1.309 GB, free: 12.56 MB / 1.014 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.002197/0.3686, allocations: 0.7675 MB / 1.31 GB, free: 11.75 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.3686, allocations: 8.625 kB / 1.31 GB, free: 11.74 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.932e-05/0.3687, allocations: 46.73 kB / 1.31 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.3688, allocations: 36.75 kB / 1.31 GB, free: 11.65 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006087/0.3694, allocations: 308.3 kB / 1.31 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.3694, allocations: 24.17 kB / 1.31 GB, free: 11.28 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.24e-05/0.3695, allocations: 39.98 kB / 1.31 GB, free: 11.24 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003804/0.3699, allocations: 172.6 kB / 1.31 GB, free: 11.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.3699, allocations: 0 / 1.31 GB, free: 11.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.37, allocations: 4 kB / 1.31 GB, free: 11.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.37, allocations: 7.938 kB / 1.31 GB, free: 11.06 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.3702, allocations: 145.3 kB / 1.31 GB, free: 10.92 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004418/0.3747, allocations: 1.308 MB / 1.312 GB, free: 9.547 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.3761, allocations: 458.2 kB / 1.312 GB, free: 9.09 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.3763, allocations: 109.1 kB / 1.312 GB, free: 8.98 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.3763, allocations: 0 / 1.312 GB, free: 8.98 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.3763, allocations: 38.52 kB / 1.312 GB, free: 8.934 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 1.343e-06/0.3763, allocations: 0 / 1.312 GB, free: 8.934 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.0007252/0.377, allocations: 358.4 kB / 1.312 GB, free: 8.578 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.3771, allocations: 55.41 kB / 1.313 GB, free: 8.512 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003508/0.3774, allocations: 286.6 kB / 1.313 GB, free: 8.223 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.437e-05/0.3775, allocations: 37.7 kB / 1.313 GB, free: 8.18 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.3776, allocations: 141 kB / 1.313 GB, free: 8.035 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.438e-05/0.3777, allocations: 75.31 kB / 1.313 GB, free: 7.961 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.3779, allocations: 118.2 kB / 1.313 GB, free: 7.836 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3781, allocations: 342.8 kB / 1.313 GB, free: 7.492 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004638/0.3785, allocations: 268.9 kB / 1.314 GB, free: 7.23 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005289/0.3791, allocations: 324.6 kB / 1.314 GB, free: 6.902 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007146/0.3798, allocations: 442.6 kB / 1.314 GB, free: 6.473 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3798, allocations: 0 / 1.314 GB, free: 6.473 MB / 1.014 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00124/0.381, allocations: 0.694 MB / 1.315 GB, free: 5.77 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.3811, allocations: 8.031 kB / 1.315 GB, free: 5.762 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3811, allocations: 0 / 1.315 GB, free: 5.762 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.3811, allocations: 4 kB / 1.315 GB, free: 5.758 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007677/0.3819, allocations: 127.8 kB / 1.315 GB, free: 5.633 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/0.3819, allocations: 4 kB / 1.315 GB, free: 5.629 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.3831, allocations: 87.53 kB / 1.315 GB, free: 5.543 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.636e-05/0.3831, allocations: 19.98 kB / 1.315 GB, free: 5.523 MB / 1.014 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.0001981/0.3833, allocations: 165.7 kB / 1.316 GB, free: 5.352 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.854e-05/0.3834, allocations: 27.75 kB / 1.316 GB, free: 5.324 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.813e-05/0.3834, allocations: 30.19 kB / 1.316 GB, free: 5.293 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.3834, allocations: 4 kB / 1.316 GB, free: 5.289 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3834, allocations: 0 / 1.316 GB, free: 5.289 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3835, allocations: 3.984 kB / 1.316 GB, free: 5.285 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004973/0.384, allocations: 429 kB / 1.316 GB, free: 4.816 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.384, allocations: 0 / 1.316 GB, free: 4.816 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/0.3842, allocations: 55.84 kB / 1.316 GB, free: 4.762 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.3842, allocations: 0 / 1.316 GB, free: 4.762 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.3842, allocations: 4 kB / 1.316 GB, free: 4.758 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3842, allocations: 4 kB / 1.316 GB, free: 4.754 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3842, allocations: 3.984 kB / 1.316 GB, free: 4.75 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007031/0.3849, allocations: 484.8 kB / 1.317 GB, free: 4.262 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.385, allocations: 116.8 kB / 1.317 GB, free: 4.129 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/0.3851, allocations: 12 kB / 1.317 GB, free: 4.117 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005203/0.3856, allocations: 23.91 kB / 1.317 GB, free: 4.094 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.3857, allocations: 15.92 kB / 1.317 GB, free: 4.078 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.3857, allocations: 4 kB / 1.317 GB, free: 4.074 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001823/0.3859, allocations: 190 kB / 1.317 GB, free: 3.887 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3859, allocations: 0 / 1.317 GB, free: 3.887 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005277/0.3864, allocations: 204 kB / 1.317 GB, free: 3.688 MB / 1.014 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.001056/0.3874, allocations: 1.027 MB / 1.318 GB, free: 2.637 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007985/0.3882, allocations: 427 kB / 1.319 GB, free: 2.223 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3882, allocations: 4 kB / 1.319 GB, free: 2.219 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.3885, allocations: 116.4 kB / 1.319 GB, free: 2.105 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/0.3889, allocations: 56.83 kB / 1.319 GB, free: 2.051 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006086/0.395, allocations: 4.331 MB / 1.323 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.3955, allocations: 0.7752 MB / 1.324 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002852/0.3957, allocations: 90.2 kB / 1.324 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.396, allocations: 87.39 kB / 1.324 GB, free: 12.66 MB / 1.029 GB Notification: Performance of SimCode: time 1.703e-06/0.396, allocations: 0 / 1.324 GB, free: 12.66 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03515/0.4311, allocations: 8.929 MB / 1.333 GB, free: 3.898 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.755/9.186, allocations: 11.67 kB / 1.333 GB, free: 3.891 MB / 1.029 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder_fmu --startTime=0 --stopTime=36000 --stepSize=14.4 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.67039003316313]