Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.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.001483/0.001483, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001628/0.001628, allocations: 216.8 kB / 22.24 MB, free: 5.262 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.363/1.363, allocations: 230.6 MB / 256 MB, free: 7.773 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 2.95/2.95, allocations: 0.49 GB / 0.7951 GB, free: 35.49 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.Convection.Examples.Exterior,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Convection_Examples_Exterior",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.001952/0.001952, allocations: 68.03 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2993, allocations: 176.1 MB / 1.326 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.003975/0.3033, allocations: 2.543 MB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00311/0.3064, allocations: 1.729 MB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.3065, allocations: 11.94 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.3066, allocations: 51.44 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004589/0.3071, allocations: 150.8 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008024/0.3079, allocations: 394.4 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006228/0.3085, allocations: 0.4944 MB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.3087, allocations: 113.5 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003208/0.3091, allocations: 247.2 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.3093, allocations: 171.2 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/0.3093, allocations: 28 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000657/0.31, allocations: 463.5 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.049e-05/0.31, allocations: 75.69 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.3102, allocations: 151.3 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006377/0.3108, allocations: 0.5525 MB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3108, allocations: 7.984 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3108, allocations: 4 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.3108, allocations: 0 / 1.333 GB, free: 10.36 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.00101/0.3119, allocations: 0.6486 MB / 1.333 GB, free: 9.676 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3119, allocations: 12.03 kB / 1.333 GB, free: 9.664 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.304e-05/0.312, allocations: 66.72 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008663/0.3128, allocations: 116.5 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.3133, allocations: 265.2 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.3133, allocations: 21.03 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.279e-05/0.3134, allocations: 32.38 kB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006991/0.3141, allocations: 314.1 kB / 1.334 GB, free: 8.828 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3141, allocations: 4 kB / 1.334 GB, free: 8.824 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/0.3141, allocations: 8 kB / 1.334 GB, free: 8.816 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.3141, allocations: 8 kB / 1.334 GB, free: 8.809 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007928/0.3149, allocations: 290.3 kB / 1.335 GB, free: 8.527 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.3165, allocations: 0.7846 MB / 1.335 GB, free: 7.691 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008665/0.3174, allocations: 281.3 kB / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003495/0.3177, allocations: 116.8 kB / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.3179, allocations: 11.98 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.3179, allocations: 46.5 kB / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 1.432e-06/0.3179, allocations: 0 / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.001251/0.3191, allocations: 381.2 kB / 1.336 GB, free: 6.848 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.3192, allocations: 59.34 kB / 1.336 GB, free: 6.777 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.3195, allocations: 333.7 kB / 1.336 GB, free: 6.441 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.3196, allocations: 33.64 kB / 1.336 GB, free: 6.402 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.3197, allocations: 188.7 kB / 1.337 GB, free: 6.215 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.686e-05/0.3198, allocations: 91.61 kB / 1.337 GB, free: 6.125 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.3199, allocations: 57.95 kB / 1.337 GB, free: 6.059 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3201, allocations: 346.9 kB / 1.337 GB, free: 5.711 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003337/0.3204, allocations: 108.4 kB / 1.337 GB, free: 5.605 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/0.3207, allocations: 101 kB / 1.337 GB, free: 5.508 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000686/0.3214, allocations: 242.8 kB / 1.338 GB, free: 5.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3214, allocations: 0 / 1.338 GB, free: 5.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008748/0.3223, allocations: 333.4 kB / 1.338 GB, free: 4.938 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3223, allocations: 8 kB / 1.338 GB, free: 4.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3223, allocations: 0 / 1.338 GB, free: 4.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.3223, allocations: 0 / 1.338 GB, free: 4.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004117/0.3227, allocations: 79.88 kB / 1.338 GB, free: 4.852 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.3228, allocations: 7.938 kB / 1.338 GB, free: 4.844 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.323, allocations: 43.7 kB / 1.338 GB, free: 4.801 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.3231, allocations: 11.98 kB / 1.338 GB, free: 4.789 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 (33): * Single equations (assignments): 33 * 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.0001545/0.3232, allocations: 142.3 kB / 1.338 GB, free: 4.641 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.3233, allocations: 43.77 kB / 1.338 GB, free: 4.598 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009993/0.3243, allocations: 365 kB / 1.339 GB, free: 4.223 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3243, allocations: 4 kB / 1.339 GB, free: 4.219 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3244, allocations: 0 / 1.339 GB, free: 4.219 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3244, allocations: 3.938 kB / 1.339 GB, free: 4.215 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003367/0.3247, allocations: 288.4 kB / 1.339 GB, free: 3.891 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3247, allocations: 0 / 1.339 GB, free: 3.891 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000336/0.325, allocations: 63.94 kB / 1.339 GB, free: 3.828 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.325, allocations: 0 / 1.339 GB, free: 3.828 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.3251, allocations: 4 kB / 1.339 GB, free: 3.824 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3251, allocations: 0 / 1.339 GB, free: 3.824 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.3251, allocations: 3.984 kB / 1.339 GB, free: 3.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00079/0.3259, allocations: 301.9 kB / 1.339 GB, free: 3.508 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.326, allocations: 55.7 kB / 1.339 GB, free: 3.453 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.379e-05/0.326, allocations: 11.95 kB / 1.339 GB, free: 3.441 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.3263, allocations: 11.98 kB / 1.339 GB, free: 3.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.3263, allocations: 23.95 kB / 1.339 GB, free: 3.406 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.3264, allocations: 15.92 kB / 1.339 GB, free: 3.391 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002494/0.3266, allocations: 247.2 kB / 1.34 GB, free: 3.152 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3266, allocations: 0 / 1.34 GB, free: 3.152 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003861/0.327, allocations: 107.8 kB / 1.34 GB, free: 3.047 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (21): * Single equations (assignments): 21 * 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.001277/0.3283, allocations: 0.8678 MB / 1.341 GB, free: 2.152 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007799/0.329, allocations: 239.9 kB / 1.341 GB, free: 1.918 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3291, allocations: 0 / 1.341 GB, free: 1.918 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003554/0.3294, allocations: 113.2 kB / 1.341 GB, free: 1.809 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006083/0.33, allocations: 117.4 kB / 1.341 GB, free: 1.699 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005199/0.3352, allocations: 3.024 MB / 1.344 GB, free: 14.59 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.3354, allocations: 173.1 kB / 1.344 GB, free: 14.4 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003011/0.3357, allocations: 79.11 kB / 1.344 GB, free: 14.33 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.3359, allocations: 107.4 kB / 1.344 GB, free: 14.22 MB / 1.045 GB Notification: Performance of SimCode: time 1.222e-06/0.3359, allocations: 0 / 1.344 GB, free: 14.22 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0376/0.3735, allocations: 10 MB / 1.354 GB, free: 4.457 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.98, allocations: 3.719 kB / 1.354 GB, free: 4.457 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Convection_Examples_Exterior_fmu --startTime=0 --stopTime=3600 --stepSize=0.719712 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Convection_Examples_Exterior.fmu > Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Convection_Examples_Exterior.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.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: 17.14908358702087]