Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007796/0.0007796, 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.0007848/0.0007848, 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.8791/0.8791, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.659/1.659, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.9504 GB, free: 3.555 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.213e-05, allocations: 9.031 kB / 0.9505 GB, free: 3.547 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.002555/0.002577, allocations: 2.534 MB / 0.9529 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00285/0.005428, allocations: 1.74 MB / 0.9546 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001997/0.005627, allocations: 4 kB / 0.9546 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 8.592e-05/0.005713, allocations: 47.45 kB / 0.9547 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0004306/0.006144, allocations: 165.9 kB / 0.9548 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006752/0.006819, allocations: 402.7 kB / 0.9552 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0005053/0.007324, allocations: 0.5098 MB / 0.9557 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.007514, allocations: 105.7 kB / 0.9558 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002981/0.007812, allocations: 323.2 kB / 0.9561 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.007936, allocations: 123.7 kB / 0.9562 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.007966, allocations: 31.94 kB / 0.9563 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004701/0.008436, allocations: 439.4 kB / 0.9567 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.13e-05/0.008488, allocations: 75.73 kB / 0.9568 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.008594, allocations: 127.7 kB / 0.9569 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005351/0.009129, allocations: 0.5957 MB / 0.9575 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.009131, allocations: 0 / 0.9575 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.543e-06/0.009133, allocations: 0 / 0.9575 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.00914, allocations: 0 / 0.9575 GB, free: 12.32 MB / 0.9167 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.0007253/0.009865, allocations: 0.6464 MB / 0.9581 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.009904, allocations: 8.031 kB / 0.9581 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.084e-05/0.009955, allocations: 66.73 kB / 0.9582 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004207/0.01038, allocations: 120.5 kB / 0.9583 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.01068, allocations: 248.5 kB / 0.9585 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.0107, allocations: 32.97 kB / 0.9586 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.01073, allocations: 28.38 kB / 0.9586 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.01119, allocations: 314.5 kB / 0.9589 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.0112, allocations: 192 / 0.9589 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.01123, allocations: 16.12 kB / 0.9589 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.01124, allocations: 8 kB / 0.9589 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004422/0.01168, allocations: 286.4 kB / 0.9592 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.01274, allocations: 0.7923 MB / 0.96 GB, free: 9.66 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005384/0.01327, allocations: 274.5 kB / 0.9602 GB, free: 9.383 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.01347, allocations: 120.8 kB / 0.9603 GB, free: 9.262 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.983e-05/0.01355, allocations: 15.92 kB / 0.9603 GB, free: 9.246 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.01357, allocations: 34.56 kB / 0.9604 GB, free: 9.203 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=25): time 1.613e-06/0.01357, allocations: 0 / 0.9604 GB, free: 9.203 MB / 0.9167 GB Notification: Performance of matching and sorting (n=25): time 0.0007197/0.01429, allocations: 390.8 kB / 0.9608 GB, free: 8.816 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.01433, allocations: 59.41 kB / 0.9608 GB, free: 8.746 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.01456, allocations: 333.7 kB / 0.9611 GB, free: 8.41 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.01459, allocations: 33.7 kB / 0.9612 GB, free: 8.371 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.01469, allocations: 180.8 kB / 0.9613 GB, free: 8.191 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.826e-05/0.01474, allocations: 91.59 kB / 0.9614 GB, free: 8.102 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.481e-05/0.01481, allocations: 65.91 kB / 0.9615 GB, free: 8.027 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.01492, allocations: 346.8 kB / 0.9618 GB, free: 7.68 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.01511, allocations: 104.5 kB / 0.9619 GB, free: 7.578 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.0153, allocations: 113 kB / 0.962 GB, free: 7.469 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.01568, allocations: 227.5 kB / 0.9622 GB, free: 7.246 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.01568, allocations: 0 / 0.9622 GB, free: 7.246 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005058/0.01619, allocations: 341.3 kB / 0.9626 GB, free: 6.906 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.0162, allocations: 4 kB / 0.9626 GB, free: 6.902 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.01621, allocations: 0 / 0.9626 GB, free: 6.902 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.01622, allocations: 7.984 kB / 0.9626 GB, free: 6.895 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.01642, allocations: 75.86 kB / 0.9626 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.01642, allocations: 4 kB / 0.9627 GB, free: 6.816 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.01654, allocations: 39.77 kB / 0.9627 GB, free: 6.777 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.01656, allocations: 15.92 kB / 0.9627 GB, free: 6.762 MB / 0.9167 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.000102/0.01667, allocations: 149.8 kB / 0.9628 GB, free: 6.605 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.107e-05/0.01673, allocations: 35.77 kB / 0.9629 GB, free: 6.57 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005409/0.01727, allocations: 374 kB / 0.9632 GB, free: 6.184 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.01727, allocations: 3.938 kB / 0.9632 GB, free: 6.18 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01727, allocations: 0 / 0.9632 GB, free: 6.18 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.01728, allocations: 7.984 kB / 0.9632 GB, free: 6.172 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.01748, allocations: 284.4 kB / 0.9635 GB, free: 5.852 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.01748, allocations: 0 / 0.9635 GB, free: 5.852 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.01761, allocations: 59.89 kB / 0.9636 GB, free: 5.793 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.01762, allocations: 0 / 0.9636 GB, free: 5.793 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.01763, allocations: 15.92 kB / 0.9636 GB, free: 5.777 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01763, allocations: 0 / 0.9636 GB, free: 5.777 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01763, allocations: 0 / 0.9636 GB, free: 5.777 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004114/0.01805, allocations: 299.4 kB / 0.9639 GB, free: 5.469 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.289e-05/0.01812, allocations: 55.72 kB / 0.9639 GB, free: 5.414 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.01815, allocations: 11.92 kB / 0.9639 GB, free: 5.402 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.909e-05/0.01825, allocations: 19.98 kB / 0.964 GB, free: 5.383 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.01828, allocations: 15.97 kB / 0.964 GB, free: 5.367 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.01829, allocations: 4 kB / 0.964 GB, free: 5.363 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001527/0.01845, allocations: 247.2 kB / 0.9642 GB, free: 5.129 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01845, allocations: 0 / 0.9642 GB, free: 5.129 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002258/0.01867, allocations: 107.8 kB / 0.9643 GB, free: 5.023 MB / 0.9167 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.0006826/0.01935, allocations: 0.8774 MB / 0.9652 GB, free: 4.117 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000421/0.01978, allocations: 235.7 kB / 0.9654 GB, free: 3.887 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01978, allocations: 3.938 kB / 0.9654 GB, free: 3.883 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.01995, allocations: 109.7 kB / 0.9655 GB, free: 3.777 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.02029, allocations: 118.2 kB / 0.9656 GB, free: 3.668 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002988/0.02328, allocations: 3.028 MB / 0.9686 GB, free: 0.5586 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.02339, allocations: 173.1 kB / 0.9687 GB, free: 376 kB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001836/0.02357, allocations: 87.05 kB / 0.9688 GB, free: 292 kB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.0237, allocations: 108.5 kB / 0.9689 GB, free: 184 kB / 0.9167 GB Notification: Performance of SimCode: time 6.51e-07/0.0237, allocations: 0 / 0.9689 GB, free: 184 kB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.0463, allocations: 9.998 MB / 0.9787 GB, free: 6.434 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.155/7.202, allocations: 10.56 kB / 0.9787 GB, free: 6.426 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Convection_Examples_Exterior_fmu --startTime=0 --stopTime=3600 --stepSize=0.719712 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Convection_Examples_Exterior.fmu > Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Convection_Examples_Exterior.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.298844369128346]