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.007956/0.007956, allocations: 101.2 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.001758/0.001758, allocations: 194.3 kB / 16.67 MB, free: 5.977 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.504/1.504, 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 11.0.1-master/package.mo): time 2.83/2.83, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002264, allocations: 67.91 kB / 1.054 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3782, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.002214/0.3804, allocations: 0.876 MB / 1.208 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001824/0.3806, allocations: 55.72 kB / 1.208 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.288e-05/0.3807, allocations: 0 / 1.208 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.826e-05/0.3808, allocations: 11.86 kB / 1.208 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.3809, allocations: 11.86 kB / 1.208 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.623e-05/0.381, allocations: 19.98 kB / 1.208 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.3811, allocations: 87.77 kB / 1.208 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.3813, allocations: 49.09 kB / 1.208 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.896e-05/0.3814, allocations: 39.8 kB / 1.208 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.761e-05/0.3814, allocations: 43.72 kB / 1.208 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.3815, allocations: 8 kB / 1.208 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.474e-05/0.3815, allocations: 8 kB / 1.208 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.76e-05/0.3815, allocations: 19.91 kB / 1.208 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.565e-05/0.3816, allocations: 43.73 kB / 1.209 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.3817, allocations: 99.83 kB / 1.209 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.3818, allocations: 0 / 1.209 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.734e-06/0.3818, allocations: 3.938 kB / 1.209 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.3818, allocations: 0 / 1.209 GB, free: 8.77 MB / 0.9669 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.0004678/0.3822, allocations: 403.2 kB / 1.209 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3823, allocations: 12.62 kB / 1.209 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.063e-05/0.3823, allocations: 42.73 kB / 1.209 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.3824, allocations: 8.844 kB / 1.209 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.3826, allocations: 202 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.3826, allocations: 4.562 kB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.3827, allocations: 20.31 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.3829, allocations: 115.2 kB / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3829, allocations: 0 / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.3829, allocations: 0 / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3829, allocations: 4 kB / 1.209 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.701e-05/0.383, allocations: 43.98 kB / 1.209 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006163/0.3836, allocations: 476.3 kB / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.844e-05/0.3837, allocations: 49.22 kB / 1.21 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.101e-05/0.3838, allocations: 25.78 kB / 1.21 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.3838, allocations: 7.922 kB / 1.21 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.3838, allocations: 38.56 kB / 1.21 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3838, allocations: 4 kB / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001961/0.384, allocations: 65.45 kB / 1.21 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.3841, allocations: 77.11 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.3842, allocations: 167.6 kB / 1.21 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.3843, allocations: 33.7 kB / 1.21 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.3843, allocations: 107.9 kB / 1.21 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.3844, allocations: 15.75 kB / 1.21 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/0.3844, allocations: 25.97 kB / 1.211 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.3845, allocations: 322.8 kB / 1.211 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.3845, allocations: 4 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.58e-05/0.3846, allocations: 25.7 kB / 1.211 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.317e-05/0.3846, allocations: 37.66 kB / 1.211 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3846, allocations: 4 kB / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.771e-05/0.3848, allocations: 65.59 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3848, allocations: 7.984 kB / 1.211 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3848, allocations: 11.98 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3848, allocations: 0 / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.3849, allocations: 11.94 kB / 1.211 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.3849, allocations: 0 / 1.211 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.406e-05/0.3849, allocations: 4 kB / 1.211 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.3849, allocations: 7.938 kB / 1.211 GB, free: 6.086 MB / 0.9669 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.98e-05/0.385, allocations: 113.8 kB / 1.211 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.678e-05/0.3851, allocations: 11.81 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.3851, allocations: 16.55 kB / 1.211 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.3851, allocations: 8 kB / 1.211 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3851, allocations: 0 / 1.211 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3851, allocations: 0 / 1.211 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004349/0.3856, allocations: 0.5003 MB / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3856, allocations: 4 kB / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/0.3856, allocations: 12.11 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.3857, allocations: 7.938 kB / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.3857, allocations: 3.938 kB / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3857, allocations: 0 / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3857, allocations: 4.125 kB / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.3858, allocations: 107.5 kB / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.788e-05/0.3859, allocations: 96.91 kB / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.3859, allocations: 3.938 kB / 1.212 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.83e-05/0.3859, allocations: 4 kB / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.768e-05/0.3859, allocations: 4 kB / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.3859, allocations: 0 / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.88e-05/0.386, allocations: 132.9 kB / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.386, allocations: 3.938 kB / 1.212 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001944/0.3862, allocations: 8 kB / 1.212 GB, free: 4.934 MB / 0.9669 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.0003895/0.3866, allocations: 0.646 MB / 1.213 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.3867, allocations: 35.92 kB / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3868, allocations: 0 / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.968e-05/0.3868, allocations: 11.94 kB / 1.213 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.387, allocations: 9.031 kB / 1.213 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.3883, allocations: 1.421 MB / 1.214 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.3886, allocations: 0.7002 MB / 1.215 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.49e-05/0.3887, allocations: 8.828 kB / 1.215 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.797e-05/0.3888, allocations: 31.44 kB / 1.215 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of SimCode: time 5.01e-07/0.3888, allocations: 0 / 1.215 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01856/0.4073, allocations: 1.74 MB / 1.216 GB, free: 280 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.475/7.882, allocations: 3.984 kB / 1.216 GB, free: 276 kB / 0.9669 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