Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.915/2.915, allocations: 497.2 MB / 0.7812 GB, free: 11.93 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Interior,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Interior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Interior,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Interior",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 67.88 kB / 1.134 GB, free: 13.17 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9454/0.9475, allocations: 173.9 MB / 1.304 GB, free: 31.99 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Interior): time 0.002962/0.9505, allocations: 2.434 MB / 1.306 GB, free: 30.28 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.9519, allocations: 0.9404 MB / 1.307 GB, free: 29.63 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.952, allocations: 6.844 kB / 1.307 GB, free: 29.62 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.509e-05/0.9521, allocations: 43.19 kB / 1.307 GB, free: 29.6 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000458/0.9526, allocations: 128.6 kB / 1.307 GB, free: 29.51 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.953, allocations: 177.3 kB / 1.308 GB, free: 29.42 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003907/0.9533, allocations: 348.4 kB / 1.308 GB, free: 29.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.9535, allocations: 87.19 kB / 1.308 GB, free: 29.2 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.9537, allocations: 129.6 kB / 1.308 GB, free: 29.14 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.9539, allocations: 139.9 kB / 1.308 GB, free: 29.07 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.9539, allocations: 20.22 kB / 1.308 GB, free: 29.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.9541, allocations: 53.41 kB / 1.308 GB, free: 29.06 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.725e-05/0.9541, allocations: 49.38 kB / 1.308 GB, free: 29.03 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.9542, allocations: 135.8 kB / 1.308 GB, free: 28.95 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003424/0.9545, allocations: 307.9 kB / 1.309 GB, free: 28.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.9545, allocations: 0 / 1.309 GB, free: 28.82 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.943e-06/0.9546, allocations: 0 / 1.309 GB, free: 28.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.9546, allocations: 3.938 kB / 1.309 GB, free: 28.81 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000771/0.9553, allocations: 0.5685 MB / 1.309 GB, free: 28.32 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.9554, allocations: 11.22 kB / 1.309 GB, free: 28.32 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.678e-05/0.9554, allocations: 51.72 kB / 1.309 GB, free: 28.27 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.091e-05/0.9555, allocations: 41.83 kB / 1.309 GB, free: 28.25 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.9559, allocations: 263.6 kB / 1.31 GB, free: 28 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.9559, allocations: 17.06 kB / 1.31 GB, free: 27.99 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.9559, allocations: 22.44 kB / 1.31 GB, free: 27.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.9562, allocations: 179.5 kB / 1.31 GB, free: 27.89 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.9562, allocations: 2.969 kB / 1.31 GB, free: 27.89 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.9563, allocations: 8 kB / 1.31 GB, free: 27.89 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.9563, allocations: 5.5 kB / 1.31 GB, free: 27.89 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003001/0.9566, allocations: 130.8 kB / 1.31 GB, free: 27.85 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007891/0.9574, allocations: 0.8089 MB / 1.311 GB, free: 27.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.9577, allocations: 118.8 kB / 1.311 GB, free: 27.12 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.9578, allocations: 52.67 kB / 1.311 GB, free: 27.11 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.578e-05/0.9578, allocations: 2.562 kB / 1.311 GB, free: 27.11 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.9578, allocations: 42.5 kB / 1.311 GB, free: 27.05 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.9578, allocations: 0 / 1.311 GB, free: 27.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0004646/0.9583, allocations: 185.2 kB / 1.311 GB, free: 26.98 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.9583, allocations: 51.41 kB / 1.311 GB, free: 26.91 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.9585, allocations: 239.7 kB / 1.311 GB, free: 26.77 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.9585, allocations: 29.64 kB / 1.312 GB, free: 26.73 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.036e-05/0.9586, allocations: 157.7 kB / 1.312 GB, free: 26.59 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.9587, allocations: 49.2 kB / 1.312 GB, free: 26.55 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.9587, allocations: 25.84 kB / 1.312 GB, free: 26.54 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.717e-05/0.9588, allocations: 336.5 kB / 1.312 GB, free: 26.21 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.9589, allocations: 40.59 kB / 1.312 GB, free: 26.19 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.955e-05/0.959, allocations: 43.3 kB / 1.312 GB, free: 26.18 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.9592, allocations: 90.47 kB / 1.312 GB, free: 26.14 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.9592, allocations: 0 / 1.312 GB, free: 26.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003149/0.9595, allocations: 145.7 kB / 1.312 GB, free: 26.07 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.9595, allocations: 9.75 kB / 1.312 GB, free: 26.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.9595, allocations: 0 / 1.312 GB, free: 26.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.9595, allocations: 0 / 1.312 GB, free: 26.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.9596, allocations: 28.09 kB / 1.312 GB, free: 26.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.9596, allocations: 0 / 1.312 GB, free: 26.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.9597, allocations: 16.98 kB / 1.312 GB, free: 26.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.9598, allocations: 2.969 kB / 1.312 GB, free: 26.05 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001451/0.9599, allocations: 140.6 kB / 1.313 GB, free: 25.95 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.099e-05/0.96, allocations: 41.7 kB / 1.313 GB, free: 25.94 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001667/0.9601, allocations: 85.59 kB / 1.313 GB, free: 25.9 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.032e-06/0.9601, allocations: 0 / 1.313 GB, free: 25.9 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0002402/0.9604, allocations: 128.2 kB / 1.313 GB, free: 25.84 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.9604, allocations: 5.219 kB / 1.313 GB, free: 25.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-06/0.9604, allocations: 7.938 kB / 1.313 GB, free: 25.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-06/0.9604, allocations: 2.875 kB / 1.313 GB, free: 25.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.9605, allocations: 26.06 kB / 1.313 GB, free: 25.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.9605, allocations: 4 kB / 1.313 GB, free: 25.83 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.768e-05/0.9606, allocations: 16.66 kB / 1.313 GB, free: 25.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.9606, allocations: 2.594 kB / 1.313 GB, free: 25.82 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 (13): * Single equations (assignments): 13 * 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 6.593e-05/0.9607, allocations: 182.9 kB / 1.313 GB, free: 25.64 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.9607, allocations: 30.12 kB / 1.313 GB, free: 25.62 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003292/0.961, allocations: 157.8 kB / 1.313 GB, free: 25.54 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.961, allocations: 0 / 1.313 GB, free: 25.54 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.961, allocations: 2.5 kB / 1.313 GB, free: 25.54 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.9611, allocations: 0 / 1.313 GB, free: 25.54 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.9613, allocations: 274 kB / 1.313 GB, free: 25.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.9613, allocations: 3.938 kB / 1.313 GB, free: 25.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.9614, allocations: 27.38 kB / 1.314 GB, free: 25.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.9615, allocations: 6.125 kB / 1.314 GB, free: 25.29 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.9615, allocations: 4 kB / 1.314 GB, free: 25.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.9615, allocations: 0 / 1.314 GB, free: 25.29 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.9615, allocations: 6.25 kB / 1.314 GB, free: 25.29 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.9618, allocations: 242 kB / 1.314 GB, free: 25.11 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.504e-05/0.9619, allocations: 108.2 kB / 1.314 GB, free: 25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.9619, allocations: 4 kB / 1.314 GB, free: 25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.962, allocations: 16.88 kB / 1.314 GB, free: 24.99 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.9621, allocations: 9.969 kB / 1.314 GB, free: 24.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.9621, allocations: 3.031 kB / 1.314 GB, free: 24.98 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000157/0.9622, allocations: 171.2 kB / 1.314 GB, free: 24.88 MB / 1.061 GB Notification: Performance of sort global known variables: time 6.1e-08/0.9622, allocations: 0 / 1.314 GB, free: 24.88 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004373/0.9627, allocations: 105.4 kB / 1.314 GB, free: 24.85 MB / 1.061 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 (13): * Single equations (assignments): 13 * 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.0006531/0.9633, allocations: 0.7828 MB / 1.315 GB, free: 24.15 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004217/0.9638, allocations: 144.1 kB / 1.315 GB, free: 24.11 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9638, allocations: 0 / 1.315 GB, free: 24.11 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.9639, allocations: 50.42 kB / 1.315 GB, free: 24.1 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000531/0.9644, allocations: 64.44 kB / 1.315 GB, free: 24.07 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.9668, allocations: 2.066 MB / 1.317 GB, free: 22.56 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.967, allocations: 0.7494 MB / 1.318 GB, free: 21.86 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001149/0.9672, allocations: 19.55 kB / 1.318 GB, free: 21.86 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.873e-05/0.9673, allocations: 72.8 kB / 1.318 GB, free: 21.8 MB / 1.061 GB Notification: Performance of SimCode: time 1.132e-06/0.9673, allocations: 0 / 1.318 GB, free: 21.8 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.997, allocations: 4.785 MB / 1.323 GB, free: 21.16 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.568/9.565, allocations: 6.953 kB / 1.323 GB, free: 21.16 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Interior_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Interior.fmu > Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Convection_Examples_Interior.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.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: 15.963110720273107]