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.0008009/0.0008009, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000909/0.000909, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8593/0.8593, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 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 1.695/1.695, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.418e-06/1.075e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.002295/0.002306, allocations: 2.528 MB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001972/0.004278, allocations: 1.733 MB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.0044, allocations: 11.94 kB / 1.004 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 7.552e-05/0.004476, allocations: 51.44 kB / 1.004 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003655/0.004841, allocations: 158.7 kB / 1.004 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005129/0.005354, allocations: 398.8 kB / 1.004 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000446/0.0058, allocations: 0.5137 MB / 1.005 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.005964, allocations: 106.4 kB / 1.005 GB, free: 8.035 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002613/0.006225, allocations: 315.3 kB / 1.005 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.006342, allocations: 127.6 kB / 1.005 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.006371, allocations: 28 kB / 1.005 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004168/0.006788, allocations: 443.3 kB / 1.006 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.774e-05/0.006836, allocations: 71.73 kB / 1.006 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.693e-05/0.006922, allocations: 131.7 kB / 1.006 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004604/0.007383, allocations: 0.5919 MB / 1.007 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.007385, allocations: 0 / 1.007 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.042e-06/0.007386, allocations: 0 / 1.007 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.007391, allocations: 7.938 kB / 1.007 GB, free: 6.34 MB / 0.9636 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.0006347/0.008026, allocations: 0.6409 MB / 1.007 GB, free: 5.668 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.00806, allocations: 8.031 kB / 1.007 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.965e-05/0.008109, allocations: 70.72 kB / 1.007 GB, free: 5.582 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000398/0.008507, allocations: 116.5 kB / 1.007 GB, free: 5.469 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.008792, allocations: 252.6 kB / 1.008 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.008811, allocations: 28.97 kB / 1.008 GB, free: 5.164 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.008842, allocations: 28.38 kB / 1.008 GB, free: 5.137 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004098/0.009252, allocations: 306.5 kB / 1.008 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.00926, allocations: 192 / 1.008 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.009282, allocations: 16.12 kB / 1.008 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.009288, allocations: 12 kB / 1.008 GB, free: 4.805 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004363/0.009725, allocations: 290.4 kB / 1.008 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009477/0.01067, allocations: 0.8 MB / 1.009 GB, free: 3.672 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004753/0.01115, allocations: 273.1 kB / 1.009 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.01133, allocations: 116.9 kB / 1.009 GB, free: 3.281 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.25e-05/0.01141, allocations: 19.92 kB / 1.01 GB, free: 3.262 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.01142, allocations: 38.56 kB / 1.01 GB, free: 3.215 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=25): time 1.343e-06/0.01143, allocations: 4 kB / 1.01 GB, free: 3.211 MB / 0.9636 GB Notification: Performance of matching and sorting (n=25): time 0.0006839/0.01211, allocations: 385.1 kB / 1.01 GB, free: 2.828 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.01214, allocations: 55.41 kB / 1.01 GB, free: 2.762 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.01234, allocations: 333.7 kB / 1.01 GB, free: 2.426 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.01236, allocations: 29.7 kB / 1.01 GB, free: 2.391 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.588e-05/0.01245, allocations: 188.7 kB / 1.011 GB, free: 2.203 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.01249, allocations: 95.59 kB / 1.011 GB, free: 2.109 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.457e-05/0.01256, allocations: 57.95 kB / 1.011 GB, free: 2.043 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.028e-05/0.01265, allocations: 346.8 kB / 1.011 GB, free: 1.695 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.01282, allocations: 108.4 kB / 1.011 GB, free: 1.59 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.013, allocations: 109 kB / 1.011 GB, free: 1.484 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.01335, allocations: 232 kB / 1.011 GB, free: 1.258 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.01336, allocations: 0 / 1.011 GB, free: 1.258 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004685/0.01383, allocations: 333.4 kB / 1.012 GB, free: 0.9258 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.01384, allocations: 4 kB / 1.012 GB, free: 0.9219 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.01384, allocations: 3.984 kB / 1.012 GB, free: 0.918 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.01386, allocations: 7.984 kB / 1.012 GB, free: 0.9102 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.01404, allocations: 79.88 kB / 1.012 GB, free: 0.832 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.01405, allocations: 0 / 1.012 GB, free: 0.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.01417, allocations: 51.64 kB / 1.012 GB, free: 0.7812 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.01419, allocations: 15.94 kB / 1.012 GB, free: 0.7656 MB / 0.9636 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 9.161e-05/0.01428, allocations: 141.8 kB / 1.012 GB, free: 0.6172 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.018e-05/0.01434, allocations: 35.77 kB / 1.012 GB, free: 0.582 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000511/0.01485, allocations: 372.1 kB / 1.012 GB, free: 208 kB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.01485, allocations: 4 kB / 1.012 GB, free: 204 kB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.01486, allocations: 3.984 kB / 1.012 GB, free: 200 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.01486, allocations: 0 / 1.012 GB, free: 200 kB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.01506, allocations: 284.5 kB / 1.013 GB, free: 15.87 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.01506, allocations: 0 / 1.013 GB, free: 15.87 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.0152, allocations: 55.89 kB / 1.013 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.0152, allocations: 8 kB / 1.013 GB, free: 15.81 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.01521, allocations: 3.984 kB / 1.013 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01521, allocations: 0 / 1.013 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.01521, allocations: 7.938 kB / 1.013 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004125/0.01563, allocations: 298.9 kB / 1.013 GB, free: 15.49 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 7.679e-05/0.0157, allocations: 63.64 kB / 1.013 GB, free: 15.43 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.01573, allocations: 8 kB / 1.013 GB, free: 15.42 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.78e-05/0.01583, allocations: 11.98 kB / 1.013 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.01587, allocations: 15.97 kB / 1.013 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.01588, allocations: 8 kB / 1.013 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001496/0.01602, allocations: 255.2 kB / 1.013 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.01602, allocations: 0 / 1.013 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002286/0.01625, allocations: 99.83 kB / 1.013 GB, free: 15.04 MB / 0.9792 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.0007685/0.01702, allocations: 0.8801 MB / 1.014 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004073/0.01743, allocations: 239.6 kB / 1.015 GB, free: 13.9 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01743, allocations: 0 / 1.015 GB, free: 13.9 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.01761, allocations: 107.9 kB / 1.015 GB, free: 13.8 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.01794, allocations: 125.9 kB / 1.015 GB, free: 13.68 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.02073, allocations: 3.039 MB / 1.018 GB, free: 10.56 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.815e-05/0.02082, allocations: 165.2 kB / 1.018 GB, free: 10.38 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001749/0.021, allocations: 79.11 kB / 1.018 GB, free: 10.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.02112, allocations: 112.5 kB / 1.018 GB, free: 10.2 MB / 0.9792 GB Notification: Performance of SimCode: time 4.21e-07/0.02112, allocations: 0 / 1.018 GB, free: 10.2 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.03994, allocations: 10 MB / 1.028 GB, free: 444 kB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.597/6.637, allocations: 0 / 1.028 GB, free: 444 kB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/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: 10.571639318950474]