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.002135/0.002135, allocations: 103 kB / 16.45 MB, free: 6.5 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.002242/0.002242, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.44/1.44, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.053/3.053, allocations: 0.49 GB / 0.7916 GB, free: 33.45 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.002002/0.002002, allocations: 75.58 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3041, allocations: 176.1 MB / 1.321 GB, free: 3.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.004014/0.3081, allocations: 2.73 MB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002993/0.3111, allocations: 1.866 MB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.3112, allocations: 8 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.3113, allocations: 47.39 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004656/0.3118, allocations: 162.8 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007797/0.3126, allocations: 383 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006557/0.3132, allocations: 0.5023 MB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/0.3135, allocations: 109.1 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000248/0.3137, allocations: 199.2 kB / 1.327 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.3139, allocations: 183.2 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.745e-05/0.314, allocations: 28 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000694/0.3147, allocations: 471.4 kB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.578e-05/0.3148, allocations: 79.73 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.3149, allocations: 191 kB / 1.328 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006994/0.3156, allocations: 0.5603 MB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3156, allocations: 0 / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3156, allocations: 0 / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.3156, allocations: 0 / 1.328 GB, free: 11.86 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.001114/0.3167, allocations: 0.7317 MB / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.3168, allocations: 8.031 kB / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.665e-05/0.3169, allocations: 74.66 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.3179, allocations: 128.5 kB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004467/0.3184, allocations: 315.6 kB / 1.329 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.3184, allocations: 21.03 kB / 1.329 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/0.3185, allocations: 32.38 kB / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007511/0.3192, allocations: 318.1 kB / 1.33 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3192, allocations: 0 / 1.33 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.3193, allocations: 12 kB / 1.33 GB, free: 10.13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.3193, allocations: 8 kB / 1.33 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008855/0.3202, allocations: 290.4 kB / 1.33 GB, free: 9.836 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.3218, allocations: 0.8932 MB / 1.331 GB, free: 8.891 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009512/0.3228, allocations: 289.2 kB / 1.331 GB, free: 8.602 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004029/0.3232, allocations: 126.5 kB / 1.331 GB, free: 8.477 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001456/0.3233, allocations: 89.47 kB / 1.331 GB, free: 8.371 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.3233, allocations: 34.56 kB / 1.331 GB, free: 8.328 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 1.473e-06/0.3233, allocations: 0 / 1.331 GB, free: 8.328 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.001353/0.3247, allocations: 391.1 kB / 1.332 GB, free: 7.941 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.3247, allocations: 59.34 kB / 1.332 GB, free: 7.871 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003764/0.3251, allocations: 337.7 kB / 1.332 GB, free: 7.535 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.487e-05/0.3251, allocations: 33.7 kB / 1.332 GB, free: 7.496 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.3253, allocations: 188.7 kB / 1.332 GB, free: 7.305 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.557e-05/0.3254, allocations: 83.23 kB / 1.332 GB, free: 7.223 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.3255, allocations: 61.95 kB / 1.332 GB, free: 7.152 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3256, allocations: 346.9 kB / 1.333 GB, free: 6.805 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003739/0.326, allocations: 104.4 kB / 1.333 GB, free: 6.703 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/0.3264, allocations: 117 kB / 1.333 GB, free: 6.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007763/0.3272, allocations: 234.9 kB / 1.333 GB, free: 6.359 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3272, allocations: 0 / 1.333 GB, free: 6.359 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009886/0.3282, allocations: 345.4 kB / 1.334 GB, free: 6.016 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3282, allocations: 4 kB / 1.334 GB, free: 6.012 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3282, allocations: 0 / 1.334 GB, free: 6.012 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3282, allocations: 0 / 1.334 GB, free: 6.012 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/0.3286, allocations: 79.86 kB / 1.334 GB, free: 5.934 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.3286, allocations: 3.938 kB / 1.334 GB, free: 5.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.3289, allocations: 47.72 kB / 1.334 GB, free: 5.883 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.3289, allocations: 11.98 kB / 1.334 GB, free: 5.871 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.0001566/0.3291, allocations: 141.8 kB / 1.334 GB, free: 5.723 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.3292, allocations: 35.77 kB / 1.334 GB, free: 5.688 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.3303, allocations: 374.1 kB / 1.334 GB, free: 5.305 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3303, allocations: 4 kB / 1.334 GB, free: 5.301 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3303, allocations: 0 / 1.334 GB, free: 5.301 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.3303, allocations: 3.938 kB / 1.334 GB, free: 5.297 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004039/0.3307, allocations: 361.3 kB / 1.335 GB, free: 4.895 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3307, allocations: 0 / 1.335 GB, free: 4.895 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003302/0.331, allocations: 51.89 kB / 1.335 GB, free: 4.844 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.331, allocations: 0 / 1.335 GB, free: 4.844 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.331, allocations: 11.98 kB / 1.335 GB, free: 4.832 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.331, allocations: 0 / 1.335 GB, free: 4.832 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.331, allocations: 4 kB / 1.335 GB, free: 4.828 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008575/0.3319, allocations: 296.6 kB / 1.335 GB, free: 4.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.3321, allocations: 136.8 kB / 1.335 GB, free: 4.367 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.784e-05/0.3321, allocations: 4 kB / 1.335 GB, free: 4.363 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.3324, allocations: 15.98 kB / 1.335 GB, free: 4.348 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.3324, allocations: 15.92 kB / 1.335 GB, free: 4.332 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.3324, allocations: 19.92 kB / 1.335 GB, free: 4.312 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002729/0.3327, allocations: 251.2 kB / 1.335 GB, free: 4.066 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3327, allocations: 0 / 1.335 GB, free: 4.066 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003866/0.3331, allocations: 111.8 kB / 1.335 GB, free: 3.957 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.001459/0.3346, allocations: 0.8764 MB / 1.336 GB, free: 3.055 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000892/0.3354, allocations: 231.7 kB / 1.336 GB, free: 2.828 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3354, allocations: 4 kB / 1.337 GB, free: 2.824 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003684/0.3358, allocations: 103.9 kB / 1.337 GB, free: 2.723 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006538/0.3365, allocations: 119.4 kB / 1.337 GB, free: 2.613 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005065/0.3415, allocations: 3.048 MB / 1.34 GB, free: 15.49 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.3419, allocations: 0.7795 MB / 1.34 GB, free: 14.68 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002575/0.3422, allocations: 70.81 kB / 1.341 GB, free: 14.61 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.3424, allocations: 107.4 kB / 1.341 GB, free: 14.51 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/0.3424, allocations: 0 / 1.341 GB, free: 14.51 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03405/0.3764, allocations: 8.789 MB / 1.349 GB, free: 5.859 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.195/8.571, allocations: 8.062 kB / 1.349 GB, free: 5.852 MB / 1.045 GB " [Timeout remaining time 291] (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: 14.962813272839412]