Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001217/0.001217, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001354/0.001354, allocations: 216.4 kB / 22.25 MB, free: 4.852 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.335/1.335, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.934/2.934, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_latest_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.001948/0.001948, allocations: 68.22 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3044, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.003929/0.3084, allocations: 2.545 MB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002868/0.3112, allocations: 1.725 MB / 1.368 GB, free: 9.805 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.3114, allocations: 11.94 kB / 1.368 GB, free: 9.793 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.3115, allocations: 47.45 kB / 1.368 GB, free: 9.746 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000498/0.312, allocations: 156.3 kB / 1.368 GB, free: 9.594 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008395/0.3128, allocations: 398.8 kB / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006381/0.3134, allocations: 0.4983 MB / 1.369 GB, free: 8.703 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.3137, allocations: 101.6 kB / 1.369 GB, free: 8.598 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003117/0.314, allocations: 243.2 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.3142, allocations: 155.2 kB / 1.369 GB, free: 8.207 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.417e-05/0.3142, allocations: 31.94 kB / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006273/0.3148, allocations: 443.4 kB / 1.37 GB, free: 7.742 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.504e-05/0.3149, allocations: 67.77 kB / 1.37 GB, free: 7.676 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.3151, allocations: 155.2 kB / 1.37 GB, free: 7.523 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006211/0.3157, allocations: 0.5525 MB / 1.37 GB, free: 6.969 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3157, allocations: 0 / 1.37 GB, free: 6.969 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3157, allocations: 4 kB / 1.37 GB, free: 6.965 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.3157, allocations: 0 / 1.37 GB, free: 6.965 MB / 1.061 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.0009782/0.3167, allocations: 0.6486 MB / 1.371 GB, free: 6.285 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.3167, allocations: 12.03 kB / 1.371 GB, free: 6.273 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.005e-05/0.3168, allocations: 66.72 kB / 1.371 GB, free: 6.199 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007802/0.3176, allocations: 116.6 kB / 1.371 GB, free: 6.086 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004/0.318, allocations: 257.2 kB / 1.371 GB, free: 5.812 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.318, allocations: 21.03 kB / 1.371 GB, free: 5.789 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.333e-05/0.318, allocations: 32.38 kB / 1.371 GB, free: 5.758 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006817/0.3187, allocations: 318 kB / 1.372 GB, free: 5.445 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3187, allocations: 4 kB / 1.372 GB, free: 5.441 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/0.3188, allocations: 12 kB / 1.372 GB, free: 5.43 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.3188, allocations: 4 kB / 1.372 GB, free: 5.426 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007922/0.3196, allocations: 290.4 kB / 1.372 GB, free: 5.141 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.3211, allocations: 0.7845 MB / 1.373 GB, free: 4.305 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008753/0.3219, allocations: 282.4 kB / 1.373 GB, free: 4.02 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.3223, allocations: 120.8 kB / 1.373 GB, free: 3.898 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.3224, allocations: 7.984 kB / 1.373 GB, free: 3.891 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.3224, allocations: 38.56 kB / 1.373 GB, free: 3.844 MB / 1.061 GB Notification: Performance of pre-optimization done (n=25): time 1.333e-06/0.3224, allocations: 0 / 1.373 GB, free: 3.844 MB / 1.061 GB Notification: Performance of matching and sorting (n=25): time 0.001225/0.3237, allocations: 387.3 kB / 1.374 GB, free: 3.461 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.3237, allocations: 63.34 kB / 1.374 GB, free: 3.387 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.324, allocations: 333.7 kB / 1.374 GB, free: 3.055 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.3241, allocations: 29.7 kB / 1.374 GB, free: 3.02 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.3242, allocations: 196.8 kB / 1.374 GB, free: 2.824 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.122e-05/0.3243, allocations: 87.17 kB / 1.374 GB, free: 2.738 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.3244, allocations: 61.95 kB / 1.374 GB, free: 2.668 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002069/0.3246, allocations: 346.8 kB / 1.375 GB, free: 2.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/0.3249, allocations: 104.4 kB / 1.375 GB, free: 2.219 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.3253, allocations: 113 kB / 1.375 GB, free: 2.109 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007043/0.326, allocations: 230.4 kB / 1.375 GB, free: 1.883 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.326, allocations: 0 / 1.375 GB, free: 1.883 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009027/0.3269, allocations: 341.9 kB / 1.375 GB, free: 1.543 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.3269, allocations: 4 kB / 1.375 GB, free: 1.539 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3269, allocations: 0 / 1.375 GB, free: 1.539 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3269, allocations: 0 / 1.375 GB, free: 1.539 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/0.3273, allocations: 83.86 kB / 1.375 GB, free: 1.457 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.3274, allocations: 7.938 kB / 1.375 GB, free: 1.449 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/0.3276, allocations: 39.72 kB / 1.376 GB, free: 1.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.3277, allocations: 11.98 kB / 1.376 GB, free: 1.398 MB / 1.061 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.0001598/0.3278, allocations: 137.8 kB / 1.376 GB, free: 1.254 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.3279, allocations: 39.81 kB / 1.376 GB, free: 1.215 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009845/0.3289, allocations: 372 kB / 1.376 GB, free: 0.832 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3289, allocations: 0 / 1.376 GB, free: 0.832 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3289, allocations: 0 / 1.376 GB, free: 0.832 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.3289, allocations: 7.922 kB / 1.376 GB, free: 0.8242 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003652/0.3293, allocations: 288.9 kB / 1.376 GB, free: 0.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3293, allocations: 0 / 1.376 GB, free: 0.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/0.3296, allocations: 63.88 kB / 1.376 GB, free: 448 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3296, allocations: 0 / 1.376 GB, free: 448 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.3296, allocations: 11.98 kB / 1.376 GB, free: 436 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3296, allocations: 0 / 1.376 GB, free: 436 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3296, allocations: 0 / 1.376 GB, free: 436 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007891/0.3304, allocations: 302.1 kB / 1.377 GB, free: 116 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.3306, allocations: 59.66 kB / 1.377 GB, free: 56 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.77e-05/0.3306, allocations: 4 kB / 1.377 GB, free: 52 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.3308, allocations: 19.97 kB / 1.377 GB, free: 32 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.3309, allocations: 15.98 kB / 1.377 GB, free: 16 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.3309, allocations: 11.92 kB / 1.377 GB, free: 4 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002684/0.3312, allocations: 247.2 kB / 1.377 GB, free: 15.76 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3312, allocations: 3.938 kB / 1.377 GB, free: 15.75 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003564/0.3315, allocations: 111.8 kB / 1.377 GB, free: 15.64 MB / 1.076 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.001226/0.3328, allocations: 0.871 MB / 1.378 GB, free: 14.75 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007503/0.3335, allocations: 238.1 kB / 1.378 GB, free: 14.52 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3335, allocations: 0 / 1.378 GB, free: 14.52 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.3339, allocations: 107.9 kB / 1.378 GB, free: 14.41 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005346/0.3344, allocations: 125 kB / 1.378 GB, free: 14.3 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004688/0.3391, allocations: 3.03 MB / 1.381 GB, free: 11.19 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.3392, allocations: 169.2 kB / 1.382 GB, free: 11 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002662/0.3395, allocations: 79.11 kB / 1.382 GB, free: 10.93 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.3397, allocations: 103.4 kB / 1.382 GB, free: 10.83 MB / 1.076 GB Notification: Performance of SimCode: time 6.21e-07/0.3397, allocations: 0 / 1.382 GB, free: 10.83 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03597/0.3756, allocations: 9.903 MB / 1.391 GB, free: 1.156 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.7, allocations: 8.062 kB / 1.391 GB, free: 1.148 MB / 1.076 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Exterior_fmu --startTime=0 --stopTime=3600 --stepSize=0.719712 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Exterior.fmu > Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Convection_Examples_Exterior.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.809569533914328]