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.00152/0.00152, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001421/0.001421, allocations: 215.3 kB / 23.03 MB, free: 4.926 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.396/1.396, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] 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 3.073/3.073, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="cs",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.002127/0.002127, allocations: 63.56 kB / 1.17 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3391, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.003883/0.343, allocations: 2.532 MB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003023/0.346, allocations: 1.729 MB / 1.349 GB, free: 11.67 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.3461, allocations: 4 kB / 1.349 GB, free: 11.67 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.3463, allocations: 55.45 kB / 1.349 GB, free: 11.61 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004639/0.3467, allocations: 158.8 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007735/0.3475, allocations: 385.5 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006742/0.3482, allocations: 0.4944 MB / 1.35 GB, free: 10.58 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002304/0.3484, allocations: 113.6 kB / 1.351 GB, free: 10.46 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/0.3487, allocations: 199.3 kB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.3489, allocations: 187.1 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.622e-05/0.3489, allocations: 28 kB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006937/0.3496, allocations: 471.5 kB / 1.351 GB, free: 9.598 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.883e-05/0.3497, allocations: 75.69 kB / 1.352 GB, free: 9.523 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.3499, allocations: 155.3 kB / 1.352 GB, free: 9.371 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007059/0.3506, allocations: 0.5641 MB / 1.352 GB, free: 8.805 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3506, allocations: 0 / 1.352 GB, free: 8.805 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3506, allocations: 0 / 1.352 GB, free: 8.805 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.3506, allocations: 0 / 1.352 GB, free: 8.805 MB / 1.045 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.001095/0.3517, allocations: 0.6564 MB / 1.353 GB, free: 8.117 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3517, allocations: 12.03 kB / 1.353 GB, free: 8.105 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.028e-05/0.3517, allocations: 8.844 kB / 1.353 GB, free: 8.098 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.21e-05/0.3518, allocations: 66.72 kB / 1.353 GB, free: 8.023 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.3529, allocations: 132.5 kB / 1.353 GB, free: 7.895 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004685/0.3534, allocations: 257.3 kB / 1.353 GB, free: 7.617 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.3534, allocations: 21.03 kB / 1.353 GB, free: 7.598 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-05/0.3534, allocations: 28.38 kB / 1.353 GB, free: 7.57 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007518/0.3542, allocations: 313.9 kB / 1.354 GB, free: 7.258 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3542, allocations: 0 / 1.354 GB, free: 7.258 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.7e-05/0.3542, allocations: 20 kB / 1.354 GB, free: 7.238 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.3542, allocations: 11.94 kB / 1.354 GB, free: 7.227 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008318/0.3551, allocations: 290.3 kB / 1.354 GB, free: 6.941 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/0.3567, allocations: 0.7883 MB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008914/0.3576, allocations: 278.3 kB / 1.355 GB, free: 5.824 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000358/0.358, allocations: 120.7 kB / 1.355 GB, free: 5.703 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.3581, allocations: 11.98 kB / 1.355 GB, free: 5.691 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.3581, allocations: 38.56 kB / 1.355 GB, free: 5.645 MB / 1.045 GB Notification: Performance of pre-optimization done (n=25): time 3.307e-06/0.3581, allocations: 3.984 kB / 1.355 GB, free: 5.641 MB / 1.045 GB Notification: Performance of matching and sorting (n=25): time 0.001254/0.3594, allocations: 381.2 kB / 1.356 GB, free: 5.262 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.3594, allocations: 59.34 kB / 1.356 GB, free: 5.191 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00036/0.3598, allocations: 341.7 kB / 1.356 GB, free: 4.852 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.3598, allocations: 33.7 kB / 1.356 GB, free: 4.812 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.36, allocations: 185.2 kB / 1.356 GB, free: 4.629 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.621e-05/0.3601, allocations: 91.22 kB / 1.356 GB, free: 4.539 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.3602, allocations: 69.91 kB / 1.356 GB, free: 4.461 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3604, allocations: 342.8 kB / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003546/0.3607, allocations: 104.4 kB / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/0.361, allocations: 109 kB / 1.357 GB, free: 3.91 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006855/0.3617, allocations: 238.9 kB / 1.357 GB, free: 3.676 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3617, allocations: 0 / 1.357 GB, free: 3.676 MB / 1.045 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009113/0.3626, allocations: 329.5 kB / 1.357 GB, free: 3.348 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3627, allocations: 8 kB / 1.357 GB, free: 3.34 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3627, allocations: 0 / 1.357 GB, free: 3.34 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3627, allocations: 0 / 1.357 GB, free: 3.34 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004063/0.3631, allocations: 83.8 kB / 1.357 GB, free: 3.258 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3631, allocations: 4.109 kB / 1.357 GB, free: 3.254 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.3634, allocations: 47.66 kB / 1.357 GB, free: 3.207 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/0.3634, allocations: 15.98 kB / 1.357 GB, free: 3.191 MB / 1.045 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.0001569/0.3636, allocations: 141.8 kB / 1.358 GB, free: 3.043 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.3637, allocations: 39.77 kB / 1.358 GB, free: 3.004 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009763/0.3647, allocations: 377.5 kB / 1.358 GB, free: 2.613 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3647, allocations: 0 / 1.358 GB, free: 2.613 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3647, allocations: 0 / 1.358 GB, free: 2.613 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3647, allocations: 3.938 kB / 1.358 GB, free: 2.609 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.365, allocations: 288.5 kB / 1.358 GB, free: 2.285 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.365, allocations: 0 / 1.358 GB, free: 2.285 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003293/0.3653, allocations: 51.94 kB / 1.358 GB, free: 2.234 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3653, allocations: 4 kB / 1.358 GB, free: 2.23 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.3654, allocations: 11.98 kB / 1.358 GB, free: 2.219 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3654, allocations: 0 / 1.358 GB, free: 2.219 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.779e-06/0.3654, allocations: 3.938 kB / 1.358 GB, free: 2.215 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008063/0.3662, allocations: 301.9 kB / 1.359 GB, free: 1.902 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.3663, allocations: 55.7 kB / 1.359 GB, free: 1.848 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.083e-05/0.3664, allocations: 0 / 1.359 GB, free: 1.848 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.3666, allocations: 19.97 kB / 1.359 GB, free: 1.828 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.3667, allocations: 15.92 kB / 1.359 GB, free: 1.812 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.3667, allocations: 15.98 kB / 1.359 GB, free: 1.797 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002655/0.367, allocations: 251.2 kB / 1.359 GB, free: 1.555 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.367, allocations: 0 / 1.359 GB, free: 1.555 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003651/0.3673, allocations: 111.8 kB / 1.359 GB, free: 1.445 MB / 1.045 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.001231/0.3686, allocations: 0.8702 MB / 1.36 GB, free: 0.5469 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007391/0.3693, allocations: 237.4 kB / 1.36 GB, free: 324 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3693, allocations: 0 / 1.36 GB, free: 324 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003321/0.3696, allocations: 107.9 kB / 1.36 GB, free: 216 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005752/0.3702, allocations: 124.2 kB / 1.36 GB, free: 100 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004873/0.3751, allocations: 3.047 MB / 1.363 GB, free: 12.97 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.3752, allocations: 169.1 kB / 1.364 GB, free: 12.79 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002639/0.3755, allocations: 74.81 kB / 1.364 GB, free: 12.71 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.3757, allocations: 115.4 kB / 1.364 GB, free: 12.59 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/0.3757, allocations: 0 / 1.364 GB, free: 12.59 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03148/0.4072, allocations: 9.621 MB / 1.373 GB, free: 3.227 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.83, allocations: 14.25 kB / 1.373 GB, free: 3.215 MB / 1.061 GB " [Timeout remaining time 288] (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: 18.407125873025507]