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.001972/0.001972, 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.00228/0.00228, 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 8.008 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.322/3.322, allocations: 0.49 GB / 0.7951 GB, free: 33.37 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.002034/0.002034, allocations: 70.11 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3507, allocations: 176.1 MB / 1.326 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.003366/0.3541, allocations: 1.941 MB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.3553, allocations: 0.7053 MB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.527e-05/0.3554, allocations: 7.938 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.3557, allocations: 55.69 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002719/0.3559, allocations: 75.5 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.3562, allocations: 71.89 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008581/0.357, allocations: 0.7058 MB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3571, allocations: 25.52 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003864/0.3575, allocations: 243.6 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004706/0.358, allocations: 267.4 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.578e-05/0.3581, allocations: 48 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.3582, allocations: 55.98 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002377/0.3584, allocations: 183.6 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.3587, allocations: 215.3 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005636/0.3592, allocations: 0.4985 MB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3592, allocations: 3.938 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3592, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.3592, allocations: 0 / 1.331 GB, free: 12.84 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.002204/0.3614, allocations: 0.6961 MB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.3615, allocations: 11.97 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.525e-05/0.3616, allocations: 46.73 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002432/0.364, allocations: 236.5 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006063/0.3646, allocations: 254 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.579e-05/0.3647, allocations: 24.17 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.107e-05/0.3648, allocations: 31.95 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003535/0.3651, allocations: 187.4 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3651, allocations: 0 / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.3651, allocations: 8 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3651, allocations: 0 / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002747/0.3654, allocations: 148.6 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004536/0.37, allocations: 1.272 MB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.3714, allocations: 458 kB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.3716, allocations: 108.8 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.3716, allocations: 4 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001092/0.3717, allocations: 30.56 kB / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.884e-06/0.3717, allocations: 0 / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0007316/0.3724, allocations: 356 kB / 1.335 GB, free: 8.855 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.339e-05/0.3725, allocations: 59.41 kB / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/0.3728, allocations: 289.7 kB / 1.335 GB, free: 8.492 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.628e-05/0.3729, allocations: 41.69 kB / 1.335 GB, free: 8.445 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.3731, allocations: 133 kB / 1.335 GB, free: 8.312 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.397e-05/0.3732, allocations: 79.33 kB / 1.335 GB, free: 8.234 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.3733, allocations: 114.2 kB / 1.335 GB, free: 8.117 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3735, allocations: 342.8 kB / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004904/0.374, allocations: 280.8 kB / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005311/0.3745, allocations: 319.9 kB / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007418/0.3753, allocations: 437.7 kB / 1.337 GB, free: 6.746 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3753, allocations: 0 / 1.337 GB, free: 6.746 MB / 1.029 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001348/0.3766, allocations: 0.6963 MB / 1.337 GB, free: 6.047 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3767, allocations: 4 kB / 1.337 GB, free: 6.043 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.3767, allocations: 8.016 kB / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.3767, allocations: 4 kB / 1.337 GB, free: 6.031 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000812/0.3775, allocations: 123.8 kB / 1.337 GB, free: 5.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.3775, allocations: 4 kB / 1.337 GB, free: 5.906 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.3786, allocations: 75.52 kB / 1.337 GB, free: 5.832 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-05/0.3787, allocations: 19.92 kB / 1.337 GB, free: 5.812 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.0001947/0.3789, allocations: 158.3 kB / 1.338 GB, free: 5.648 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.926e-05/0.3789, allocations: 27.8 kB / 1.338 GB, free: 5.621 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.703e-05/0.379, allocations: 30.11 kB / 1.338 GB, free: 5.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.379, allocations: 4 kB / 1.338 GB, free: 5.586 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.379, allocations: 0 / 1.338 GB, free: 5.586 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.379, allocations: 3.938 kB / 1.338 GB, free: 5.582 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005277/0.3796, allocations: 404.1 kB / 1.338 GB, free: 5.145 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3796, allocations: 0 / 1.338 GB, free: 5.145 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003116/0.3799, allocations: 47.84 kB / 1.338 GB, free: 5.098 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3799, allocations: 0 / 1.338 GB, free: 5.098 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.3799, allocations: 11.98 kB / 1.338 GB, free: 5.086 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3799, allocations: 0 / 1.338 GB, free: 5.086 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3799, allocations: 4 kB / 1.338 GB, free: 5.082 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007378/0.3806, allocations: 488.9 kB / 1.339 GB, free: 4.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.829e-05/0.3807, allocations: 31.8 kB / 1.339 GB, free: 4.559 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.3807, allocations: 8 kB / 1.339 GB, free: 4.551 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004975/0.3812, allocations: 19.97 kB / 1.339 GB, free: 4.531 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.3813, allocations: 7.984 kB / 1.339 GB, free: 4.523 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.3813, allocations: 4 kB / 1.339 GB, free: 4.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002217/0.3815, allocations: 201.2 kB / 1.339 GB, free: 4.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3815, allocations: 3.938 kB / 1.339 GB, free: 4.316 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005656/0.3821, allocations: 203.9 kB / 1.339 GB, free: 4.117 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.001052/0.3831, allocations: 1.021 MB / 1.34 GB, free: 3.07 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008748/0.384, allocations: 436.5 kB / 1.34 GB, free: 2.648 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.384, allocations: 0 / 1.34 GB, free: 2.648 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001945/0.3842, allocations: 111.9 kB / 1.341 GB, free: 2.539 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.3847, allocations: 56.77 kB / 1.341 GB, free: 2.484 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006408/0.3911, allocations: 4.335 MB / 1.345 GB, free: 14.06 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005293/0.3916, allocations: 0.7712 MB / 1.346 GB, free: 13.27 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002735/0.3919, allocations: 86.22 kB / 1.346 GB, free: 13.18 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.3921, allocations: 87.39 kB / 1.346 GB, free: 13.1 MB / 1.045 GB Notification: Performance of SimCode: time 1.263e-06/0.3921, allocations: 0 / 1.346 GB, free: 13.1 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04123/0.4334, allocations: 9.171 MB / 1.355 GB, free: 4.109 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.35, allocations: 0.6094 kB / 1.355 GB, free: 4.109 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder_fmu --startTime=0 --stopTime=36000 --stepSize=14.4 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.365315603092313]