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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.007794/0.007794, allocations: 100.6 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.00181/0.00181, allocations: 189.6 kB / 16.67 MB, free: 5.934 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.638/2.638, allocations: 469.4 MB / 0.7422 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 71.83 kB / 1.064 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7169/0.7184, allocations: 159.1 MB / 1.22 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.003681/0.7221, allocations: 2.683 MB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002834/0.725, allocations: 1.772 MB / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.7252, allocations: 4 kB / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.7253, allocations: 47.45 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004718/0.7258, allocations: 158.1 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008515/0.7267, allocations: 379 kB / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00057/0.7273, allocations: 494.4 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002652/0.7275, allocations: 149 kB / 1.225 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002639/0.7278, allocations: 191.3 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.728, allocations: 179.2 kB / 1.226 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.786e-05/0.7281, allocations: 32 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006559/0.7288, allocations: 455.4 kB / 1.226 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.578e-05/0.7288, allocations: 71.77 kB / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.729, allocations: 195 kB / 1.226 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006328/0.7296, allocations: 0.5444 MB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7297, allocations: 0 / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7297, allocations: 0 / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.504e-05/0.7297, allocations: 0 / 1.227 GB, free: 10.89 MB / 0.9512 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.001079/0.7308, allocations: 0.7201 MB / 1.228 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.7308, allocations: 12.62 kB / 1.228 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.622e-05/0.7309, allocations: 66.72 kB / 1.228 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008832/0.7318, allocations: 116.5 kB / 1.228 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004306/0.7322, allocations: 311.6 kB / 1.228 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.7323, allocations: 28.97 kB / 1.228 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.772e-05/0.7323, allocations: 36.38 kB / 1.228 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007223/0.7331, allocations: 314.1 kB / 1.228 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.7331, allocations: 0 / 1.228 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.7331, allocations: 16 kB / 1.228 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.7331, allocations: 8 kB / 1.228 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000846/0.734, allocations: 286.3 kB / 1.229 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.7356, allocations: 0.9011 MB / 1.23 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009378/0.7366, allocations: 282.5 kB / 1.23 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003894/0.737, allocations: 128.8 kB / 1.23 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/0.7371, allocations: 93.47 kB / 1.23 GB, free: 7.418 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.7371, allocations: 38.5 kB / 1.23 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=25): time 1.393e-06/0.7372, allocations: 0 / 1.23 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of matching and sorting (n=25): time 0.001362/0.7385, allocations: 385.2 kB / 1.23 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.7386, allocations: 59.34 kB / 1.231 GB, free: 6.918 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000335/0.7389, allocations: 345.6 kB / 1.231 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.7389, allocations: 29.7 kB / 1.231 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.7391, allocations: 180.8 kB / 1.231 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.699e-05/0.7391, allocations: 95.2 kB / 1.231 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.7393, allocations: 61.92 kB / 1.231 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.7394, allocations: 346.8 kB / 1.232 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000367/0.7398, allocations: 104.5 kB / 1.232 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/0.7401, allocations: 116.9 kB / 1.232 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007384/0.7409, allocations: 226.4 kB / 1.232 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.7409, allocations: 4 kB / 1.232 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009497/0.7419, allocations: 338.1 kB / 1.232 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.7419, allocations: 7.938 kB / 1.232 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.7419, allocations: 4 kB / 1.232 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.7419, allocations: 0 / 1.232 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/0.7423, allocations: 75.86 kB / 1.232 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.7423, allocations: 7.938 kB / 1.232 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003025/0.7427, allocations: 47.72 kB / 1.232 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.7427, allocations: 11.98 kB / 1.232 GB, free: 4.918 MB / 0.9512 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.0001462/0.7428, allocations: 145.6 kB / 1.233 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.743, allocations: 35.77 kB / 1.233 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.744, allocations: 372 kB / 1.233 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.393e-06/0.744, allocations: 7.984 kB / 1.233 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.744, allocations: 3.938 kB / 1.233 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.744, allocations: 7.922 kB / 1.233 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/0.7444, allocations: 349.3 kB / 1.233 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7444, allocations: 0 / 1.233 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003455/0.7447, allocations: 51.95 kB / 1.233 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.7448, allocations: 11.98 kB / 1.233 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.7448, allocations: 0 / 1.233 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.7448, allocations: 0 / 1.233 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7448, allocations: 4 kB / 1.233 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008361/0.7457, allocations: 315.1 kB / 1.234 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.7458, allocations: 132.8 kB / 1.234 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.746e-05/0.7459, allocations: 7.953 kB / 1.234 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002768/0.7461, allocations: 19.98 kB / 1.234 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.7462, allocations: 15.97 kB / 1.234 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.7462, allocations: 7.938 kB / 1.234 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002435/0.7465, allocations: 255.2 kB / 1.234 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7465, allocations: 0 / 1.234 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003477/0.7468, allocations: 99.81 kB / 1.234 GB, free: 3.004 MB / 0.9512 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.001211/0.7481, allocations: 0.8681 MB / 1.235 GB, free: 2.109 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008131/0.7489, allocations: 245.6 kB / 1.235 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.7489, allocations: 0 / 1.235 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.7493, allocations: 111.8 kB / 1.235 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005913/0.7499, allocations: 117.8 kB / 1.235 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004964/0.7548, allocations: 3.057 MB / 1.238 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.7552, allocations: 0.7794 MB / 1.239 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002845/0.7555, allocations: 66.83 kB / 1.239 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.7557, allocations: 111.4 kB / 1.239 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of SimCode: time 5.01e-07/0.7557, allocations: 0 / 1.239 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02656/0.7822, allocations: 8.584 MB / 1.248 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.347/9.13, allocations: 20.31 kB / 1.248 GB, free: 5.086 MB / 0.9669 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