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.008816/0.008816, allocations: 101.1 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002082/0.002082, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 4.176 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.407/2.407, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 65.95 kB / 0.9504 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2619, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.004198/0.2662, allocations: 2.704 MB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003245/0.2694, allocations: 1.761 MB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005115/0.27, allocations: 4 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.2703, allocations: 47.45 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0008154/0.2711, allocations: 150.9 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.2723, allocations: 388.4 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007056/0.273, allocations: 494.4 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002794/0.2733, allocations: 145.1 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002759/0.2736, allocations: 171.3 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000295/0.2739, allocations: 187.1 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.338e-05/0.274, allocations: 32 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007677/0.2747, allocations: 447.5 kB / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.923e-05/0.2748, allocations: 75.69 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.2751, allocations: 191 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000729/0.2758, allocations: 0.5382 MB / 1.095 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2758, allocations: 0 / 1.095 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2758, allocations: 0 / 1.095 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.484e-05/0.2758, allocations: 0 / 1.095 GB, free: 10.69 MB / 0.8575 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.001152/0.277, allocations: 0.7224 MB / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.2771, allocations: 12.03 kB / 1.095 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.948e-05/0.2771, allocations: 62.72 kB / 1.095 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009257/0.2781, allocations: 120.3 kB / 1.095 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004807/0.2786, allocations: 311.3 kB / 1.096 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.2786, allocations: 24.97 kB / 1.096 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.407e-05/0.2787, allocations: 32.38 kB / 1.096 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007444/0.2794, allocations: 318 kB / 1.096 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.2794, allocations: 0 / 1.096 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.2795, allocations: 12 kB / 1.096 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.2795, allocations: 8 kB / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008461/0.2803, allocations: 282.4 kB / 1.096 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.282, allocations: 0.9007 MB / 1.097 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009472/0.283, allocations: 297.3 kB / 1.098 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003849/0.2834, allocations: 120.8 kB / 1.098 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/0.2836, allocations: 97.47 kB / 1.098 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.2836, allocations: 34.56 kB / 1.098 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=25): time 1.874e-06/0.2836, allocations: 0 / 1.098 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25): time 0.001377/0.285, allocations: 386.7 kB / 1.098 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.2851, allocations: 63.28 kB / 1.098 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003534/0.2854, allocations: 337.7 kB / 1.099 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.2855, allocations: 29.7 kB / 1.099 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.2856, allocations: 188.6 kB / 1.099 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.111e-05/0.2857, allocations: 78.75 kB / 1.099 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.2858, allocations: 69.86 kB / 1.099 GB, free: 6 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.286, allocations: 342.8 kB / 1.099 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000382/0.2864, allocations: 104.6 kB / 1.099 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/0.2867, allocations: 105 kB / 1.099 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000755/0.2875, allocations: 238.3 kB / 1.1 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2875, allocations: 0 / 1.1 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009948/0.2885, allocations: 329.1 kB / 1.1 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2885, allocations: 15.94 kB / 1.1 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2886, allocations: 0 / 1.1 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.2886, allocations: 0 / 1.1 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004338/0.289, allocations: 71.94 kB / 1.1 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.289, allocations: 7.938 kB / 1.1 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003397/0.2894, allocations: 51.56 kB / 1.1 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.2894, allocations: 11.98 kB / 1.1 GB, free: 4.734 MB / 0.8575 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.0001574/0.2896, allocations: 141.8 kB / 1.1 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.2897, allocations: 35.62 kB / 1.1 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.2908, allocations: 371.9 kB / 1.101 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.2908, allocations: 4 kB / 1.101 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.2908, allocations: 0 / 1.101 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.2909, allocations: 7.938 kB / 1.101 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004127/0.2913, allocations: 353.2 kB / 1.101 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2913, allocations: 0 / 1.101 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003616/0.2917, allocations: 55.95 kB / 1.101 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.2917, allocations: 3.938 kB / 1.101 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.2917, allocations: 3.984 kB / 1.101 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.2917, allocations: 4 kB / 1.101 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2917, allocations: 0 / 1.101 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008837/0.2926, allocations: 296.5 kB / 1.101 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001744/0.2928, allocations: 132.6 kB / 1.101 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.318e-05/0.2929, allocations: 15.83 kB / 1.101 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/0.2932, allocations: 19.98 kB / 1.101 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.2932, allocations: 7.984 kB / 1.101 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.2933, allocations: 15.92 kB / 1.102 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002744/0.2935, allocations: 251.2 kB / 1.102 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.9e-07/0.2935, allocations: 0 / 1.102 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004532/0.294, allocations: 99.92 kB / 1.102 GB, free: 2.832 MB / 0.8575 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.001299/0.2953, allocations: 0.8641 MB / 1.103 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008471/0.2962, allocations: 239.7 kB / 1.103 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2962, allocations: 0 / 1.103 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003864/0.2966, allocations: 126.6 kB / 1.103 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007126/0.2973, allocations: 114.6 kB / 1.103 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005453/0.3028, allocations: 3.023 MB / 1.106 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.3032, allocations: 0.7794 MB / 1.107 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003355/0.3035, allocations: 74.81 kB / 1.107 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.3037, allocations: 115.3 kB / 1.107 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of SimCode: time 8.02e-07/0.3037, allocations: 0 / 1.107 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02808/0.3318, allocations: 8.581 MB / 1.115 GB, free: 4.945 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.082/8.414, allocations: 9.375 kB / 1.115 GB, free: 4.941 MB / 0.8731 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