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.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 12.0.0-master/package.mo", uses=false) 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.Exterior,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_latest_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.004273/0.004273, allocations: 97.59 kB / 15.73 MB, free: 6.008 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.001262/0.001262, allocations: 196.5 kB / 16.67 MB, free: 5.926 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.772/2.772, allocations: 482.4 MB / 0.7548 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 71.55 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2756, allocations: 162.2 MB / 1.241 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.004062/0.2797, allocations: 2.709 MB / 1.244 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002978/0.2827, allocations: 1.756 MB / 1.246 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.2829, allocations: 4 kB / 1.246 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.283, allocations: 47.45 kB / 1.246 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000422/0.2834, allocations: 146.9 kB / 1.246 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008164/0.2843, allocations: 379.2 kB / 1.246 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005675/0.2848, allocations: 498.4 kB / 1.247 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002469/0.2851, allocations: 141.1 kB / 1.247 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.2853, allocations: 175.3 kB / 1.247 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.2855, allocations: 183.2 kB / 1.247 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.829e-05/0.2856, allocations: 28 kB / 1.247 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007244/0.2863, allocations: 455.5 kB / 1.248 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.479e-05/0.2864, allocations: 75.64 kB / 1.248 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.2866, allocations: 202.9 kB / 1.248 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006437/0.2873, allocations: 0.5369 MB / 1.249 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2873, allocations: 0 / 1.249 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.166e-06/0.2873, allocations: 0 / 1.249 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.2873, allocations: 3.938 kB / 1.249 GB, free: 1.961 MB / 0.9669 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.001076/0.2884, allocations: 0.728 MB / 1.249 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.2884, allocations: 8.031 kB / 1.249 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.841e-05/0.2885, allocations: 62.72 kB / 1.249 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008342/0.2893, allocations: 124.5 kB / 1.249 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.2897, allocations: 307.6 kB / 1.25 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.2898, allocations: 25.03 kB / 1.25 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.879e-05/0.2898, allocations: 36.31 kB / 1.25 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007305/0.2906, allocations: 318.1 kB / 1.25 GB, free: 276 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2906, allocations: 0 / 1.25 GB, free: 276 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.2906, allocations: 12 kB / 1.25 GB, free: 264 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.2907, allocations: 8 kB / 1.25 GB, free: 256 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008906/0.2915, allocations: 282.4 kB / 1.25 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.2932, allocations: 0.8972 MB / 1.251 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009791/0.2942, allocations: 298.7 kB / 1.252 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004043/0.2946, allocations: 128.7 kB / 1.252 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.2947, allocations: 93.16 kB / 1.252 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.2948, allocations: 34.56 kB / 1.252 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 1.533e-06/0.2948, allocations: 0 / 1.252 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.001371/0.2962, allocations: 392.4 kB / 1.252 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.2962, allocations: 63.34 kB / 1.252 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003649/0.2966, allocations: 337.7 kB / 1.253 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.2966, allocations: 33.69 kB / 1.253 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.2968, allocations: 188.8 kB / 1.253 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.173e-05/0.2969, allocations: 87.22 kB / 1.253 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.297, allocations: 65.91 kB / 1.253 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.2971, allocations: 342.8 kB / 1.253 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003847/0.2975, allocations: 104.5 kB / 1.253 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003838/0.2979, allocations: 105 kB / 1.253 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007693/0.2987, allocations: 223.6 kB / 1.254 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2987, allocations: 8 kB / 1.254 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009886/0.2997, allocations: 337.4 kB / 1.254 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2997, allocations: 8 kB / 1.254 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2997, allocations: 0 / 1.254 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.2998, allocations: 0 / 1.254 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004171/0.3002, allocations: 79.86 kB / 1.254 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/0.3002, allocations: 7.938 kB / 1.254 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/0.3005, allocations: 43.72 kB / 1.254 GB, free: 12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.3005, allocations: 15.92 kB / 1.254 GB, free: 11.99 MB / 0.9825 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.0001426/0.3007, allocations: 142.3 kB / 1.254 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.3008, allocations: 39.77 kB / 1.254 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.3019, allocations: 370.4 kB / 1.255 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.3019, allocations: 4 kB / 1.255 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.3019, allocations: 4 kB / 1.255 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3019, allocations: 11.88 kB / 1.255 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003672/0.3023, allocations: 353.3 kB / 1.255 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.319e-06/0.3023, allocations: 4.094 kB / 1.255 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003326/0.3027, allocations: 55.83 kB / 1.255 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3027, allocations: 4 kB / 1.255 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.3027, allocations: 7.984 kB / 1.255 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.3027, allocations: 4 kB / 1.255 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3027, allocations: 4 kB / 1.255 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008708/0.3036, allocations: 300.6 kB / 1.255 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.3037, allocations: 128.9 kB / 1.255 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.519e-05/0.3038, allocations: 7.938 kB / 1.255 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002611/0.3041, allocations: 19.98 kB / 1.256 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.3041, allocations: 11.97 kB / 1.256 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.3041, allocations: 11.94 kB / 1.256 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000265/0.3044, allocations: 255.2 kB / 1.256 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.984e-06/0.3044, allocations: 0 / 1.256 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003286/0.3048, allocations: 103.8 kB / 1.256 GB, free: 10.07 MB / 0.9825 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.001281/0.306, allocations: 0.8649 MB / 1.257 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000835/0.3069, allocations: 247.6 kB / 1.257 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.3069, allocations: 0 / 1.257 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003813/0.3073, allocations: 111.9 kB / 1.257 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005874/0.3079, allocations: 127.7 kB / 1.257 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005195/0.3131, allocations: 3.034 MB / 1.26 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.3135, allocations: 0.7756 MB / 1.261 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002885/0.3138, allocations: 70.83 kB / 1.261 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.314, allocations: 111.4 kB / 1.261 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.314, allocations: 0 / 1.261 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03132/0.3453, allocations: 8.592 MB / 1.269 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.317/8.663, allocations: 6.188 kB / 1.269 GB, free: 12.18 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Exterior.fmu > Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv","/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) "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_latest_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv. Warning: Get data of variable nor.hF from file Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv failed! Error: Could not read variable wes.hF in file Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv. Warning: Get data of variable wes.hF from file Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv failed! Error: Could not read variable sou.hF in file Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior_res.csv. Warning: Get data of variable sou.hF from file Buildings_latest_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