Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001816/0.001816, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002304/0.002304, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.589/1.589, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.468/3.468, allocations: 0.49 GB / 0.7951 GB, free: 33.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_12_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.002054/0.002054, allocations: 64.06 kB / 1.154 GB, free: 25.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4456/0.4476, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.005757/0.4534, allocations: 2.741 MB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003866/0.4572, allocations: 1.885 MB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003858/0.4576, allocations: 8 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.4578, allocations: 43.45 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007346/0.4586, allocations: 162.8 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.4596, allocations: 382.8 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009352/0.4606, allocations: 0.51 MB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002881/0.4609, allocations: 109.6 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003948/0.4613, allocations: 199.3 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003406/0.4616, allocations: 179.1 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.643e-05/0.4617, allocations: 32 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008737/0.4625, allocations: 467.5 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.561e-05/0.4626, allocations: 79.64 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000282/0.4629, allocations: 195 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000993/0.4639, allocations: 0.5603 MB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4639, allocations: 0 / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4639, allocations: 0 / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.884e-05/0.4639, allocations: 0 / 1.333 GB, free: 10.4 MB / 1.029 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.001563/0.4655, allocations: 0.6659 MB / 1.334 GB, free: 9.703 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.4656, allocations: 8.031 kB / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/0.4657, allocations: 66.72 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.4669, allocations: 132.5 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000621/0.4675, allocations: 245.3 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.4675, allocations: 21.03 kB / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.457e-05/0.4676, allocations: 36.38 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008855/0.4685, allocations: 326 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.4685, allocations: 0 / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.4685, allocations: 12 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.4685, allocations: 8 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008914/0.4694, allocations: 282.4 kB / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002096/0.4715, allocations: 0.8624 MB / 1.336 GB, free: 7.641 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000939/0.4725, allocations: 278.5 kB / 1.336 GB, free: 7.359 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000365/0.4728, allocations: 120.8 kB / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.473, allocations: 12.38 kB / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.473, allocations: 30.56 kB / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 2.134e-06/0.473, allocations: 0 / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.001352/0.4743, allocations: 391.9 kB / 1.337 GB, free: 6.801 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.4744, allocations: 63.34 kB / 1.337 GB, free: 6.727 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004564/0.4748, allocations: 337.7 kB / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.4749, allocations: 29.7 kB / 1.337 GB, free: 6.355 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.4751, allocations: 192.8 kB / 1.337 GB, free: 6.164 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.74e-05/0.4751, allocations: 91.17 kB / 1.337 GB, free: 6.074 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.4753, allocations: 65.95 kB / 1.337 GB, free: 6 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001965/0.4755, allocations: 338.8 kB / 1.338 GB, free: 5.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004812/0.476, allocations: 104.5 kB / 1.338 GB, free: 5.559 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.4763, allocations: 105 kB / 1.338 GB, free: 5.457 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000711/0.477, allocations: 238.9 kB / 1.338 GB, free: 5.223 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.477, allocations: 4 kB / 1.338 GB, free: 5.219 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009507/0.478, allocations: 337.4 kB / 1.338 GB, free: 4.883 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.478, allocations: 8 kB / 1.338 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.478, allocations: 0 / 1.338 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.478, allocations: 0 / 1.338 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/0.4785, allocations: 75.86 kB / 1.338 GB, free: 4.801 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.4785, allocations: 3.938 kB / 1.338 GB, free: 4.797 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003298/0.4788, allocations: 51.7 kB / 1.339 GB, free: 4.746 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.4789, allocations: 19.97 kB / 1.339 GB, free: 4.727 MB / 1.029 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.000246/0.4791, allocations: 134.4 kB / 1.339 GB, free: 4.586 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/0.4793, allocations: 39.77 kB / 1.339 GB, free: 4.547 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.4804, allocations: 369.5 kB / 1.339 GB, free: 4.168 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.4804, allocations: 4 kB / 1.339 GB, free: 4.164 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.4804, allocations: 4 kB / 1.339 GB, free: 4.16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.4804, allocations: 3.938 kB / 1.339 GB, free: 4.156 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004656/0.4809, allocations: 324.4 kB / 1.339 GB, free: 3.797 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4809, allocations: 0 / 1.339 GB, free: 3.797 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/0.4812, allocations: 55.89 kB / 1.339 GB, free: 3.742 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.4812, allocations: 0 / 1.339 GB, free: 3.742 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.4812, allocations: 7.984 kB / 1.339 GB, free: 3.734 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.4812, allocations: 4 kB / 1.339 GB, free: 3.73 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4812, allocations: 8 kB / 1.339 GB, free: 3.723 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008416/0.4821, allocations: 298.7 kB / 1.34 GB, free: 3.414 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.4822, allocations: 63.67 kB / 1.34 GB, free: 3.352 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.711e-05/0.4823, allocations: 0 / 1.34 GB, free: 3.352 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/0.4825, allocations: 19.98 kB / 1.34 GB, free: 3.332 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.4826, allocations: 19.91 kB / 1.34 GB, free: 3.312 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.4826, allocations: 11.94 kB / 1.34 GB, free: 3.301 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003044/0.4829, allocations: 255.2 kB / 1.34 GB, free: 3.051 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4829, allocations: 3.938 kB / 1.34 GB, free: 3.047 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004241/0.4833, allocations: 107.8 kB / 1.34 GB, free: 2.941 MB / 1.029 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.001444/0.4848, allocations: 0.8685 MB / 1.341 GB, free: 2.047 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008234/0.4856, allocations: 239.9 kB / 1.341 GB, free: 1.812 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4856, allocations: 0 / 1.341 GB, free: 1.812 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003655/0.486, allocations: 111.8 kB / 1.341 GB, free: 1.703 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006381/0.4866, allocations: 115.4 kB / 1.342 GB, free: 1.594 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005992/0.4926, allocations: 3.051 MB / 1.344 GB, free: 14.46 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.4931, allocations: 0.7717 MB / 1.345 GB, free: 13.66 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003142/0.4934, allocations: 74.81 kB / 1.345 GB, free: 13.59 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.4936, allocations: 107.4 kB / 1.345 GB, free: 13.49 MB / 1.045 GB Notification: Performance of SimCode: time 1.002e-06/0.4936, allocations: 0 / 1.345 GB, free: 13.49 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0421/0.5357, allocations: 8.994 MB / 1.354 GB, free: 4.684 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.56, allocations: 11.88 kB / 1.354 GB, free: 4.672 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Convection_Examples_Exterior_fmu --startTime=0 --stopTime=3600 --stepSize=0.719712 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Convection_Examples_Exterior.fmu > Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Convection_Examples_Exterior.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 20.08515461604111]