Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Exterior,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 195.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.366/2.366, allocations: 390.3 MB / 0.6647 GB, free: 400 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 59.91 kB / 0.8126 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5436/0.5457, allocations: 140.4 MB / 0.9497 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.003002/0.5488, allocations: 2.702 MB / 0.9524 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002165/0.551, allocations: 1.751 MB / 0.9541 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.5511, allocations: 9.312 kB / 0.9541 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.92e-05/0.5512, allocations: 47.77 kB / 0.9541 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003508/0.5516, allocations: 147.3 kB / 0.9543 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006495/0.5522, allocations: 386 kB / 0.9546 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004096/0.5526, allocations: 487.3 kB / 0.9551 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.5529, allocations: 144.7 kB / 0.9552 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.553, allocations: 172 kB / 0.9554 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.5532, allocations: 183 kB / 0.9556 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.59e-05/0.5533, allocations: 29.66 kB / 0.9556 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005429/0.5538, allocations: 456.6 kB / 0.956 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.599e-05/0.5539, allocations: 76.62 kB / 0.9561 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.554, allocations: 186.1 kB / 0.9563 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004439/0.5545, allocations: 0.533 MB / 0.9568 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.5545, allocations: 0.75 kB / 0.9568 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5545, allocations: 0 / 0.9568 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.5545, allocations: 1.281 kB / 0.9568 GB, free: 3.844 MB / 0.7169 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.0008624/0.5554, allocations: 0.714 MB / 0.9575 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.5554, allocations: 9.281 kB / 0.9575 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.175e-05/0.5555, allocations: 68.22 kB / 0.9576 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008235/0.5563, allocations: 121.2 kB / 0.9577 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.5566, allocations: 301.7 kB / 0.958 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.5566, allocations: 29.25 kB / 0.958 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.882e-05/0.5566, allocations: 28.94 kB / 0.958 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000649/0.5573, allocations: 315.3 kB / 0.9583 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.5573, allocations: 0 / 0.9583 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/0.5574, allocations: 15.38 kB / 0.9583 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.5574, allocations: 11.41 kB / 0.9584 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007971/0.5582, allocations: 285.5 kB / 0.9586 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.5596, allocations: 0.9046 MB / 0.9595 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009048/0.5605, allocations: 298.7 kB / 0.9598 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003757/0.5609, allocations: 129.7 kB / 0.9599 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.561, allocations: 87.94 kB / 0.96 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.438e-05/0.5611, allocations: 35.81 kB / 0.96 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 1.743e-06/0.5611, allocations: 0 / 0.96 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25): time 0.001297/0.5624, allocations: 386.2 kB / 0.9604 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.5624, allocations: 62.23 kB / 0.9605 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.5627, allocations: 343 kB / 0.9608 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.5627, allocations: 30.98 kB / 0.9608 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.977e-05/0.5629, allocations: 189.1 kB / 0.961 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.011e-05/0.5629, allocations: 84.22 kB / 0.9611 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.563, allocations: 64.72 kB / 0.9611 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.861e-05/0.5631, allocations: 343 kB / 0.9615 GB, free: 176 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003506/0.5635, allocations: 106 kB / 0.9616 GB, free: 124 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/0.5638, allocations: 106.3 kB / 0.9617 GB, free: 76 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007518/0.5646, allocations: 238.8 kB / 0.9619 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5646, allocations: 3.938 kB / 0.9619 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009497/0.5655, allocations: 324.7 kB / 0.9622 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.5656, allocations: 5.375 kB / 0.9622 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.5656, allocations: 0 / 0.9622 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.5656, allocations: 2.656 kB / 0.9622 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004047/0.566, allocations: 79.14 kB / 0.9623 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.566, allocations: 7.219 kB / 0.9623 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.5663, allocations: 44.83 kB / 0.9624 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.5664, allocations: 11.27 kB / 0.9624 GB, free: 15.71 MB / 0.7325 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.0001306/0.5665, allocations: 141.7 kB / 0.9625 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.5666, allocations: 37.72 kB / 0.9625 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.5676, allocations: 368.7 kB / 0.9629 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.5677, allocations: 6 kB / 0.9629 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5677, allocations: 0 / 0.9629 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.5677, allocations: 8.984 kB / 0.9629 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003714/0.5681, allocations: 349.1 kB / 0.9632 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5681, allocations: 0 / 0.9632 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003364/0.5684, allocations: 65.09 kB / 0.9633 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.5684, allocations: 1.125 kB / 0.9633 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.5685, allocations: 6.141 kB / 0.9633 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.5685, allocations: 1.281 kB / 0.9633 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5685, allocations: 4 kB / 0.9633 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008365/0.5693, allocations: 302.9 kB / 0.9636 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.5694, allocations: 128.9 kB / 0.9637 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.939e-05/0.5695, allocations: 5.344 kB / 0.9637 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.5698, allocations: 17.42 kB / 0.9637 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.5698, allocations: 22.88 kB / 0.9638 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.5699, allocations: 11.84 kB / 0.9638 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002461/0.5701, allocations: 254.7 kB / 0.964 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5701, allocations: 0 / 0.964 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003638/0.5705, allocations: 100.1 kB / 0.9641 GB, free: 14.41 MB / 0.7325 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.001197/0.5717, allocations: 0.8681 MB / 0.965 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008326/0.5725, allocations: 250.5 kB / 0.9652 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.5726, allocations: 5.094 kB / 0.9652 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003798/0.5729, allocations: 107.4 kB / 0.9653 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006375/0.5736, allocations: 116.3 kB / 0.9654 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004911/0.5785, allocations: 3.068 MB / 0.9684 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.5788, allocations: 0.7776 MB / 0.9692 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003191/0.5791, allocations: 68.73 kB / 0.9692 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.5793, allocations: 112.6 kB / 0.9693 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of SimCode: time 3.4e-07/0.5794, allocations: 3.938 kB / 0.9693 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.6055, allocations: 8.493 MB / 0.9776 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.513/8.118, allocations: 8.047 kB / 0.9777 GB, free: 4.84 MB / 0.7325 GB (rm -f Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_HeatTransfer_Convection_Examples_Exterior.fmu > Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Convection_Examples_Exterior.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[5002]=3600.000000 File[1204]=2249.280000 Error: Could not read variable nor.hF in file Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv. Warning: Get data of variable nor.hF from file Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv failed! Error: Could not read variable wes.hF in file Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv. Warning: Get data of variable wes.hF from file Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv failed! Error: Could not read variable sou.hF in file Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv. Warning: Get data of variable sou.hF from file Buildings_9_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv failed! " Variables in the reference:time,nor.hF,wes.hF,sou.hF,eas.hF Variables in the result:time,direction.y,eas.Q_flow,eas.dT,eas.hF,eas.qF_flow