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.001274/0.001274, allocations: 103 kB / 16.45 MB, free: 6.449 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.001419/0.001419, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.425/1.425, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.112/3.112, allocations: 0.49 GB / 0.7916 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 177] 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.002027/0.002027, allocations: 68.95 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3296, allocations: 176.1 MB / 1.321 GB, free: 3.293 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.003541/0.3331, allocations: 1.941 MB / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.3345, allocations: 0.6897 MB / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.3346, allocations: 7.938 kB / 1.323 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000286/0.3349, allocations: 59.67 kB / 1.323 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.3352, allocations: 75.5 kB / 1.323 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.3355, allocations: 67.91 kB / 1.324 GB, free: 448 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007721/0.3362, allocations: 0.6941 MB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.3363, allocations: 25.39 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004431/0.3368, allocations: 235.6 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004842/0.3373, allocations: 279.3 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.3374, allocations: 44 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.3375, allocations: 56 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002259/0.3377, allocations: 179.6 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002853/0.338, allocations: 215.2 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005896/0.3386, allocations: 0.4985 MB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.3386, allocations: 7.984 kB / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3386, allocations: 0 / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.43e-05/0.3386, allocations: 0 / 1.326 GB, free: 14.22 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.002155/0.3408, allocations: 0.7713 MB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.3408, allocations: 15.98 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.595e-05/0.3409, allocations: 46.73 kB / 1.327 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002296/0.3432, allocations: 236.5 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005219/0.3437, allocations: 312.3 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.3437, allocations: 24.17 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.507e-05/0.3438, allocations: 35.95 kB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.3442, allocations: 180.1 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3442, allocations: 3.938 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.3442, allocations: 4 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.3442, allocations: 4 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002695/0.3445, allocations: 144.6 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004304/0.3488, allocations: 1.304 MB / 1.329 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.3502, allocations: 454.2 kB / 1.329 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.3504, allocations: 112.8 kB / 1.329 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.3504, allocations: 0 / 1.329 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.3504, allocations: 38.56 kB / 1.329 GB, free: 10.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/0.3504, allocations: 0 / 1.329 GB, free: 10.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0007554/0.3512, allocations: 354.9 kB / 1.33 GB, free: 10.03 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.3512, allocations: 55.41 kB / 1.33 GB, free: 9.961 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.3515, allocations: 298.5 kB / 1.33 GB, free: 9.656 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.75e-05/0.3516, allocations: 33.7 kB / 1.33 GB, free: 9.617 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.3517, allocations: 137 kB / 1.33 GB, free: 9.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.3518, allocations: 75.34 kB / 1.33 GB, free: 9.406 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/0.352, allocations: 122.2 kB / 1.33 GB, free: 9.281 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3522, allocations: 338.8 kB / 1.331 GB, free: 8.941 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004731/0.3526, allocations: 269 kB / 1.331 GB, free: 8.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005188/0.3532, allocations: 320.6 kB / 1.331 GB, free: 8.359 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007263/0.3539, allocations: 438.7 kB / 1.332 GB, free: 7.926 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3539, allocations: 0 / 1.332 GB, free: 7.926 MB / 1.029 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001322/0.3552, allocations: 0.6977 MB / 1.332 GB, free: 7.223 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3552, allocations: 8 kB / 1.332 GB, free: 7.215 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3552, allocations: 0 / 1.332 GB, free: 7.215 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3553, allocations: 4.031 kB / 1.332 GB, free: 7.211 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007597/0.356, allocations: 127.8 kB / 1.332 GB, free: 7.086 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.356, allocations: 4 kB / 1.332 GB, free: 7.082 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.3572, allocations: 71.52 kB / 1.332 GB, free: 7.012 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.339e-05/0.3572, allocations: 23.98 kB / 1.333 GB, free: 6.988 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.0001877/0.3574, allocations: 161.7 kB / 1.333 GB, free: 6.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.599e-05/0.3575, allocations: 23.8 kB / 1.333 GB, free: 6.797 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.181e-05/0.3576, allocations: 34.17 kB / 1.333 GB, free: 6.762 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3576, allocations: 8 kB / 1.333 GB, free: 6.754 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3576, allocations: 0 / 1.333 GB, free: 6.754 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3576, allocations: 0 / 1.333 GB, free: 6.754 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005053/0.3581, allocations: 429 kB / 1.333 GB, free: 6.285 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3581, allocations: 0 / 1.333 GB, free: 6.285 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.3584, allocations: 51.84 kB / 1.333 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3584, allocations: 0 / 1.333 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.3584, allocations: 4 kB / 1.333 GB, free: 6.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3584, allocations: 0 / 1.333 GB, free: 6.23 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3584, allocations: 3.938 kB / 1.333 GB, free: 6.227 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007122/0.3591, allocations: 492.8 kB / 1.334 GB, free: 5.73 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.3592, allocations: 112.9 kB / 1.334 GB, free: 5.602 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.3592, allocations: 7.984 kB / 1.334 GB, free: 5.594 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000491/0.3597, allocations: 11.98 kB / 1.334 GB, free: 5.582 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.3598, allocations: 11.98 kB / 1.334 GB, free: 5.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.3598, allocations: 4 kB / 1.334 GB, free: 5.566 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001896/0.36, allocations: 193.9 kB / 1.334 GB, free: 5.375 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.36, allocations: 4 kB / 1.334 GB, free: 5.371 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000589/0.3606, allocations: 207.9 kB / 1.334 GB, free: 5.168 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.001035/0.3616, allocations: 1.019 MB / 1.335 GB, free: 4.125 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000873/0.3625, allocations: 434.9 kB / 1.336 GB, free: 3.703 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3625, allocations: 3.938 kB / 1.336 GB, free: 3.699 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002241/0.3627, allocations: 115.9 kB / 1.336 GB, free: 3.586 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005121/0.3632, allocations: 62.89 kB / 1.336 GB, free: 3.527 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006024/0.3692, allocations: 4.326 MB / 1.34 GB, free: 15.12 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.3697, allocations: 0.779 MB / 1.341 GB, free: 14.31 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002603/0.3699, allocations: 86.2 kB / 1.341 GB, free: 14.23 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.3701, allocations: 91.39 kB / 1.341 GB, free: 14.14 MB / 1.045 GB Notification: Performance of SimCode: time 9.01e-07/0.3701, allocations: 0 / 1.341 GB, free: 14.14 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03667/0.4068, allocations: 8.934 MB / 1.35 GB, free: 5.363 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.165/8.572, allocations: 8.047 kB / 1.35 GB, free: 5.355 MB / 1.045 GB " [Timeout remaining time 291] (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: 15.000035455916077]