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.006643/0.006643, allocations: 97.58 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.001515/0.001515, allocations: 184.7 kB / 16.67 MB, free: 5.969 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.529/2.529, allocations: 390.3 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 62.78 kB / 0.9504 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2716, allocations: 140.4 MB / 1.087 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.004304/0.276, allocations: 2.709 MB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003381/0.2794, allocations: 1.757 MB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003688/0.2798, allocations: 4 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001717/0.28, allocations: 47.45 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006561/0.2807, allocations: 150.9 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.2817, allocations: 388.5 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007615/0.2825, allocations: 498.4 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003178/0.2828, allocations: 145.1 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003418/0.2831, allocations: 187.3 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.2834, allocations: 179.1 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.824e-05/0.2835, allocations: 32 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007355/0.2842, allocations: 451.5 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.748e-05/0.2843, allocations: 79.64 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.2846, allocations: 187.1 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000815/0.2854, allocations: 0.537 MB / 1.095 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2854, allocations: 0 / 1.095 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2854, allocations: 4 kB / 1.095 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.821e-05/0.2854, allocations: 0 / 1.095 GB, free: 10.71 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.001372/0.2868, allocations: 0.7279 MB / 1.095 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.2869, allocations: 11.97 kB / 1.095 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.601e-05/0.287, allocations: 70.72 kB / 1.095 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009324/0.2879, allocations: 116.5 kB / 1.095 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005029/0.2884, allocations: 315.5 kB / 1.096 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.2885, allocations: 25.03 kB / 1.096 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.455e-05/0.2885, allocations: 28.38 kB / 1.096 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007341/0.2893, allocations: 318 kB / 1.096 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.2893, allocations: 4 kB / 1.096 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.2893, allocations: 8 kB / 1.096 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.2893, allocations: 8 kB / 1.096 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008536/0.2902, allocations: 290.4 kB / 1.096 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.292, allocations: 0.8971 MB / 1.097 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009342/0.2929, allocations: 293.4 kB / 1.098 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003939/0.2934, allocations: 140.7 kB / 1.098 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000159/0.2935, allocations: 93.47 kB / 1.098 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.2936, allocations: 34.56 kB / 1.098 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=25): time 2.165e-06/0.2936, allocations: 0 / 1.098 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25): time 0.001389/0.295, allocations: 390.8 kB / 1.098 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.295, allocations: 59.34 kB / 1.098 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003753/0.2954, allocations: 337.7 kB / 1.099 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.2954, allocations: 33.7 kB / 1.099 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.2956, allocations: 184.7 kB / 1.099 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.094e-05/0.2957, allocations: 87.22 kB / 1.099 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.2958, allocations: 65.95 kB / 1.099 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2959, allocations: 342.8 kB / 1.099 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/0.2963, allocations: 100.5 kB / 1.099 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/0.2966, allocations: 109.2 kB / 1.099 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007344/0.2974, allocations: 238.2 kB / 1.1 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2974, allocations: 4 kB / 1.1 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000987/0.2984, allocations: 337.2 kB / 1.1 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.2984, allocations: 5.562 kB / 1.1 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.2984, allocations: 0 / 1.1 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.2985, allocations: 0 / 1.1 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004326/0.2989, allocations: 75.88 kB / 1.1 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.2989, allocations: 3.938 kB / 1.1 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000336/0.2993, allocations: 51.7 kB / 1.1 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.2993, allocations: 11.98 kB / 1.1 GB, free: 4.727 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.0001669/0.2995, allocations: 137.8 kB / 1.1 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.2996, allocations: 35.77 kB / 1.1 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.3006, allocations: 377 kB / 1.101 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.3007, allocations: 0 / 1.101 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3007, allocations: 4 kB / 1.101 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3007, allocations: 3.938 kB / 1.101 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.3011, allocations: 357.3 kB / 1.101 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.3011, allocations: 3.984 kB / 1.101 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003374/0.3014, allocations: 51.89 kB / 1.101 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.3014, allocations: 0 / 1.101 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.3015, allocations: 15.98 kB / 1.101 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.3015, allocations: 0 / 1.101 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3015, allocations: 0 / 1.101 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008517/0.3023, allocations: 303.4 kB / 1.101 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.3025, allocations: 136.8 kB / 1.102 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.322e-05/0.3026, allocations: 7.984 kB / 1.102 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002703/0.3029, allocations: 15.98 kB / 1.102 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.3029, allocations: 15.98 kB / 1.102 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.3029, allocations: 11.92 kB / 1.102 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000254/0.3032, allocations: 255.2 kB / 1.102 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3032, allocations: 0 / 1.102 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003754/0.3036, allocations: 107.8 kB / 1.102 GB, free: 2.809 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.001203/0.3048, allocations: 0.8541 MB / 1.103 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008047/0.3056, allocations: 246.3 kB / 1.103 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3056, allocations: 3.938 kB / 1.103 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003731/0.306, allocations: 115.8 kB / 1.103 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006254/0.3067, allocations: 113.8 kB / 1.103 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005025/0.3117, allocations: 3.041 MB / 1.106 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.312, allocations: 0.7756 MB / 1.107 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003127/0.3124, allocations: 82.73 kB / 1.107 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/0.3126, allocations: 107.4 kB / 1.107 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of SimCode: time 3.91e-07/0.3126, allocations: 0 / 1.107 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02791/0.3405, allocations: 8.582 MB / 1.116 GB, free: 4.914 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.341/8.681, allocations: 8.969 kB / 1.116 GB, free: 4.91 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