Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.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.Controls.OBC.UnitConversions.Validation.From_degF,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degF,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degF",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.007838/0.007838, allocations: 103.7 kB / 15.74 MB, free: 6.043 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.002078/0.002078, allocations: 201.8 kB / 16.68 MB, free: 5.965 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.863/2.863, allocations: 482.4 MB / 0.7548 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 67.89 kB / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2849, allocations: 162.2 MB / 1.241 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degF): time 0.002099/0.2871, allocations: 0.8798 MB / 1.242 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001581/0.2872, allocations: 55.77 kB / 1.242 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.293e-05/0.2873, allocations: 4 kB / 1.242 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.261e-05/0.2874, allocations: 11.81 kB / 1.242 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.713e-05/0.2875, allocations: 15.86 kB / 1.242 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.047e-05/0.2875, allocations: 19.98 kB / 1.242 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.2877, allocations: 87.75 kB / 1.243 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.2878, allocations: 53.08 kB / 1.243 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.984e-05/0.2879, allocations: 39.8 kB / 1.243 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.005e-05/0.288, allocations: 27.8 kB / 1.243 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.288, allocations: 8 kB / 1.243 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.534e-05/0.288, allocations: 8 kB / 1.243 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.004e-05/0.288, allocations: 27.86 kB / 1.243 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.282e-05/0.2881, allocations: 39.73 kB / 1.243 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.2883, allocations: 99.48 kB / 1.243 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.2883, allocations: 7.984 kB / 1.243 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2883, allocations: 0 / 1.243 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.2883, allocations: 0 / 1.243 GB, free: 8.852 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004962/0.2888, allocations: 399.2 kB / 1.243 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.2888, allocations: 12.03 kB / 1.243 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.872e-05/0.2889, allocations: 38.75 kB / 1.243 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/0.2889, allocations: 20.78 kB / 1.243 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.2892, allocations: 207.1 kB / 1.243 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.2892, allocations: 12.56 kB / 1.243 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.2892, allocations: 12.38 kB / 1.243 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.2894, allocations: 105.5 kB / 1.244 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.2895, allocations: 0 / 1.244 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.2895, allocations: 8 kB / 1.244 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.2895, allocations: 0 / 1.244 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.817e-05/0.2896, allocations: 51.97 kB / 1.244 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006103/0.2902, allocations: 468.5 kB / 1.244 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.447e-05/0.2903, allocations: 57.14 kB / 1.244 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.926e-05/0.2904, allocations: 29.77 kB / 1.244 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.2904, allocations: 4 kB / 1.244 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.2904, allocations: 34.5 kB / 1.244 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.2904, allocations: 0 / 1.244 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001819/0.2906, allocations: 69.64 kB / 1.244 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.2907, allocations: 81.05 kB / 1.244 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.2908, allocations: 165.9 kB / 1.245 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.2909, allocations: 25.95 kB / 1.245 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.906e-05/0.291, allocations: 120 kB / 1.245 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.291, allocations: 15.84 kB / 1.245 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.291, allocations: 17.7 kB / 1.245 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.2912, allocations: 326.8 kB / 1.245 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.217e-05/0.2912, allocations: 7.984 kB / 1.245 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.177e-05/0.2912, allocations: 21.72 kB / 1.245 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.319e-05/0.2913, allocations: 37.7 kB / 1.245 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2913, allocations: 4 kB / 1.245 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001039/0.2914, allocations: 69.58 kB / 1.245 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.2914, allocations: 5.25 kB / 1.245 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.2914, allocations: 0 / 1.245 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.2915, allocations: 4 kB / 1.245 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.399e-05/0.2915, allocations: 8.125 kB / 1.245 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.2915, allocations: 3.938 kB / 1.245 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.779e-05/0.2916, allocations: 11.89 kB / 1.245 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.2916, allocations: 7.938 kB / 1.245 GB, free: 6.168 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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 9.578e-05/0.2917, allocations: 126.4 kB / 1.245 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.2917, allocations: 7.953 kB / 1.245 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.2918, allocations: 12.56 kB / 1.245 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2918, allocations: 0 / 1.245 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2918, allocations: 0 / 1.245 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2918, allocations: 4 kB / 1.245 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000498/0.2923, allocations: 0.512 MB / 1.246 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2923, allocations: 0 / 1.246 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.141e-05/0.2923, allocations: 8 kB / 1.246 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.2924, allocations: 3.938 kB / 1.246 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.2924, allocations: 4 kB / 1.246 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2924, allocations: 0 / 1.246 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2924, allocations: 0 / 1.246 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.2925, allocations: 107.7 kB / 1.246 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-05/0.2926, allocations: 93 kB / 1.246 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.2926, allocations: 7.938 kB / 1.246 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.332e-05/0.2926, allocations: 7.938 kB / 1.246 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.2927, allocations: 4.125 kB / 1.246 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.2927, allocations: 7.984 kB / 1.246 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001083/0.2928, allocations: 132.2 kB / 1.246 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2928, allocations: 3.938 kB / 1.246 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002047/0.293, allocations: 12 kB / 1.246 GB, free: 4.992 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0004518/0.2935, allocations: 0.6383 MB / 1.247 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.387e-05/0.2936, allocations: 35.92 kB / 1.247 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2936, allocations: 0 / 1.247 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.165e-05/0.2936, allocations: 8 kB / 1.247 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.2938, allocations: 8 kB / 1.247 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.2951, allocations: 1.421 MB / 1.248 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.2955, allocations: 0.704 MB / 1.249 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.966e-05/0.2955, allocations: 12.55 kB / 1.249 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.2956, allocations: 31.42 kB / 1.249 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of SimCode: time 2.71e-07/0.2956, allocations: 0 / 1.249 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.3168, allocations: 1.703 MB / 1.251 GB, free: 380 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.562/7.879, allocations: 7.875 kB / 1.251 GB, free: 372 kB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degF_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degF.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degF_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_degF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches