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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001292/0.001292, allocations: 108 kB / 15.6 MB, free: 132 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.001407/0.001407, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.368/1.368, 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 11.0.1-master/package.mo): time 2.792/2.792, allocations: 469.4 MB / 0.742 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 59.62 kB / 0.9082 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2777, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.004053/0.2818, allocations: 2.715 MB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002762/0.2846, allocations: 1.76 MB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.2848, allocations: 4 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.2849, allocations: 47.45 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004438/0.2854, allocations: 154.3 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000824/0.2862, allocations: 379.3 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004649/0.2867, allocations: 478.6 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.2869, allocations: 149 kB / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.2871, allocations: 179.3 kB / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.2873, allocations: 183.2 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.265e-05/0.2874, allocations: 28 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006187/0.288, allocations: 459.4 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.972e-05/0.2881, allocations: 71.7 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.2883, allocations: 187.1 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005499/0.2888, allocations: 0.5296 MB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2888, allocations: 0 / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2888, allocations: 4 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.2889, allocations: 0 / 1.071 GB, free: 7.207 MB / 0.8262 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.001016/0.2899, allocations: 0.7131 MB / 1.071 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2899, allocations: 8.031 kB / 1.071 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.228e-05/0.29, allocations: 66.66 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000862/0.2909, allocations: 124.3 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.2912, allocations: 307.3 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.2912, allocations: 25.02 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/0.2913, allocations: 28.38 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000681/0.292, allocations: 318 kB / 1.072 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.292, allocations: 4 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.292, allocations: 16 kB / 1.072 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.292, allocations: 4 kB / 1.072 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008506/0.2929, allocations: 286.4 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.2945, allocations: 0.893 MB / 1.073 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009251/0.2954, allocations: 305.5 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003796/0.2958, allocations: 132.8 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000146/0.2959, allocations: 97.41 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.296, allocations: 34.56 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.984e-06/0.296, allocations: 4 kB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25): time 0.001307/0.2973, allocations: 389.7 kB / 1.074 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.2973, allocations: 59.34 kB / 1.074 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.2977, allocations: 333.7 kB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.2977, allocations: 33.7 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.2978, allocations: 184.6 kB / 1.075 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.233e-05/0.2979, allocations: 78.75 kB / 1.075 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.298, allocations: 69.86 kB / 1.075 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.2981, allocations: 346.8 kB / 1.075 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003629/0.2985, allocations: 100.5 kB / 1.076 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003539/0.2989, allocations: 113 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007068/0.2996, allocations: 226.4 kB / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2996, allocations: 0 / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009235/0.3005, allocations: 341.7 kB / 1.076 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3005, allocations: 4 kB / 1.076 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3006, allocations: 0 / 1.076 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3006, allocations: 0 / 1.076 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/0.301, allocations: 71.94 kB / 1.076 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.301, allocations: 11.88 kB / 1.076 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003122/0.3013, allocations: 47.56 kB / 1.076 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.3014, allocations: 11.98 kB / 1.076 GB, free: 1.258 MB / 0.8262 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.0001395/0.3015, allocations: 137.8 kB / 1.076 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.3016, allocations: 35.62 kB / 1.076 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.3027, allocations: 377 kB / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3027, allocations: 0 / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.3027, allocations: 112 / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3027, allocations: 7.875 kB / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.3031, allocations: 353.2 kB / 1.077 GB, free: 292 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.3031, allocations: 4 kB / 1.077 GB, free: 288 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000345/0.3035, allocations: 59.88 kB / 1.077 GB, free: 228 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.3035, allocations: 0 / 1.077 GB, free: 228 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.3035, allocations: 11.98 kB / 1.077 GB, free: 216 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.3035, allocations: 0 / 1.077 GB, free: 216 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3035, allocations: 3.938 kB / 1.077 GB, free: 212 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000819/0.3043, allocations: 295.3 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.3045, allocations: 132.6 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.964e-05/0.3045, allocations: 11.91 kB / 1.078 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/0.3048, allocations: 19.97 kB / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.3049, allocations: 11.98 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.3049, allocations: 19.92 kB / 1.078 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002355/0.3052, allocations: 251.2 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3052, allocations: 0 / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003567/0.3055, allocations: 95.94 kB / 1.078 GB, free: 15.35 MB / 0.8419 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.001205/0.3067, allocations: 0.8647 MB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008367/0.3076, allocations: 255.6 kB / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3076, allocations: 0 / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003611/0.308, allocations: 111.8 kB / 1.079 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006437/0.3086, allocations: 109.8 kB / 1.079 GB, free: 14 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004863/0.3135, allocations: 3.069 MB / 1.082 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.3138, allocations: 0.7756 MB / 1.083 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003351/0.3142, allocations: 74.8 kB / 1.083 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.3143, allocations: 111.4 kB / 1.083 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of SimCode: time 5.51e-07/0.3144, allocations: 3.938 kB / 1.083 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.3393, allocations: 8.499 MB / 1.092 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.47/7.81, allocations: 14.3 kB / 1.092 GB, free: 1.492 MB / 0.8419 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 50 --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