Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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 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.Controls.OBC.UnitConversions.Validation.To_degF,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_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.001444/0.001444, 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.001779/0.001779, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.275/1.275, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.545/2.545, allocations: 461.9 MB / 0.7346 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.05 kB / 0.8992 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2345, allocations: 157.4 MB / 1.053 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.001911/0.2364, allocations: 0.8932 MB / 1.054 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000117/0.2366, allocations: 55.77 kB / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.849e-05/0.2366, allocations: 0 / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.633e-05/0.2367, allocations: 11.81 kB / 1.054 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.124e-05/0.2367, allocations: 15.86 kB / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.436e-05/0.2368, allocations: 23.97 kB / 1.054 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.2369, allocations: 75.84 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.237, allocations: 65.02 kB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.416e-05/0.2371, allocations: 39.8 kB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.564e-05/0.2372, allocations: 35.78 kB / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.2372, allocations: 8 kB / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.41e-05/0.2372, allocations: 8 kB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.118e-05/0.2372, allocations: 19.92 kB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.619e-05/0.2373, allocations: 43.69 kB / 1.054 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.2374, allocations: 95.88 kB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2374, allocations: 0 / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2374, allocations: 3.938 kB / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.2374, allocations: 0 / 1.054 GB, free: 6.852 MB / 0.8106 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.0003801/0.2378, allocations: 399.3 kB / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.2378, allocations: 8.625 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.525e-05/0.2379, allocations: 42.73 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.584e-05/0.2379, allocations: 12.75 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.2381, allocations: 202.5 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.2381, allocations: 4.562 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.2381, allocations: 8.375 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.2383, allocations: 117.3 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.2383, allocations: 0 / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.2383, allocations: 0 / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2383, allocations: 4 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.108e-05/0.2384, allocations: 43.98 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005028/0.2389, allocations: 484.2 kB / 1.056 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.178e-05/0.239, allocations: 49.27 kB / 1.056 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.2391, allocations: 29.66 kB / 1.056 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.906e-06/0.2391, allocations: 7.938 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.2391, allocations: 38.56 kB / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.2391, allocations: 0 / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001624/0.2393, allocations: 69.53 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.2393, allocations: 77.11 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.2395, allocations: 172 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.2395, allocations: 25.7 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.956e-05/0.2396, allocations: 112.2 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/0.2396, allocations: 19.75 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.2396, allocations: 17.72 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.2398, allocations: 326.8 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.958e-05/0.2398, allocations: 4 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.611e-05/0.2398, allocations: 25.7 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.889e-05/0.2399, allocations: 37.66 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2399, allocations: 4 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.5e-05/0.24, allocations: 61.59 kB / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.24, allocations: 9.25 kB / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.24, allocations: 0 / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.24, allocations: 0 / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.471e-05/0.2401, allocations: 16.05 kB / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.2401, allocations: 4 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.373e-05/0.2401, allocations: 7.906 kB / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.2401, allocations: 3.938 kB / 1.057 GB, free: 4.184 MB / 0.8106 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 7.625e-05/0.2402, allocations: 125.8 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.2403, allocations: 7.906 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.455e-05/0.2403, allocations: 16.77 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2403, allocations: 0 / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2403, allocations: 3.938 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2403, allocations: 0 / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.2407, allocations: 0.5159 MB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2407, allocations: 0 / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.716e-05/0.2408, allocations: 11.98 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2408, allocations: 3.938 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.2408, allocations: 0 / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.2408, allocations: 4 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2408, allocations: 0 / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.383e-05/0.2409, allocations: 107.6 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-05/0.241, allocations: 89.14 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.241, allocations: 3.938 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.004e-05/0.241, allocations: 8 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.215e-05/0.241, allocations: 3.984 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.241, allocations: 7.938 kB / 1.057 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.959e-05/0.2411, allocations: 124 kB / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2411, allocations: 0 / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001907/0.2413, allocations: 16 kB / 1.058 GB, free: 3.023 MB / 0.8106 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.0003593/0.2417, allocations: 0.646 MB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.673e-05/0.2418, allocations: 27.94 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2418, allocations: 0 / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.069e-05/0.2418, allocations: 15.92 kB / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.242, allocations: 12 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.2432, allocations: 1.422 MB / 1.06 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.2435, allocations: 0.6963 MB / 1.06 GB, free: 36 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.786e-05/0.2435, allocations: 12.55 kB / 1.06 GB, free: 24 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.707e-05/0.2436, allocations: 27.48 kB / 1.06 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.2436, allocations: 4 kB / 1.06 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/0.2612, allocations: 1.674 MB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.686/6.947, allocations: 2.234 kB / 1.062 GB, free: 14.4 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degF_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degF.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches